CIRCT  18.0.0git
Public Member Functions | List of all members
CollapseUnaryControl< CtrlOp > Struct Template Reference

This pattern collapses a calyx.seq or calyx.par operation when it contains exactly one calyx.enable operation. More...

Inheritance diagram for CollapseUnaryControl< CtrlOp >:
Inheritance graph
[legend]
Collaboration diagram for CollapseUnaryControl< CtrlOp >:
Collaboration graph
[legend]

Public Member Functions

LogicalResult matchAndRewrite (CtrlOp ctrlOp, PatternRewriter &rewriter) const override
 

Detailed Description

template<typename CtrlOp>
struct CollapseUnaryControl< CtrlOp >

This pattern collapses a calyx.seq or calyx.par operation when it contains exactly one calyx.enable operation.

Definition at line 76 of file CalyxOps.cpp.

Member Function Documentation

◆ matchAndRewrite()

template<typename CtrlOp >
LogicalResult CollapseUnaryControl< CtrlOp >::matchAndRewrite ( CtrlOp  ctrlOp,
PatternRewriter &  rewriter 
) const
inlineoverride

Definition at line 78 of file CalyxOps.cpp.


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