CIRCT
20.0.0git
|
Removes calyx::CombGroupOps which are unused. More...
#include <CalyxLoweringUtils.h>
Public Member Functions | |
LogicalResult | matchAndRewrite (calyx::CombGroupOp combGroupOp, PatternRewriter &rewriter) const override |
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 741 of file CalyxLoweringUtils.h.
|
override |
Definition at line 601 of file CalyxLoweringUtils.cpp.