CIRCT  19.0.0git
Public Member Functions | List of all members
EmptyStaticIfBody Struct Reference

This pattern checks for one of two cases that will lead to StaticIfOp deletion: (1) Then and Else bodies are both empty. More...

Inheritance diagram for EmptyStaticIfBody:
Inheritance graph
[legend]
Collaboration diagram for EmptyStaticIfBody:
Collaboration graph
[legend]

Public Member Functions

LogicalResult matchAndRewrite (StaticIfOp ifOp, PatternRewriter &rewriter) const override
 

Detailed Description

This pattern checks for one of two cases that will lead to StaticIfOp deletion: (1) Then and Else bodies are both empty.

(2) Then body is empty and Else body does not exist.

Definition at line 2449 of file CalyxOps.cpp.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult EmptyStaticIfBody::matchAndRewrite ( StaticIfOp  ifOp,
PatternRewriter &  rewriter 
) const
inlineoverride

Definition at line 2451 of file CalyxOps.cpp.


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