getPointerDependencyFrom overloads

Synopses

Declared in <llvm/Analysis/MemoryDependenceAnalysis.h>

Returns the instruction on which a memory location depends.

MemDepResult
getPointerDependencyFrom(
    MemoryLocation const& Loc,
    bool isLoad,
    BasicBlock::iterator ScanIt,
    BasicBlock* BB,
    Instruction* QueryInst = nullptr,
    unsigned int* Limit = nullptr);

Returns the instruction on which a memory location depends, using BatchAA.

MemDepResult
getPointerDependencyFrom(
    MemoryLocation const& Loc,
    bool isLoad,
    BasicBlock::iterator ScanIt,
    BasicBlock* BB,
    Instruction* QueryInst,
    unsigned int* Limit,
    BatchAAResults& BatchAA);

Return Value

The MemDepResult for the dependence of Loc.

Parameters

Name

Description

Loc

Memory location whose dependence is queried.

isLoad

True if the query is a load‐like access.

ScanIt

Iterator to start scanning backwards from in BB.

BB

Basic block in which to scan for a dependence.

QueryInst

Optional instruction providing query metadata.

Limit

Optional remaining instruction scan budget; updated on return.

BatchAA

Batched alias analysis used for this query.

Created with MrDocs