CIRCT  19.0.0git
Public Member Functions | List of all members
circt::calyx::EliminateUnusedCombGroups Struct Reference

Removes calyx::CombGroupOps which are unused. More...

#include <CalyxLoweringUtils.h>

Inheritance diagram for circt::calyx::EliminateUnusedCombGroups:
Inheritance graph
[legend]
Collaboration diagram for circt::calyx::EliminateUnusedCombGroups:
Collaboration graph
[legend]

Public Member Functions

LogicalResult matchAndRewrite (calyx::CombGroupOp combGroupOp, PatternRewriter &rewriter) const override
 

Detailed Description

Removes calyx::CombGroupOps which are unused.

These correspond to combinational groups created during op building that, after conversion, have either been inlined into calyx::GroupOps or are referenced by an if/while with statement. We do not eliminate unused calyx::GroupOps; this should never happen, and is considered an error. In these cases, the program will be invalidated when the Calyx verifiers execute.

Definition at line 678 of file CalyxLoweringUtils.h.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult circt::calyx::EliminateUnusedCombGroups::matchAndRewrite ( calyx::CombGroupOp  combGroupOp,
PatternRewriter &  rewriter 
) const
override

Definition at line 588 of file CalyxLoweringUtils.cpp.


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