Base class for a lock‐free thread‐safe hash‐mapped trie.
Synopsis
Declared in <llvm/ADT/TrieRawHashMap.h>
class ThreadSafeTrieRawHashMapBase;
Member Functions
Name |
Description |
Dump a debug representation of the trie to stderr. |
|
Deallocate memory previously obtained from operator new. |
|
Print a debug representation of the trie to |
Static Member Functions
Name |
Description |
Allocate a ThreadSafeTrieRawHashMapBase with the global operator new. |
Static Data Members
Name |
Description |
Default number of hash bits consumed by the root trie node. |
|
Default number of hash bits consumed by each subtrie node. |
|
Size of the fixed header preceding each content allocation. |
Protected Types
Name |
Description |
Result of a lookup, suitable as an insertion hint. |
Protected Member Functions
Name |
Description |
|
Constructors |
|
Destructor, which asserts if there's anything to do. Subclasses should call destroyImpl(). |
Assignment operators |
|
Destroy all stored values and free trie nodes. |
|
Find the stored content with hash. |
|
Return the next trie node after |
|
Return how many hash bits the trie node referred to by |
|
Return how many slots are occupied in the trie node referred to by |
|
Return the number of trie nodes currently allocated. |
|
Return a pointer base referring to the root trie node. |
|
Return the starting hash bit index for the trie node referred to by |
|
Return the hash prefix for the trie node referred to by |
|
Insert and return the stored content. |
Protected Static Data Members
Name |
Description |
Default allocation alignment for content of type |
|
Default allocation size for content of type |
|
Byte offset of content of type |
Friends
Name |
Description |
Helper used by unit tests to inspect ThreadSafeTrieRawHashMapBase internals. |
Derived Classes
Name |
Description |
Lock‐free thread‐safe hash‐mapped trie. |
Created with MrDocs