CIRCT  20.0.0git
Public Member Functions | List of all members
circt::calyx::NonTerminatingGroupDonePattern Struct Reference

GroupDoneOp's are terminator operations and should therefore be the last operator in a group. More...

#include <CalyxLoweringUtils.h>

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

Public Member Functions

LogicalResult matchAndRewrite (calyx::GroupDoneOp groupDoneOp, PatternRewriter &) const override
 

Detailed Description

GroupDoneOp's are terminator operations and should therefore be the last operator in a group.

During group construction, we always append assignments to the end of a group, resulting in group_done ops migrating away from the terminator position. This pattern moves such ops to the end of their group.

Definition at line 655 of file CalyxLoweringUtils.h.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult circt::calyx::NonTerminatingGroupDonePattern::matchAndRewrite ( calyx::GroupDoneOp  groupDoneOp,
PatternRewriter &   
) const
override

Definition at line 552 of file CalyxLoweringUtils.cpp.


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