ΒΆllvm::AllocaInst* findAllocaForValue(
    llvm::Value* V,
    bool OffsetZero = false)

Description

Returns unique alloca where the value comes from, or nullptr. If OffsetZero is true check that V points to the begining of the alloca.

Declared at: llvm/include/llvm/Analysis/ValueTracking.h:418

Parameters

llvm::Value* V
bool OffsetZero = false