LLVM 22.0.0git
|
Handle to a loaded object in a ObjectStore instance. More...
#include "llvm/CAS/CASReference.h"
Public Member Functions | |
void | print (raw_ostream &OS) const |
Print internal ref and/or CASID. Only suitable for debugging. | |
LLVM_DUMP_METHOD void | dump () const |
![]() | |
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 |
Friends | |
class | ObjectStore |
class | ReferenceBase |
bool | operator== (const ObjectHandle &LHS, const ObjectHandle &RHS) |
bool | operator!= (const ObjectHandle &LHS, const ObjectHandle &RHS) |
Additional Inherited Members | |
![]() | |
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 constexpr uint64_t | getDenseMapEmptyRef () |
static constexpr uint64_t | getDenseMapTombstoneRef () |
Handle to a loaded object in a ObjectStore instance.
ObjectHandle encapulates a loaded object in the CAS. You need one of these to inspect the content of an object: to look at its stored data and references.
Definition at line 150 of file CASReference.h.
LLVM_DUMP_METHOD void ObjectHandle::dump | ( | ) | const |
Definition at line 25 of file ObjectStore.cpp.
References llvm::dbgs(), and print().
|
inline |
Print internal ref and/or CASID. Only suitable for debugging.
Definition at line 160 of file CASReference.h.
References OS, and llvm::cas::ReferenceBase::print().
Referenced by dump().
|
friend |
Definition at line 165 of file CASReference.h.
|
friend |
Definition at line 155 of file CASReference.h.
|
friend |
Definition at line 152 of file CASReference.h.
|
friend |
Definition at line 166 of file CASReference.h.