LLVM API Documentation

Public Member Functions
llvm::NonLocalDepResult Class Reference

#include <MemoryDependenceAnalysis.h>

List of all members.

Public Member Functions

 NonLocalDepResult (BasicBlock *bb, MemDepResult result, Value *address)
BasicBlockgetBB () const
void setResult (const MemDepResult &R, Value *Addr)
const MemDepResultgetResult () const
ValuegetAddress () const

Detailed Description

NonLocalDepResult - 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 215 of file MemoryDependenceAnalysis.h.


Constructor & Destructor Documentation

llvm::NonLocalDepResult::NonLocalDepResult ( BasicBlock bb,
MemDepResult  result,
Value address 
) [inline]

Definition at line 219 of file MemoryDependenceAnalysis.h.


Member Function Documentation

getAddress - Return 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 239 of file MemoryDependenceAnalysis.h.

Definition at line 223 of file MemoryDependenceAnalysis.h.

References llvm::NonLocalDepEntry::getBB().

Definition at line 230 of file MemoryDependenceAnalysis.h.

References llvm::NonLocalDepEntry::getResult().

void llvm::NonLocalDepResult::setResult ( const MemDepResult R,
Value Addr 
) [inline]

Definition at line 225 of file MemoryDependenceAnalysis.h.

References llvm::NonLocalDepEntry::setResult().


The documentation for this class was generated from the following file: