LLVM 22.0.0git
|
Compact 4 byte reference inside OnDiskGraphDB for smaller references. More...
#include "llvm/CAS/OnDiskGraphDB.h"
Public Member Functions | |
FileOffset | getFileOffset () const |
uint32_t | getRawData () const |
operator InternalRef () const |
Static Public Member Functions | |
static std::optional< InternalRef4B > | tryToShrink (InternalRef Ref) |
Shrink to 4B reference. |
Friends | |
class | InternalRef |
Compact 4 byte reference inside OnDiskGraphDB for smaller references.
Definition at line 47 of file OnDiskGraphDB.h.
|
inline |
Definition at line 49 of file OnDiskGraphDB.h.
Referenced by operator InternalRef().
|
inline |
Definition at line 50 of file OnDiskGraphDB.h.
|
inline |
Definition at line 60 of file OnDiskGraphDB.h.
References getFileOffset(), and llvm::cas::ondisk::InternalRef::getFromOffset().
|
inlinestatic |
Shrink to 4B reference.
Definition at line 53 of file OnDiskGraphDB.h.
References InternalRef, llvm::Offset, and llvm::Ref.
|
friend |
Definition at line 65 of file OnDiskGraphDB.h.
References InternalRef.
Referenced by InternalRef, and tryToShrink().