ΒΆllvm::Constant* ConstantFoldSelectInstruction(
    llvm::Constant* Cond,
    llvm::Constant* V1,
    llvm::Constant* V2)

Description

Attempt to constant fold a select instruction with the specified operands. The constant result is returned if successful; if not, null is returned.

Declared at: llvm/include/llvm/Analysis/ConstantFolding.h:108

Parameters

llvm::Constant* Cond
llvm::Constant* V1
llvm::Constant* V2