Given operands for a SelectInst, fold the result or return null.

Synopsis

Declared in <llvm/Analysis/InstructionSimplify.h>

Value*
simplifySelectInst(
    Value* Cond,
    Value* TrueVal,
    Value* FalseVal,
    FastMathFlags FMF,
    SimplifyQuery const& Q);

Return Value

LLVM Value Representation

Parameters

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.

Created with MrDocs