LLVM  8.0.1
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 61 of file MemoryLocation.h.

Constructor & Destructor Documentation

◆ LocationSize()

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

Definition at line 88 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 134 of file MemoryLocation.h.

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

◆ isZero()

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

Definition at line 139 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 110 of file MemoryLocation.h.

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

◆ mapTombstone()

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

Definition at line 107 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 145 of file MemoryLocation.h.

References print().

◆ operator==()

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

Definition at line 141 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 21 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 158 of file MemoryLocation.h.

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

◆ unionWith()

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

Definition at line 116 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 93 of file MemoryLocation.h.

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

Referenced by unionWith().


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