|
CIRCT 24.0.0git
|
This is a stack of hashtables, if lookup fails in the top-most hashtable, it will attempt to lookup in lower hashtables. More...


Classes | |
| struct | Iterator |
Public Types | |
| using | ScopeT = typename llvm::MapVector<KeyT, ValueT> |
| using | StackT = typename llvm::SmallVector<ScopeT, 3> |
| using | iterator = Iterator |
Public Member Functions | |
| HashTableStack () | |
| iterator | begin () |
| iterator | end () |
| iterator | find (const KeyT &key) |
| ScopeT & | getLastScope () |
| void | pushScope () |
| ScopeT | popScope () |
| ValueT & | operator[] (const KeyT &key) |
Private Attributes | |
| StackT | mapStack |
This is a stack of hashtables, if lookup fails in the top-most hashtable, it will attempt to lookup in lower hashtables.
This class is used instead of a ScopedHashTable so we can manually pop off a scope and keep it around.
This only allows inserting into the outermost scope.
Definition at line 62 of file ExpandWhens.cpp.
| using HashTableStack< KeyT, ValueT >::iterator = Iterator |
Definition at line 96 of file ExpandWhens.cpp.
| using HashTableStack< KeyT, ValueT >::ScopeT = typename llvm::MapVector<KeyT, ValueT> |
Definition at line 63 of file ExpandWhens.cpp.
| using HashTableStack< KeyT, ValueT >::StackT = typename llvm::SmallVector<ScopeT, 3> |
Definition at line 64 of file ExpandWhens.cpp.
|
inline |
Definition at line 91 of file ExpandWhens.cpp.
|
inline |
Definition at line 98 of file ExpandWhens.cpp.
Referenced by HashTableStack< KeyT, ValueT >::Iterator::operator++().
|
inline |
Definition at line 102 of file ExpandWhens.cpp.
Referenced by HashTableStack< FieldRef, Operation * >::find().
|
inline |
Definition at line 104 of file ExpandWhens.cpp.
|
inline |
Definition at line 115 of file ExpandWhens.cpp.
|
inline |
Definition at line 125 of file ExpandWhens.cpp.
|
inline |
Definition at line 119 of file ExpandWhens.cpp.
|
inline |
Definition at line 117 of file ExpandWhens.cpp.
Referenced by HashTableStack< FieldRef, Operation * >::HashTableStack().
|
private |
Definition at line 128 of file ExpandWhens.cpp.