LLVM  9.0.0svn
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 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 ()
 

Detailed Description

Definition at line 60 of file MemoryLocation.h.

Constructor & Destructor Documentation

◆ LocationSize()

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

Definition at line 87 of file MemoryLocation.h.

Member Function Documentation

◆ 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 133 of file MemoryLocation.h.

Referenced by isOverwrite(), MergeAliasResults(), print(), and SortNonLocalDepInfoCache().

◆ isZero()

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

Definition at line 138 of file MemoryLocation.h.

References getValue(), and hasValue().

Referenced by llvm::SCEVAAResult::alias(), and MergeAliasResults().

◆ mapEmpty()

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

Definition at line 109 of file MemoryLocation.h.

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

◆ mapTombstone()

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

Definition at line 106 of file MemoryLocation.h.

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

◆ operator!=()

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

Definition at line 144 of file MemoryLocation.h.

References print().

◆ operator==()

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

Definition at line 140 of file MemoryLocation.h.

◆ precise()

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

◆ print()

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

◆ toRaw()

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

Definition at line 157 of file MemoryLocation.h.

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

◆ unionWith()

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

Definition at line 115 of file MemoryLocation.h.

References getValue(), hasValue(), llvm::max(), unknown(), and upperBound().

◆ unknown()

static constexpr LocationSize llvm::LocationSize::unknown ( )
inlinestatic

◆ upperBound()

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

Definition at line 92 of file MemoryLocation.h.

References LLVM_UNLIKELY, precise(), and unknown().

Referenced by unionWith().


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