ΒΆllvm::Value* stripGetElementPtr(
    llvm::Value* Ptr,
    llvm::ScalarEvolution* SE,
    llvm::Loop* Lp)

Description

If the argument is a GEP, then returns the operand identified by getGEPInductionOperand. However, if there is some other non-loop-invariant operand, it returns that instead.

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:337

Parameters

llvm::Value* Ptr
llvm::ScalarEvolution* SE
llvm::Loop* Lp