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

When building groups which contain accesses to multiple sequential components, a group_done op is created for each of these. More...

#include <CalyxLoweringUtils.h>

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

Public Member Functions

LogicalResult matchAndRewrite (calyx::GroupOp groupOp, PatternRewriter &rewriter) const override
 

Detailed Description

When building groups which contain accesses to multiple sequential components, a group_done op is created for each of these.

This pattern and's each of the group_done values into a single group_done.

Definition at line 666 of file CalyxLoweringUtils.h.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult circt::calyx::MultipleGroupDonePattern::matchAndRewrite ( calyx::GroupOp  groupOp,
PatternRewriter &  rewriter 
) const
override

'and' all of the calyx::GroupDoneOp's.

Create a group done op with the complex expression as a guard.

Definition at line 568 of file CalyxLoweringUtils.cpp.


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