ΒΆllvm::Constant* ConstantFoldLoadThroughGEPIndices(
llvm::Constant* C,
ArrayRef<llvm::Constant*> Indices)
llvm::Constant* ConstantFoldLoadThroughGEPIndices(
llvm::Constant* C,
ArrayRef<llvm::Constant*> Indices)
Description
ConstantFoldLoadThroughGEPIndices - Given a constant and getelementptr indices (with an *implied* zero pointer index that is not in the list), return the constant value being addressed by a virtual load, or null if something is funny and we can't decide.
Declared at: llvm/include/llvm/Analysis/ConstantFolding.h:141
Parameters
- llvm::Constant* C
- ArrayRef<llvm::Constant*> Indices