|
LLVM 24.0.0git
|
#include "llvm/ADT/ScopedHashTable.h"
Public Types | |
| using | ScopeTy = ScopedHashTableScope<K, V, KInfo, AllocatorTy> |
| ScopeTy - A type alias for easy access to the name of the scope for this hash table. | |
| using | size_type = unsigned |
| using | iterator = ScopedHashTableIterator<K, V, KInfo> |
Public Member Functions | |
| ScopedHashTable ()=default | |
| ScopedHashTable (AllocatorTy A) | |
| ScopedHashTable (const ScopedHashTable &)=delete | |
| ScopedHashTable & | operator= (const ScopedHashTable &)=delete |
| ~ScopedHashTable () | |
| size_type | count (const K &Key) const |
| Return 1 if the specified key is in the table, 0 otherwise. | |
| V | lookup (const K &Key) const |
| void | insert (const K &Key, const V &Val) |
| iterator | end () |
| iterator | begin (const K &Key) |
| ScopeTy * | getCurScope () |
| const ScopeTy * | getCurScope () const |
| void | insertIntoScope (ScopeTy *S, const K &Key, const V &Val) |
| insertIntoScope - This inserts the specified key/value at the specified (possibly not the current) scope. | |
| void | erase (const K &key) |
| AllocatorTy & | getAllocator () |
| Access to the allocator. | |
| const AllocatorTy & | getAllocator () const |
| Access to the allocator. | |
Friends | |
| class | ScopedHashTableScope< K, V, KInfo, AllocatorTy > |
Definition at line 171 of file ScopedHashTable.h.
| using llvm::ScopedHashTable< K, V, KInfo, AllocatorTy >::iterator = ScopedHashTableIterator<K, V, KInfo> |
Definition at line 219 of file ScopedHashTable.h.
| using llvm::ScopedHashTable< K, V, KInfo, AllocatorTy >::ScopeTy = ScopedHashTableScope<K, V, KInfo, AllocatorTy> |
ScopeTy - A type alias for easy access to the name of the scope for this hash table.
Definition at line 178 of file ScopedHashTable.h.
| using llvm::ScopedHashTable< K, V, KInfo, AllocatorTy >::size_type = unsigned |
Definition at line 179 of file ScopedHashTable.h.
|
default |
|
inline |
Definition at line 191 of file ScopedHashTable.h.
|
delete |
|
inline |
Definition at line 195 of file ScopedHashTable.h.
Definition at line 223 of file ScopedHashTable.h.
Return 1 if the specified key is in the table, 0 otherwise.
Definition at line 203 of file ScopedHashTable.h.
|
inline |
Definition at line 221 of file ScopedHashTable.h.
|
inline |
Definition at line 244 of file ScopedHashTable.h.
|
inline |
Access to the allocator.
Definition at line 116 of file AllocatorBase.h.
|
inline |
Access to the allocator.
Definition at line 117 of file AllocatorBase.h.
|
inline |
Definition at line 229 of file ScopedHashTable.h.
|
inline |
Definition at line 230 of file ScopedHashTable.h.
|
inline |
Definition at line 215 of file ScopedHashTable.h.
Referenced by inferAlignment(), and loadCSE().
|
inline |
insertIntoScope - This inserts the specified key/value at the specified (possibly not the current) scope.
While it is ok to insert into a scope that isn't the current one, it isn't ok to insert underneath an existing value of the specified key.
Definition at line 236 of file ScopedHashTable.h.
Definition at line 207 of file ScopedHashTable.h.
Referenced by inferAlignment(), and loadCSE().
|
delete |
|
friend |
Definition at line 165 of file ScopedHashTable.h.