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(), getDenseMapTombstoneRef(), and ObjectStore.
Referenced by hasSameInternalRef(), llvm::cas::ObjectHandle::ReferenceBase, and llvm::cas::ObjectRef::ReferenceBase.
|
inlineexplicitprotected |
Definition at line 79 of file CASReference.h.
References getDenseMapEmptyRef().
|
inlineexplicitprotected |
Definition at line 81 of file CASReference.h.
References getDenseMapTombstoneRef().
|
inlinestaticconstexprprotected |
Definition at line 31 of file CASReference.h.
Referenced by isDenseMapEmpty(), ReferenceBase(), 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(), ReferenceBase(), and ReferenceBase().
|
inline |
Get an internal reference.
Definition at line 36 of file CASReference.h.
References assert(), and ObjectStore.
|
inlineprotected |
Definition at line 59 of file CASReference.h.
References assert(), isDenseMapSentinel(), ReferenceBase(), 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(), and printReferenceBase().
Referenced by llvm::cas::ObjectHandle::print(), and llvm::cas::ObjectRef::print().
|
protected |
Definition at line 45 of file ObjectStore.cpp.
References assert(), and printReferenceBase().
|
friend |
Definition at line 69 of file CASReference.h.
References ObjectStore.
Referenced by getInternalRef(), ObjectStore, and ReferenceBase().