LLVM API Documentation
Location - A description of a memory location. More...
#include <AliasAnalysis.h>
Public Member Functions | |
Location (const Value *P=0, uint64_t S=UnknownSize, const MDNode *N=0) | |
Location | getWithNewPtr (const Value *NewPtr) const |
Location | getWithNewSize (uint64_t NewSize) const |
Location | getWithoutTBAATag () const |
Public Attributes | |
const Value * | Ptr |
Ptr - The address of the start of the location. More... | |
uint64_t | Size |
const MDNode * | TBAATag |
Location - A description of a memory location.
Alias Queries...
Definition at line 106 of file AliasAnalysis.h.
|
inlineexplicit |
Definition at line 119 of file AliasAnalysis.h.
Definition at line 123 of file AliasAnalysis.h.
References Ptr.
|
inline |
Definition at line 129 of file AliasAnalysis.h.
References Size.
|
inline |
Definition at line 135 of file AliasAnalysis.h.
References TBAATag.
const Value* llvm::AliasAnalysis::Location::Ptr |
Ptr - The address of the start of the location.
Definition at line 108 of file AliasAnalysis.h.
Referenced by llvm::AliasAnalysis::callCapturesBefore(), llvm::MemoryDependenceAnalysis::getDependency(), llvm::DenseMapInfo< AliasAnalysis::Location >::getHashValue(), llvm::MemoryDependenceAnalysis::getNonLocalPointerDependency(), llvm::MemoryDependenceAnalysis::getPointerDependencyFrom(), getWithNewPtr(), llvm::DenseMapInfo< AliasAnalysis::Location >::isEqual(), isLoadLoadClobberIfExtendedToFullWidth(), isOverwrite(), and isPossibleSelfRead().
uint64_t llvm::AliasAnalysis::Location::Size |
Size - The maximum size of the location, in address-units, or UnknownSize if the size is not known. Note that an unknown size does not mean the pointer aliases the entire virtual address space, because there are restrictions on stepping out of one object and into another. See http://llvm.org/docs/LangRef.html#pointeraliasing
Definition at line 114 of file AliasAnalysis.h.
Referenced by llvm::DenseMapInfo< AliasAnalysis::Location >::getHashValue(), getLocForWrite(), getWithNewSize(), llvm::DenseMapInfo< AliasAnalysis::Location >::isEqual(), isLoadLoadClobberIfExtendedToFullWidth(), and isOverwrite().
const MDNode* llvm::AliasAnalysis::Location::TBAATag |
TBAATag - The metadata node which describes the TBAA type of the location, or null if there is no known unique tag.
Definition at line 117 of file AliasAnalysis.h.
Referenced by llvm::DenseMapInfo< AliasAnalysis::Location >::getHashValue(), getWithoutTBAATag(), and llvm::DenseMapInfo< AliasAnalysis::Location >::isEqual().