CIRCT  19.0.0git
Private Member Functions | List of all members
circt::pipelinetocalyx::CleanupFuncOps Class Reference

Erases FuncOp operations. More...

Inheritance diagram for circt::pipelinetocalyx::CleanupFuncOps:
Inheritance graph
Collaboration diagram for circt::pipelinetocalyx::CleanupFuncOps:
Collaboration graph

Private Member Functions

LogicalResult matchAndRewrite (FuncOp funcOp, PatternRewriter &rewriter) const override
LogicalResult partiallyLowerFuncToComp (FuncOp funcOp, PatternRewriter &rewriter) const override

Additional Inherited Members

- Public Member Functions inherited from circt::calyx::FuncOpPartialLoweringPattern
 FuncOpPartialLoweringPattern (MLIRContext *context, LogicalResult &resRef, PatternApplicationState &patternState, DenseMap< mlir::func::FuncOp, calyx::ComponentOp > &map, calyx::CalyxLoweringState &state)
LogicalResult partiallyLower (mlir::func::FuncOp funcOp, PatternRewriter &rewriter) const override final
 Entry point to initialize the state of this class and conduct the partial lowering. More...
calyx::ComponentOp getComponent () const
 Returns the component operation associated with the currently executing partial lowering. More...
template<typename T = ComponentLoweringStateInterface>
T & getState () const
CalyxLoweringStateloweringState () const
 Return the calyx lowering state for this pattern. More...
virtual LogicalResult partiallyLowerFuncToComp (mlir::func::FuncOp funcOp, PatternRewriter &rewriter) const =0
- Public Member Functions inherited from circt::calyx::PartialLoweringPattern< mlir::func::FuncOp >
 PartialLoweringPattern (MLIRContext *ctx, LogicalResult &resRef, PatternApplicationState &patternState)
LogicalResult matchAndRewrite (mlir::func::FuncOp op, PatternRewriter &rewriter) const override
- Protected Attributes inherited from circt::calyx::FuncOpPartialLoweringPattern
DenseMap< mlir::func::FuncOp, calyx::ComponentOp > & functionMapping

Detailed Description

Erases FuncOp operations.

Definition at line 1370 of file LoopScheduleToCalyx.cpp.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult circt::pipelinetocalyx::CleanupFuncOps::matchAndRewrite ( FuncOp  funcOp,
PatternRewriter &  rewriter 
) const

Definition at line 1373 of file LoopScheduleToCalyx.cpp.

◆ partiallyLowerFuncToComp()

LogicalResult circt::pipelinetocalyx::CleanupFuncOps::partiallyLowerFuncToComp ( FuncOp  funcOp,
PatternRewriter &  rewriter 
) const

Definition at line 1380 of file LoopScheduleToCalyx.cpp.

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