CIRCT 20.0.0git
|
Public Member Functions | |
void | runOnOperation () override |
Private Member Functions | |
void | findInnerRefs (Attribute attr) |
Find all InnerRefAttrs inside a given Attribute. | |
void | insertInnerRef (InnerRefAttr innerRef) |
Add an InnerRefAttr to the set of all InnerRefAttrs. | |
void | removeInnerSyms (FModuleLike mod) |
Remove all dead inner symbols from the specified module. | |
Private Attributes | |
DenseSet< std::pair< StringAttr, StringAttr > > | innerRefs |
Definition at line 58 of file InnerSymbolDCE.cpp.
|
private |
Find all InnerRefAttrs inside a given Attribute.
Definition at line 71 of file InnerSymbolDCE.cpp.
References insertInnerRef().
Referenced by runOnOperation().
|
private |
Add an InnerRefAttr to the set of all InnerRefAttrs.
Definition at line 80 of file InnerSymbolDCE.cpp.
References DEBUG_TYPE, and innerRefs.
Referenced by findInnerRefs().
|
private |
Remove all dead inner symbols from the specified module.
Definition at line 96 of file InnerSymbolDCE.cpp.
References DEBUG_TYPE, dropSymbol(), innerRefs, and circt::hw::InnerSymbolTable::walkSymbols().
Referenced by runOnOperation().
|
override |
Definition at line 116 of file InnerSymbolDCE.cpp.
References findInnerRefs(), and removeInnerSyms().
|
private |
Definition at line 67 of file InnerSymbolDCE.cpp.
Referenced by insertInnerRef(), and removeInnerSyms().