ΒΆllvm::Constant*
ConstantFoldInsertElementInstruction(
    llvm::Constant* Val,
    llvm::Constant* Elt,
    llvm::Constant* Idx)

Description

Attempt to constant fold an insertelement 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:112

Parameters

llvm::Constant* Val
llvm::Constant* Elt
llvm::Constant* Idx