ΒΆllvm::Constant*
ConstantFoldInsertValueInstruction(
    llvm::Constant* Agg,
    llvm::Constant* Val,
    ArrayRef<unsigned int> Idxs)

Description

ConstantFoldInsertValueInstruction - Attempt to constant fold an insertvalue instruction with the specified operands and indices. The constant result is returned if successful; if not, null is returned.

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

Parameters

llvm::Constant* Agg
llvm::Constant* Val
ArrayRef<unsigned int> Idxs