|
LLVM
3.7.0
|
Generates an on disk hash table. More...
#include <OnDiskHashTable.h>
Public Member Functions | |
| void | insert (typename Info::key_type_ref Key, typename Info::data_type_ref Data) |
| Insert an entry into the table. More... | |
| void | insert (typename Info::key_type_ref Key, typename Info::data_type_ref Data, Info &InfoObj) |
| Insert an entry into the table. More... | |
| offset_type | Emit (raw_ostream &Out) |
| Emit the table to Out, which must not be at offset 0. More... | |
| offset_type | Emit (raw_ostream &Out, Info &InfoObj) |
| Emit the table to Out, which must not be at offset 0. More... | |
| OnDiskChainedHashTableGenerator () | |
| ~OnDiskChainedHashTableGenerator () | |
Generates an on disk hash table.
This needs an Info that handles storing values into the hash table's payload and computes the hash for a given key. This should provide the following interface:
Definition at line 58 of file OnDiskHashTable.h.
|
inline |
Definition at line 185 of file OnDiskHashTable.h.
|
inline |
Definition at line 193 of file OnDiskHashTable.h.
|
inline |
Emit the table to Out, which must not be at offset 0.
Definition at line 133 of file OnDiskHashTable.h.
|
inline |
Emit the table to Out, which must not be at offset 0.
Uses the provided Info instead of a stack allocated one.
Definition at line 141 of file OnDiskHashTable.h.
References I, llvm::AArch64CC::LE, N, llvm::OffsetToAlignment(), llvm::raw_ostream::tell(), and llvm::support::endian::Writer< endian >::write().
|
inline |
Insert an entry into the table.
Definition at line 114 of file OnDiskHashTable.h.
|
inline |
Insert an entry into the table.
Uses the provided Info instead of a stack allocated one.
Definition at line 123 of file OnDiskHashTable.h.
References llvm::SpecificBumpPtrAllocator< T >::Allocate().
1.8.6