LLVM: llvm::cas::ObjectHandle Class Reference (original) (raw)
Handle to a loaded object in a ObjectStore instance. More...
#include "[llvm/CAS/CASReference.h](CASReference%5F8h%5Fsource.html)"
Inheritance diagram for llvm::cas::ObjectHandle:
| 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 |
| Public Member Functions inherited from llvm::cas::ReferenceBase | |
| 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 |
| Additional Inherited Members | |
|---|---|
| Protected Member Functions inherited from llvm::cas::ReferenceBase | |
| 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 inherited from llvm::cas::ReferenceBase | |
| static constexpr uint64_t | getDenseMapEmptyRef () |
| static constexpr uint64_t | getDenseMapTombstoneRef () |
Detailed Description
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.
Member Function Documentation
◆ dump()
◆ print()
| void llvm::cas::ObjectHandle::print ( raw_ostream & OS) const | inline |
|---|
◆ ObjectStore
◆ operator!=
◆ operator==
◆ ReferenceBase
The documentation for this class was generated from the following files:
- include/llvm/CAS/CASReference.h
- lib/CAS/ObjectStore.cpp