CIRCT 24.0.0git
Loading...
Searching...
No Matches
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:
Collaboration diagram for circt::calyx::NonTerminatingGroupDonePattern:

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 739 of file CalyxLoweringUtils.h.

Member Function Documentation

◆ matchAndRewrite()

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

Definition at line 582 of file CalyxLoweringUtils.cpp.

References failure(), and success().


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