LLVM API Documentation
Location - A description of a memory location. More...
#include <AliasAnalysis.h>
Public Member Functions | |
Location (const Value *P=nullptr, uint64_t S=UnknownSize, const AAMDNodes &N=AAMDNodes()) | |
Location | getWithNewPtr (const Value *NewPtr) const |
Location | getWithNewSize (uint64_t NewSize) const |
Location | getWithoutAATags () const |
Public Attributes | |
const Value * | Ptr |
Ptr - The address of the start of the location. | |
uint64_t | Size |
AAMDNodes | AATags |
Location - A description of a memory location.
Alias Queries...
Definition at line 107 of file AliasAnalysis.h.
llvm::AliasAnalysis::Location::Location | ( | const Value * | P = nullptr , |
uint64_t | S = UnknownSize , |
||
const AAMDNodes & | N = AAMDNodes() |
||
) | [inline, explicit] |
Definition at line 121 of file AliasAnalysis.h.
Location llvm::AliasAnalysis::Location::getWithNewPtr | ( | const Value * | NewPtr | ) | const [inline] |
Definition at line 125 of file AliasAnalysis.h.
References Ptr.
Location llvm::AliasAnalysis::Location::getWithNewSize | ( | uint64_t | NewSize | ) | const [inline] |
Definition at line 131 of file AliasAnalysis.h.
References Size.
Location llvm::AliasAnalysis::Location::getWithoutAATags | ( | ) | const [inline] |
Definition at line 137 of file AliasAnalysis.h.
References AATags.
AATags - The metadata nodes which describes the aliasing of the location (each member is null if that kind of information is unavailable)..
Definition at line 119 of file AliasAnalysis.h.
Referenced by llvm::DenseMapInfo< AliasAnalysis::Location >::getHashValue(), getWithoutAATags(), and llvm::DenseMapInfo< AliasAnalysis::Location >::isEqual().
Ptr - The address of the start of the location.
Definition at line 109 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 115 of file AliasAnalysis.h.
Referenced by llvm::DenseMapInfo< AliasAnalysis::Location >::getHashValue(), getLocForWrite(), getWithNewSize(), llvm::DenseMapInfo< AliasAnalysis::Location >::isEqual(), isLoadLoadClobberIfExtendedToFullWidth(), and isOverwrite().