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