CIRCT  19.0.0git
Private Member Functions | List of all members
circt::calyx::BuildCallInstance Class Reference

Builds instance for the calyx.invoke and calyx.group in order to initialize the instance. More...

#include <CalyxLoweringUtils.h>

Inheritance diagram for circt::calyx::BuildCallInstance:
Inheritance graph
[legend]
Collaboration diagram for circt::calyx::BuildCallInstance:
Collaboration graph
[legend]

Private Member Functions

LogicalResult partiallyLowerFuncToComp (mlir::func::FuncOp funcOp, PatternRewriter &rewriter) const override
 
ComponentOp getCallComponent (mlir::func::CallOp callOp) const
 
 FuncOpPartialLoweringPattern (MLIRContext *context, LogicalResult &resRef, PatternApplicationState &patternState, DenseMap< mlir::func::FuncOp, calyx::ComponentOp > &map, calyx::CalyxLoweringState &state)
 

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...
 
- 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 instance for the calyx.invoke and calyx.group in order to initialize the instance.

Definition at line 748 of file CalyxLoweringUtils.h.

Member Function Documentation

◆ FuncOpPartialLoweringPattern()

circt::calyx::FuncOpPartialLoweringPattern::FuncOpPartialLoweringPattern
private

Definition at line 586 of file CalyxLoweringUtils.cpp.

◆ getCallComponent()

ComponentOp circt::calyx::BuildCallInstance::getCallComponent ( mlir::func::CallOp  callOp) const
private

◆ partiallyLowerFuncToComp()

LogicalResult circt::calyx::BuildCallInstance::partiallyLowerFuncToComp ( mlir::func::FuncOp  funcOp,
PatternRewriter &  rewriter 
) const
overrideprivatevirtual

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