LLVM
9.0.0svn
|
#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 | 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 | upperBound (uint64_t Value) |
static constexpr LocationSize | unknown () |
static constexpr LocationSize | mapTombstone () |
static constexpr LocationSize | mapEmpty () |
Definition at line 60 of file MemoryLocation.h.
|
inline |
Definition at line 87 of file MemoryLocation.h.
|
inline |
Definition at line 126 of file MemoryLocation.h.
References assert(), and hasValue().
Referenced by llvm::SCEVAAResult::alias(), aliasSameBasePointerGEPs(), eliminateDeadStores(), isOverwrite(), isZero(), llvm::CFLAndersAAResult::FunctionInfo::mayAlias(), MergeAliasResults(), print(), removePartiallyOverlappedStores(), SortNonLocalDepInfoCache(), and unionWith().
|
inline |
Definition at line 125 of file MemoryLocation.h.
Referenced by llvm::SCEVAAResult::alias(), getValue(), isZero(), SortNonLocalDepInfoCache(), and unionWith().
|
inline |
Definition at line 133 of file MemoryLocation.h.
Referenced by isOverwrite(), MergeAliasResults(), print(), and SortNonLocalDepInfoCache().
|
inline |
Definition at line 138 of file MemoryLocation.h.
References getValue(), and hasValue().
Referenced by llvm::SCEVAAResult::alias(), and MergeAliasResults().
|
inlinestatic |
Definition at line 109 of file MemoryLocation.h.
Referenced by llvm::DenseMapInfo< LocationSize >::getEmptyKey(), and print().
|
inlinestatic |
Definition at line 106 of file MemoryLocation.h.
Referenced by llvm::DenseMapInfo< LocationSize >::getTombstoneKey(), and print().
|
inline |
Definition at line 144 of file MemoryLocation.h.
References print().
|
inline |
Definition at line 140 of file MemoryLocation.h.
|
inlinestatic |
Definition at line 90 of file MemoryLocation.h.
Referenced by llvm::FindAvailablePtrLoadStore(), llvm::MemoryLocation::get(), llvm::MemoryLocation::getForArgument(), llvm::MemoryLocation::getForDest(), llvm::MemoryLocation::getForSource(), getUniformBase(), hasOnlySelectUsers(), hasUndefContents(), llvm::AAResults::isMustAlias(), mayLoopAccessLocation(), moveUp(), llvm::AAEvaluator::run(), and upperBound().
void LocationSize::print | ( | raw_ostream & | OS | ) | const |
Definition at line 20 of file MemoryLocation.cpp.
References getValue(), isPrecise(), mapEmpty(), mapTombstone(), and unknown().
Referenced by operator!=(), and llvm::operator<<().
|
inline |
Definition at line 157 of file MemoryLocation.h.
Referenced by llvm::DenseMapInfo< LocationSize >::getHashValue().
|
inline |
Definition at line 115 of file MemoryLocation.h.
References getValue(), hasValue(), llvm::max(), unknown(), and upperBound().
|
inlinestatic |
Definition at line 101 of file MemoryLocation.h.
Referenced by llvm::SCEVAAResult::alias(), llvm::AAResults::alias(), aliasSameBasePointerGEPs(), AnyAliasLiveIn(), llvm::canSinkOrHoistInst(), checkFunctionMemoryAccess(), llvm::MemoryLocation::get(), llvm::MemoryLocation::getForArgument(), llvm::MemoryLocation::getForDest(), llvm::MemoryLocation::getForSource(), getUnderlyingObjects(), llvm::CFLAndersAAResult::FunctionInfo::mayAlias(), mayLoopAccessLocation(), MergeAliasResults(), print(), llvm::AliasSet::print(), llvm::RuntimePointerChecking::print(), llvm::AAEvaluator::run(), underlyingObjectsAlias(), unionWith(), and upperBound().
|
inlinestatic |
Definition at line 92 of file MemoryLocation.h.
References LLVM_UNLIKELY, precise(), and unknown().
Referenced by unionWith().