LLVM 22.0.0git
|
Template class to implement a pointer type into the trie data structure. More...
#include "llvm/CAS/OnDiskTrieRawHashMap.h"
Public Member Functions | |
FileOffset | getOffset () const |
operator bool () const | |
const ProxyT & | operator* () const |
const ProxyT * | operator-> () const |
PointerImpl ()=default |
Protected Member Functions | |
PointerImpl (ProxyT Value, FileOffset Offset, bool IsValue=true) |
Protected Attributes | |
ProxyT | Value |
uint32_t | OffsetLow32 = 0 |
uint16_t | OffsetHigh16 = 0 |
bool | IsValue = false |
Template class to implement a pointer type into the trie data structure.
It provides pointer-like operation, e.g., dereference to get underlying data. It also reserves the top 16 bits of the pointer value, which can be used to pack additional information if needed.
Definition at line 100 of file OnDiskTrieRawHashMap.h.
|
default |
|
inlineprotected |
Definition at line 120 of file OnDiskTrieRawHashMap.h.
References assert(), llvm::get(), IsValue, llvm::Offset, OffsetHigh16, OffsetLow32, llvm::cas::OnDiskTrieRawHashMap::validOffset(), and Value.
|
inline |
Definition at line 102 of file OnDiskTrieRawHashMap.h.
References OffsetHigh16, and OffsetLow32.
|
inlineexplicit |
Definition at line 106 of file OnDiskTrieRawHashMap.h.
References IsValue.
|
inline |
Definition at line 108 of file OnDiskTrieRawHashMap.h.
|
inline |
Definition at line 112 of file OnDiskTrieRawHashMap.h.
|
protected |
Definition at line 133 of file OnDiskTrieRawHashMap.h.
Referenced by operator bool(), operator*(), operator->(), and PointerImpl().
|
protected |
Definition at line 129 of file OnDiskTrieRawHashMap.h.
Referenced by getOffset(), and PointerImpl().
|
protected |
Definition at line 128 of file OnDiskTrieRawHashMap.h.
Referenced by getOffset(), and PointerImpl().
|
protected |
Definition at line 127 of file OnDiskTrieRawHashMap.h.
Referenced by operator*(), operator->(), and PointerImpl().