LLVM
12.0.0git
|
#include "llvm/DebugInfo/PDB/Native/HashTable.h"
Public Types | |
using | const_iterator = HashTableIterator< ValueT > |
Public Member Functions | |
HashTable () | |
HashTable (uint32_t Capacity) | |
Error | load (BinaryStreamReader &Stream) |
uint32_t | calculateSerializedLength () const |
Error | commit (BinaryStreamWriter &Writer) const |
void | clear () |
bool | empty () const |
uint32_t | capacity () const |
uint32_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
template<typename Key , typename TraitsT > | |
const_iterator | find_as (const Key &K, TraitsT &Traits) const |
Find the entry whose key has the specified hash value, using the specified traits defining hash function and equality. More... | |
template<typename Key , typename TraitsT > | |
bool | set_as (const Key &K, ValueT V, TraitsT &Traits) |
Set the entry using a key type that the specified Traits can convert from a real key to an internal key. More... | |
template<typename Key , typename TraitsT > | |
ValueT | get (const Key &K, TraitsT &Traits) const |
Public Attributes | |
friend | const_iterator |
Protected Member Functions | |
bool | isPresent (uint32_t K) const |
bool | isDeleted (uint32_t K) const |
Protected Attributes | |
BucketList | Buckets |
SparseBitVector | Present |
SparseBitVector | Deleted |
Definition at line 34 of file HashTable.h.
using llvm::pdb::HashTable< ValueT >::const_iterator = HashTableIterator<ValueT> |
Definition at line 112 of file HashTable.h.
|
inline |
Definition at line 115 of file HashTable.h.
|
inlineexplicit |
Definition at line 116 of file HashTable.h.
|
inline |
Definition at line 216 of file HashTable.h.
Referenced by llvm::pdb::InjectedSourceStream::begin().
|
inline |
Definition at line 157 of file HashTable.h.
|
inline |
Definition at line 213 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::commit(), and llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::find_as().
|
inline |
Definition at line 206 of file HashTable.h.
|
inline |
Definition at line 184 of file HashTable.h.
|
inline |
Definition at line 212 of file HashTable.h.
|
inline |
Definition at line 217 of file HashTable.h.
Referenced by llvm::pdb::InjectedSourceStream::end(), and llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::get().
|
inline |
Find the entry whose key has the specified hash value, using the specified traits defining hash function and equality.
Definition at line 222 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::get().
|
inline |
Definition at line 259 of file HashTable.h.
|
inlineprotected |
Definition at line 267 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::find_as().
|
inlineprotected |
Definition at line 266 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::find_as().
|
inline |
Definition at line 120 of file HashTable.h.
|
inline |
Set the entry using a key type that the specified Traits can convert from a real key to an internal key.
Definition at line 254 of file HashTable.h.
|
inline |
Definition at line 214 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::calculateSerializedLength(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::commit(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::empty(), and llvm::pdb::InjectedSourceStream::size().
|
protected |
Definition at line 269 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::capacity(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::clear(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::find_as(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::HashTable(), and llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::load().
friend llvm::pdb::HashTable< ValueT >::const_iterator |
Definition at line 113 of file HashTable.h.
|
mutableprotected |
Definition at line 271 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::calculateSerializedLength(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::clear(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::commit(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::isDeleted(), and llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::load().
|
mutableprotected |
Definition at line 270 of file HashTable.h.
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::calculateSerializedLength(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::clear(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::commit(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::isPresent(), llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::load(), and llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::size().