simplifyUnOp overloads
Declared in <llvm/Analysis/InstructionSimplify.h>
Given operand for a UnaryOperator, fold the result or return null.
Value*
simplifyUnOp(
unsigned int Opcode,
Value* Op,
SimplifyQuery const& Q);
» more...
Given operand for a UnaryOperator, fold the result or return null.
Value*
simplifyUnOp(
unsigned int Opcode,
Value* Op,
FastMathFlags FMF,
SimplifyQuery const& Q);
» more...
The folded value, or null if no simplification was found.
| Name | Description |
|---|---|
| Opcode | Unary operator opcode. |
| Op | Operand of the unary operator. |
| Q | Simplification query providing analyses and flags. |
| FMF | Fast-math flags to honor while folding. |