StringMapImpl ‐ This is the base class of StringMap that is shared among all of its instantiations.
Synopsis
Declared in <llvm/ADT/StringMap.h>
class StringMapImpl
: public DebugEpochBase
Base Classes
Name |
Description |
Empty stub of DebugEpochBase used when ABI‐breaking checks are disabled. |
Types
Name |
Description |
Empty stub of HandleBase used when ABI‐breaking checks are disabled. |
Member Functions
Name |
Description |
Return true if the map contains no entries. |
|
Return the number of allocated hash buckets. |
|
Return the number of live entries. |
|
No‐op when ABI‐breaking checks are disabled. |
|
Return the number of live entries. |
|
Exchange the contents of this map with |
Static Member Functions
Name |
Description |
Return the hash value used for |
Protected Member Functions
Name |
Description |
|
Constructors |
|
Free the hash table storage. |
|
|
|
|
Grow and rehash the table; return the new bucket for |
|
|
|
Return a range over the raw bucket pointer array. |
|
Allocate the table with the specified number of buckets and otherwise setup the map as empty. |
|
Remove the entry pointer at the given (live) bucket without destroying the entry, and close the hole via Algorithm R backward shifting. |
Protected Data Members
Name |
Description |
Size in bytes of each StringMapEntry specialization. |
|
Number of hash buckets currently allocated. |
|
Number of live key/value entries in the map. |
|
Hash table of entry pointers; null slots are empty probe holes. |