Given operands for a SelectInst, fold the result or return null.
Declared in <llvm/Analysis/InstructionSimplify.h>
Value*
simplifySelectInst(
Value* Cond,
Value* TrueVal,
Value* FalseVal,
FastMathFlags FMF,
SimplifyQuery const& Q);
LLVM Value Representation
| Name | Description |
|---|---|
| Cond | LLVM Value Representation |
| TrueVal | LLVM Value Representation |
| FalseVal | LLVM Value Representation |
| FMF | Convenience struct for specifying and reasoning about fast-math flags. |