Scan for a simple pointer dependence without invariant‐group handling.
Synopsis
Declared in <llvm/Analysis/MemoryDependenceAnalysis.h>
MemDepResult
getSimplePointerDependencyFrom(
MemoryLocation const& MemLoc,
bool isLoad,
BasicBlock::iterator ScanIt,
BasicBlock* BB,
Instruction* QueryInst,
unsigned int* Limit,
BatchAAResults& BatchAA);
Return Value
The MemDepResult for the simple pointer dependence.
Parameters
Name |
Description |
MemLoc |
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 |
Basic block in which to scan for a dependence. |
QueryInst |
Optional instruction providing query metadata. |
Limit |
Remaining instruction scan budget; updated on return. |
BatchAA |
Batched alias analysis used for this query. |
Created with MrDocs