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

Description

Attempt to constant fold an extractvalue 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:125

Parameters

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