CIRCT  20.0.0git
Public Member Functions | Private Member Functions | Private Attributes | List of all members
InnerSymbolDCEPass Struct Reference
Inheritance diagram for InnerSymbolDCEPass:
Inheritance graph
[legend]
Collaboration diagram for InnerSymbolDCEPass:
Collaboration graph
[legend]

Public Member Functions

void runOnOperation () override
 

Private Member Functions

void findInnerRefs (Attribute attr)
 Find all InnerRefAttrs inside a given Attribute. More...
 
void insertInnerRef (InnerRefAttr innerRef)
 Add an InnerRefAttr to the set of all InnerRefAttrs. More...
 
void removeInnerSyms (FModuleLike mod)
 Remove all dead inner symbols from the specified module. More...
 

Private Attributes

DenseSet< std::pair< StringAttr, StringAttr > > innerRefs
 

Detailed Description

Definition at line 57 of file InnerSymbolDCE.cpp.

Member Function Documentation

◆ findInnerRefs()

void InnerSymbolDCEPass::findInnerRefs ( Attribute  attr)
private

Find all InnerRefAttrs inside a given Attribute.

Definition at line 70 of file InnerSymbolDCE.cpp.

◆ insertInnerRef()

void InnerSymbolDCEPass::insertInnerRef ( InnerRefAttr  innerRef)
private

Add an InnerRefAttr to the set of all InnerRefAttrs.

Definition at line 79 of file InnerSymbolDCE.cpp.

References DEBUG_TYPE.

◆ removeInnerSyms()

void InnerSymbolDCEPass::removeInnerSyms ( FModuleLike  mod)
private

Remove all dead inner symbols from the specified module.

Definition at line 95 of file InnerSymbolDCE.cpp.

References DEBUG_TYPE, and dropSymbol().

◆ runOnOperation()

void InnerSymbolDCEPass::runOnOperation ( )
override

Definition at line 115 of file InnerSymbolDCE.cpp.

Member Data Documentation

◆ innerRefs

DenseSet<std::pair<StringAttr, StringAttr> > InnerSymbolDCEPass::innerRefs
private

Definition at line 66 of file InnerSymbolDCE.cpp.


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