|
LLVM
4.0.0
|
This is a result from a NonLocal dependence query. More...
#include <MemoryDependenceAnalysis.h>
Public Member Functions | |
| NonLocalDepResult (BasicBlock *bb, MemDepResult result, Value *address) | |
| BasicBlock * | getBB () const |
| void | setResult (const MemDepResult &R, Value *Addr) |
| const MemDepResult & | getResult () const |
| Value * | getAddress () const |
| Returns the address of this pointer in this block. More... | |
This is a result from a NonLocal dependence query.
For each BasicBlock (the BB entry) it keeps a MemDepResult and the (potentially phi translated) address that was live in the block.
Definition at line 226 of file MemoryDependenceAnalysis.h.
|
inline |
Definition at line 231 of file MemoryDependenceAnalysis.h.
|
inline |
Returns the address of this pointer in this block.
This can be different than the address queried for the non-local result because of phi translation. This returns null if the address was not available in a block (i.e. because phi translation failed) or if this is a cached result and that address was deleted.
The address is always null for a non-local 'call' dependence.
Definition at line 252 of file MemoryDependenceAnalysis.h.
|
inline |
Definition at line 235 of file MemoryDependenceAnalysis.h.
References llvm::NonLocalDepEntry::getBB().
|
inline |
Definition at line 242 of file MemoryDependenceAnalysis.h.
References llvm::NonLocalDepEntry::getResult().
|
inline |
Definition at line 237 of file MemoryDependenceAnalysis.h.
References llvm::NonLocalDepEntry::setResult().
1.8.6