CIRCT  18.0.0git
Private Member Functions | List of all members
circt::pipelinetocalyx::BuildPipelineGroups Class Reference

Builds groups for assigning registers for pipeline stages. More...

Inheritance diagram for circt::pipelinetocalyx::BuildPipelineGroups:
Inheritance graph
[legend]
Collaboration diagram for circt::pipelinetocalyx::BuildPipelineGroups:
Collaboration graph
[legend]

Private Member Functions

LogicalResult partiallyLowerFuncToComp (FuncOp funcOp, PatternRewriter &rewriter) const override
 
LogicalResult buildStageGroups (LoopSchedulePipelineOp whileOp, LoopSchedulePipelineStageOp stage, PatternRewriter &rewriter) const
 
calyx::GroupOp convertCombToSeqGroup (calyx::CombGroupOp combGroup, calyx::RegisterOp pipelineRegister, Value value, PatternRewriter &rewriter) const
 
calyx::GroupOp replaceGroupRegister (calyx::GroupInterface evaluatingGroup, calyx::RegisterOp pipelineRegister, PatternRewriter &rewriter) const
 

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

Builds groups for assigning registers for pipeline stages.

Definition at line 984 of file LoopScheduleToCalyx.cpp.

Member Function Documentation

◆ buildStageGroups()

LogicalResult circt::pipelinetocalyx::BuildPipelineGroups::buildStageGroups ( LoopSchedulePipelineOp  whileOp,
LoopSchedulePipelineStageOp  stage,
PatternRewriter &  rewriter 
) const
inlineprivate

Definition at line 999 of file LoopScheduleToCalyx.cpp.

References assert(), and value.

◆ convertCombToSeqGroup()

calyx::GroupOp circt::pipelinetocalyx::BuildPipelineGroups::convertCombToSeqGroup ( calyx::CombGroupOp  combGroup,
calyx::RegisterOp  pipelineRegister,
Value  value,
PatternRewriter &  rewriter 
) const
inlineprivate

◆ partiallyLowerFuncToComp()

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

Definition at line 988 of file LoopScheduleToCalyx.cpp.

◆ replaceGroupRegister()

calyx::GroupOp circt::pipelinetocalyx::BuildPipelineGroups::replaceGroupRegister ( calyx::GroupInterface  evaluatingGroup,
calyx::RegisterOp  pipelineRegister,
PatternRewriter &  rewriter 
) const
inlineprivate

Definition at line 1115 of file LoopScheduleToCalyx.cpp.


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