CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::scftocalyx::BuildForGroups Class Reference

In BuildForGroups, a register is created for the iteration argument of the for op. More...

Inheritance diagram for circt::scftocalyx::BuildForGroups:
Collaboration diagram for circt::scftocalyx::BuildForGroups:

Private Member Functions

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.
calyx::ComponentOp getComponent () const
 Returns the component operation associated with the currently executing partial lowering.
template<typename T = ComponentLoweringStateInterface>
T & getState () const
CalyxLoweringState & loweringState () const
 Return the calyx lowering state for this pattern.
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

In BuildForGroups, a register is created for the iteration argument of the for op.

This register is then initialized to the lowerBound of the for loop in a group that executes the for loop.

Definition at line 2101 of file SCFToCalyx.cpp.

Member Function Documentation

◆ partiallyLowerFuncToComp()


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