Given operands for an FCmpInst, fold the result or return null.
Declared in <llvm/Analysis/InstructionSimplify.h>
Value*
simplifyFCmpInst(
CmpPredicate Predicate,
Value* LHS,
Value* RHS,
FastMathFlags FMF,
SimplifyQuery const& Q);
The folded value, or null if no simplification was found.
| Name | Description |
|---|---|
| Predicate | Floating-point comparison predicate. |
| LHS | Left-hand side operand. |
| RHS | Right-hand side operand. |
| FMF | Fast-math flags to honor while folding. |
| Q | Simplification query providing analyses and flags. |