ΒΆllvm::Value* simplifyGEPInst(
llvm::Type* SrcTy,
llvm::Value* Ptr,
ArrayRef<llvm::Value*> Indices,
bool InBounds,
const llvm::SimplifyQuery& Q)
llvm::Value* simplifyGEPInst(
llvm::Type* SrcTy,
llvm::Value* Ptr,
ArrayRef<llvm::Value*> Indices,
bool InBounds,
const llvm::SimplifyQuery& Q)
Description
Given operands for a GetElementPtrInst, fold the result or return null.
Declared at: llvm/include/llvm/Analysis/InstructionSimplify.h:250
Parameters
- llvm::Type* SrcTy
- llvm::Value* Ptr
- ArrayRef<llvm::Value*> Indices
- bool InBounds
- const llvm::SimplifyQuery& Q