LLVM  13.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::LocationSize Class Reference

#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 ()
 

Detailed Description

Definition at line 65 of file MemoryLocation.h.

Constructor & Destructor Documentation

◆ LocationSize()

constexpr llvm::LocationSize::LocationSize ( uint64_t  Raw)
inlineconstexpr

Definition at line 97 of file MemoryLocation.h.

Member Function Documentation

◆ afterPointer()

constexpr static LocationSize llvm::LocationSize::afterPointer ( )
inlinestaticconstexpr

◆ beforeOrAfterPointer()

constexpr static LocationSize llvm::LocationSize::beforeOrAfterPointer ( )
inlinestaticconstexpr

Any location before or after the base pointer (but still within the underlying object).

Definition at line 129 of file MemoryLocation.h.

Referenced by llvm::SCEVAAResult::alias(), llvm::MemoryLocation::getBeforeOrAfter(), print(), llvm::AliasSet::print(), and unionWith().

◆ getValue()

uint64_t llvm::LocationSize::getValue ( ) const
inline

◆ hasValue()

bool llvm::LocationSize::hasValue ( ) const
inline

◆ isPrecise()

bool llvm::LocationSize::isPrecise ( ) const
inline

Definition at line 165 of file MemoryLocation.h.

Referenced by getMinimalExtentFrom(), and print().

◆ isZero()

bool llvm::LocationSize::isZero ( ) const
inline

Definition at line 170 of file MemoryLocation.h.

References getValue(), and hasValue().

Referenced by llvm::SCEVAAResult::alias().

◆ mapEmpty()

constexpr static LocationSize llvm::LocationSize::mapEmpty ( )
inlinestaticconstexpr

Definition at line 137 of file MemoryLocation.h.

Referenced by llvm::DenseMapInfo< LocationSize >::getEmptyKey(), and print().

◆ mapTombstone()

constexpr static LocationSize llvm::LocationSize::mapTombstone ( )
inlinestaticconstexpr

Definition at line 134 of file MemoryLocation.h.

Referenced by llvm::DenseMapInfo< LocationSize >::getTombstoneKey(), and print().

◆ mayBeBeforePointer()

bool llvm::LocationSize::mayBeBeforePointer ( ) const
inline

Whether accesses before the base pointer are possible.

Definition at line 173 of file MemoryLocation.h.

◆ operator!=()

bool llvm::LocationSize::operator!= ( const LocationSize Other) const
inline

Definition at line 179 of file MemoryLocation.h.

References Other.

◆ operator==()

bool llvm::LocationSize::operator== ( const LocationSize Other) const
inline

Definition at line 175 of file MemoryLocation.h.

References Other.

◆ precise() [1/2]

static LocationSize llvm::LocationSize::precise ( TypeSize  Value)
inlinestatic

Definition at line 101 of file MemoryLocation.h.

References afterPointer(), and precise().

◆ precise() [2/2]

static LocationSize llvm::LocationSize::precise ( uint64_t  Value)
inlinestatic

◆ print()

void LocationSize::print ( raw_ostream OS) const

◆ toRaw()

uint64_t llvm::LocationSize::toRaw ( ) const
inline

Definition at line 192 of file MemoryLocation.h.

Referenced by llvm::DenseMapInfo< LocationSize >::getHashValue().

◆ unionWith()

LocationSize llvm::LocationSize::unionWith ( LocationSize  Other) const
inline

◆ upperBound() [1/2]

static LocationSize llvm::LocationSize::upperBound ( TypeSize  Value)
inlinestatic

Definition at line 115 of file MemoryLocation.h.

References afterPointer(), and upperBound().

◆ upperBound() [2/2]

static LocationSize llvm::LocationSize::upperBound ( uint64_t  Value)
inlinestatic

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