LLVM: Prefetch Struct Reference (original) (raw)
A record for a potential prefetch made during the initial scan of the loop. More...
Public Member Functions | |
---|---|
Prefetch (const SCEVAddRecExpr *L, Instruction *I) | |
Constructor to create a new Prefetch for I. | |
void | addInstruction (Instruction *I, DominatorTree *DT=nullptr, int64_t PtrDiff=0) |
Add the instruction. | |
Public Attributes | |
---|---|
const SCEVAddRecExpr * | LSCEVAddRec |
The address formula for this prefetch as returned by ScalarEvolution. | |
Instruction * | InsertPt = nullptr |
The point of insertion for the prefetch instruction. | |
bool | Writes = false |
True if targeting a write memory access. | |
Instruction * | MemI = nullptr |
The (first seen) prefetched instruction. | |
A record for a potential prefetch made during the initial scan of the loop.
This is used to let a single prefetch target multiple memory accesses.
Definition at line 233 of file LoopDataPrefetch.cpp.
◆ addInstruction()
◆ InsertPt
◆ LSCEVAddRec
The address formula for this prefetch as returned by ScalarEvolution.
Definition at line 235 of file LoopDataPrefetch.cpp.
◆ MemI
◆ Writes
The documentation for this struct was generated from the following file:
- lib/Transforms/Scalar/LoopDataPrefetch.cpp