LLVM 22.0.0git
|
Base class for references to things in ObjectStore. More...
#include "llvm/CAS/CASReference.h"
Classes | |
struct | DenseMapEmptyTag |
struct | DenseMapTombstoneTag |
Public Member Functions | |
uint64_t | getInternalRef (const ObjectStore &ExpectedCAS) const |
Get an internal reference. | |
unsigned | getDenseMapHash () const |
Helper functions for DenseMapInfo. | |
bool | isDenseMapEmpty () const |
bool | isDenseMapTombstone () const |
bool | isDenseMapSentinel () const |
Protected Member Functions | |
void | print (raw_ostream &OS, const ObjectHandle &This) const |
void | print (raw_ostream &OS, const ObjectRef &This) const |
bool | hasSameInternalRef (const ReferenceBase &RHS) const |
ReferenceBase (const ObjectStore *CAS, uint64_t InternalRef, bool IsHandle) | |
ReferenceBase (DenseMapEmptyTag) | |
ReferenceBase (DenseMapTombstoneTag) | |
Static Protected Member Functions | |
static constexpr uint64_t | getDenseMapEmptyRef () |
static constexpr uint64_t | getDenseMapTombstoneRef () |
Friends | |
class | ObjectStore |
Base class for references to things in ObjectStore.
Definition at line 27 of file CASReference.h.
|
inlineprotected |
Definition at line 70 of file CASReference.h.
References assert(), getDenseMapEmptyRef(), and getDenseMapTombstoneRef().
|
inlineexplicitprotected |
Definition at line 79 of file CASReference.h.
|
inlineexplicitprotected |
Definition at line 81 of file CASReference.h.
|
inlinestaticconstexprprotected |
Definition at line 31 of file CASReference.h.
Referenced by isDenseMapEmpty(), and ReferenceBase().
|
inline |
Helper functions for DenseMapInfo.
Definition at line 44 of file CASReference.h.
References llvm::hash_value().
|
inlinestaticconstexprprotected |
Definition at line 32 of file CASReference.h.
Referenced by isDenseMapTombstone(), and ReferenceBase().
|
inline |
|
inlineprotected |
Definition at line 59 of file CASReference.h.
References assert(), isDenseMapSentinel(), and RHS.
|
inline |
Definition at line 47 of file CASReference.h.
References getDenseMapEmptyRef().
Referenced by isDenseMapSentinel().
|
inline |
Definition at line 51 of file CASReference.h.
References isDenseMapEmpty(), and isDenseMapTombstone().
Referenced by hasSameInternalRef().
|
inline |
Definition at line 48 of file CASReference.h.
References getDenseMapTombstoneRef().
Referenced by isDenseMapSentinel().
|
protected |
Definition at line 40 of file ObjectStore.cpp.
References assert(), OS, and printReferenceBase().
Referenced by llvm::cas::ObjectRef::print(), and llvm::cas::ObjectHandle::print().
|
protected |
Definition at line 45 of file ObjectStore.cpp.
References assert(), OS, and printReferenceBase().
|
friend |
Definition at line 69 of file CASReference.h.