ΒΆllvm::Constant*
ConstantFoldExtractElementInstruction(
    llvm::Constant* Val,
    llvm::Constant* Idx)

Description

Attempt to constant fold an extractelement 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* Val
llvm::Constant* Idx