CIRCT
20.0.0git
|
This class represents the namespace in which InnerRef's can be resolved. More...
#include <InnerSymbolTable.h>
Public Member Functions | |
InnerSymTarget | lookup (hw::InnerRefAttr inner) const |
Resolve the InnerRef to its target within this namespace, returning empty target if no such name exists. More... | |
Operation * | lookupOp (hw::InnerRefAttr inner) const |
Resolve the InnerRef to its target within this namespace, returning empty target if no such name exists or it's not an operation. More... | |
template<typename T > | |
T | lookupOp (hw::InnerRefAttr inner) const |
Public Attributes | |
SymbolTable & | symTable |
InnerSymbolTableCollection & | innerSymTables |
This class represents the namespace in which InnerRef's can be resolved.
Definition at line 227 of file InnerSymbolTable.h.
InnerSymTarget circt::hw::InnerRefNamespace::lookup | ( | hw::InnerRefAttr | inner | ) | const |
Resolve the InnerRef to its target within this namespace, returning empty target if no such name exists.
Definition at line 201 of file InnerSymbolTable.cpp.
References assert().
Operation * circt::hw::InnerRefNamespace::lookupOp | ( | hw::InnerRefAttr | inner | ) | const |
Resolve the InnerRef to its target within this namespace, returning empty target if no such name exists or it's not an operation.
Template type can be used to limit results to specified op type.
Definition at line 209 of file InnerSymbolTable.cpp.
References assert().
Referenced by lookupOp().
|
inline |
Definition at line 240 of file InnerSymbolTable.h.
References lookupOp().
InnerSymbolTableCollection& circt::hw::InnerRefNamespace::innerSymTables |
Definition at line 229 of file InnerSymbolTable.h.
SymbolTable& circt::hw::InnerRefNamespace::symTable |
Definition at line 228 of file InnerSymbolTable.h.