|
LLVM 23.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 103 of file OnDiskTrieRawHashMap.h.
|
default |
|
inlineprotected |
Definition at line 123 of file OnDiskTrieRawHashMap.h.
References assert(), llvm::get(), IsValue, llvm::Offset, OffsetHigh16, OffsetLow32, llvm::cas::OnDiskTrieRawHashMap::validOffset(), and Value.
|
inline |
Definition at line 105 of file OnDiskTrieRawHashMap.h.
References OffsetHigh16, and OffsetLow32.
|
inlineexplicit |
Definition at line 109 of file OnDiskTrieRawHashMap.h.
References IsValue.
|
inline |
Definition at line 111 of file OnDiskTrieRawHashMap.h.
|
inline |
Definition at line 115 of file OnDiskTrieRawHashMap.h.
|
protected |
Definition at line 136 of file OnDiskTrieRawHashMap.h.
Referenced by operator bool(), operator*(), operator->(), and PointerImpl().
|
protected |
Definition at line 132 of file OnDiskTrieRawHashMap.h.
Referenced by getOffset(), and PointerImpl().
|
protected |
Definition at line 131 of file OnDiskTrieRawHashMap.h.
Referenced by getOffset(), and PointerImpl().
|
protected |
Definition at line 130 of file OnDiskTrieRawHashMap.h.
Referenced by operator*(), operator->(), and PointerImpl().