|
LLVM
4.0.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... | |
| bool | contains (typename Info::key_type_ref Key, Info &InfoObj) |
| Determine whether an entry has been inserted. 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 59 of file OnDiskHashTable.h.
|
inline |
Definition at line 224 of file OnDiskHashTable.h.
|
inline |
Definition at line 232 of file OnDiskHashTable.h.
|
inline |
Determine whether an entry has been inserted.
Definition at line 133 of file OnDiskHashTable.h.
References fuzzer::Hash(), and I.
|
inline |
Emit the table to Out, which must not be at offset 0.
Definition at line 142 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 150 of file OnDiskHashTable.h.
References assert(), B, llvm::WebAssembly::End, I, llvm::AArch64CC::LE, N, llvm::NextPowerOf2(), llvm::OffsetToAlignment(), llvm::raw_ostream::tell(), and llvm::support::endian::Writer< endian >::write().
|
inline |
Insert an entry into the table.
Definition at line 115 of file OnDiskHashTable.h.
|
inline |
Insert an entry into the table.
Uses the provided Info instead of a stack allocated one.
Definition at line 124 of file OnDiskHashTable.h.
References llvm::SpecificBumpPtrAllocator< T >::Allocate().
1.8.6