MLIR-AIE
Public Member Functions | Public Attributes | List of all members
AIECoreToStandardFunc Struct Reference
+ Inheritance diagram for AIECoreToStandardFunc:
+ Collaboration diagram for AIECoreToStandardFunc:

Public Member Functions

 AIECoreToStandardFunc (MLIRContext *context, ModuleOp &m, IRMapping &mapper, DenseMap< Operation *, SmallVector< BufferOp, 4 > > &tileToBuffers, PatternBenefit benefit=1, int tileCol=1, int tileRow=1)
 
LogicalResult matchAndRewrite (CoreOp op, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override
 

Public Attributes

ModuleOp &IRMapping & mapper
 
DenseMap< Operation *, SmallVector< BufferOp, 4 > > & tileToBuffers
 
int tileCol = 0
 
int tileRow = 0
 

Detailed Description

Definition at line 472 of file AIECoreToStandard.cpp.

Constructor & Destructor Documentation

◆ AIECoreToStandardFunc()

AIECoreToStandardFunc::AIECoreToStandardFunc ( MLIRContext *  context,
ModuleOp &  m,
IRMapping &  mapper,
DenseMap< Operation *, SmallVector< BufferOp, 4 > > &  tileToBuffers,
PatternBenefit  benefit = 1,
int  tileCol = 1,
int  tileRow = 1 
)
inline

Definition at line 480 of file AIECoreToStandard.cpp.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult AIECoreToStandardFunc::matchAndRewrite ( CoreOp  op,
OpAdaptor  adaptor,
ConversionPatternRewriter &  rewriter 
) const
inlineoverride

Definition at line 488 of file AIECoreToStandard.cpp.

References xilinx::AIE::col, mapper, xilinx::AIE::row, tileCol, and tileRow.

Member Data Documentation

◆ mapper

ModuleOp& IRMapping& AIECoreToStandardFunc::mapper

Definition at line 475 of file AIECoreToStandard.cpp.

Referenced by matchAndRewrite().

◆ tileCol

int AIECoreToStandardFunc::tileCol = 0

Definition at line 477 of file AIECoreToStandard.cpp.

Referenced by matchAndRewrite().

◆ tileRow

int AIECoreToStandardFunc::tileRow = 0

Definition at line 478 of file AIECoreToStandard.cpp.

Referenced by matchAndRewrite().

◆ tileToBuffers

DenseMap<Operation *, SmallVector<BufferOp, 4> >& AIECoreToStandardFunc::tileToBuffers

Definition at line 476 of file AIECoreToStandard.cpp.


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