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

Synopses

Declared in <llvm/Analysis/ValueTracking.h>

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

AllocaInst*
findAllocaForValue(
    Value* V,
    bool OffsetZero = false);
AllocaInst const*
findAllocaForValue(
    Value const* V,
    bool OffsetZero = false);

Created with MrDocs