CIRCT  20.0.0git
Public Member Functions | Public Attributes | List of all members
circt::hw::InnerRefNamespace Struct Reference

This class represents the namespace in which InnerRef's can be resolved. More...

#include <InnerSymbolTable.h>

Collaboration diagram for circt::hw::InnerRefNamespace:
Collaboration graph
[legend]

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 >
lookupOp (hw::InnerRefAttr inner) const
 

Public Attributes

SymbolTable & symTable
 
InnerSymbolTableCollectioninnerSymTables
 

Detailed Description

This class represents the namespace in which InnerRef's can be resolved.

Definition at line 227 of file InnerSymbolTable.h.

Member Function Documentation

◆ lookup()

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().

◆ lookupOp() [1/2]

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().

◆ lookupOp() [2/2]

template<typename T >
T circt::hw::InnerRefNamespace::lookupOp ( hw::InnerRefAttr  inner) const
inline

Definition at line 240 of file InnerSymbolTable.h.

References lookupOp().

Member Data Documentation

◆ innerSymTables

InnerSymbolTableCollection& circt::hw::InnerRefNamespace::innerSymTables

Definition at line 229 of file InnerSymbolTable.h.

◆ symTable

SymbolTable& circt::hw::InnerRefNamespace::symTable

Definition at line 228 of file InnerSymbolTable.h.


The documentation for this struct was generated from the following files: