LLVM
15.0.0git
|
#include "llvm/Analysis/MemoryLocation.h"
Public Member Functions | |
constexpr | LocationSize (uint64_t Raw) |
LocationSize | unionWith (LocationSize Other) const |
bool | hasValue () const |
uint64_t | getValue () const |
bool | isPrecise () const |
bool | isZero () const |
bool | mayBeBeforePointer () const |
Whether accesses before the base pointer are possible. More... | |
bool | operator== (const LocationSize &Other) const |
bool | operator!= (const LocationSize &Other) const |
void | print (raw_ostream &OS) const |
uint64_t | toRaw () const |
Static Public Member Functions | |
static LocationSize | precise (uint64_t Value) |
static LocationSize | precise (TypeSize Value) |
static LocationSize | upperBound (uint64_t Value) |
static LocationSize | upperBound (TypeSize Value) |
constexpr static LocationSize | afterPointer () |
Any location after the base pointer (but still within the underlying object). More... | |
constexpr static LocationSize | beforeOrAfterPointer () |
Any location before or after the base pointer (but still within the underlying object). More... | |
constexpr static LocationSize | mapTombstone () |
constexpr static LocationSize | mapEmpty () |
Definition at line 66 of file MemoryLocation.h.
|
inlineconstexpr |
Definition at line 98 of file MemoryLocation.h.
|
inlinestaticconstexpr |
Any location after the base pointer (but still within the underlying object).
Definition at line 124 of file MemoryLocation.h.
Referenced by llvm::MemoryLocation::get(), llvm::MemoryLocation::getAfter(), llvm::MemoryLocation::getForArgument(), mayLoopAccessLocation(), precise(), print(), llvm::AliasSet::print(), unionWith(), and upperBound().
|
inlinestaticconstexpr |
Any location before or after the base pointer (but still within the underlying object).
Definition at line 130 of file MemoryLocation.h.
Referenced by llvm::SCEVAAResult::alias(), llvm::MemoryLocation::getBeforeOrAfter(), print(), llvm::AliasSet::print(), and unionWith().
|
inline |
Definition at line 159 of file MemoryLocation.h.
References assert(), and hasValue().
Referenced by llvm::SCEVAAResult::alias(), getMinimalExtentFrom(), isPartialOverwrite(), isZero(), llvm::CFLAndersAAResult::FunctionInfo::mayAlias(), print(), and unionWith().
|
inline |
Definition at line 156 of file MemoryLocation.h.
Referenced by llvm::SCEVAAResult::alias(), getValue(), isZero(), and llvm::CFLAndersAAResult::FunctionInfo::mayAlias().
|
inline |
Definition at line 166 of file MemoryLocation.h.
Referenced by getMinimalExtentFrom(), and print().
|
inline |
Definition at line 171 of file MemoryLocation.h.
References getValue(), and hasValue().
Referenced by llvm::SCEVAAResult::alias().
|
inlinestaticconstexpr |
Definition at line 138 of file MemoryLocation.h.
Referenced by llvm::DenseMapInfo< LocationSize >::getEmptyKey(), and print().
|
inlinestaticconstexpr |
Definition at line 135 of file MemoryLocation.h.
Referenced by llvm::DenseMapInfo< LocationSize >::getTombstoneKey(), and print().
|
inline |
Whether accesses before the base pointer are possible.
Definition at line 174 of file MemoryLocation.h.
|
inline |
Definition at line 180 of file MemoryLocation.h.
References Other.
|
inline |
Definition at line 176 of file MemoryLocation.h.
References Other.
|
inlinestatic |
Definition at line 102 of file MemoryLocation.h.
References afterPointer(), and precise().
|
inlinestatic |
Definition at line 101 of file MemoryLocation.h.
Referenced by areNonOverlapSameBaseLoadAndStore(), llvm::MemoryLocation::get(), llvm::MemoryLocation::getForArgument(), llvm::AAResults::isMustAlias(), llvm::BatchAAResults::isMustAlias(), mayLoopAccessLocation(), precise(), llvm::JumpThreadingPass::simplifyPartiallyRedundantLoad(), and upperBound().
void LocationSize::print | ( | raw_ostream & | OS | ) | const |
Definition at line 19 of file MemoryLocation.cpp.
References afterPointer(), beforeOrAfterPointer(), getValue(), isPrecise(), mapEmpty(), and mapTombstone().
|
inline |
Definition at line 193 of file MemoryLocation.h.
Referenced by llvm::DenseMapInfo< LocationSize >::getHashValue().
|
inline |
Definition at line 144 of file MemoryLocation.h.
References afterPointer(), beforeOrAfterPointer(), getValue(), llvm::max(), Other, and upperBound().
|
inlinestatic |
Definition at line 116 of file MemoryLocation.h.
References afterPointer(), and upperBound().
|
inlinestatic |
Definition at line 108 of file MemoryLocation.h.
References afterPointer(), LLVM_UNLIKELY, and precise().
Referenced by llvm::MemoryLocation::getForArgument(), unionWith(), and upperBound().