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

Public Member Functions

 LowerVectorContractionOpToAIEVecMatMulPattern (MLIRContext *context, bool matMoveToAcc=true)
 
Value reshapeLeadingUnitDims (OpBuilder &b, Value v) const
 
LogicalResult matchAndRewrite (vector::ContractionOp contractOp, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override
 

Public Attributes

bool matMoveToAcc
 

Detailed Description

Definition at line 2892 of file VectorToAIEVecConversions.cpp.

Constructor & Destructor Documentation

◆ LowerVectorContractionOpToAIEVecMatMulPattern()

LowerVectorContractionOpToAIEVecMatMulPattern::LowerVectorContractionOpToAIEVecMatMulPattern ( MLIRContext *  context,
bool  matMoveToAcc = true 
)
inline

Definition at line 2896 of file VectorToAIEVecConversions.cpp.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult LowerVectorContractionOpToAIEVecMatMulPattern::matchAndRewrite ( vector::ContractionOp  contractOp,
OpAdaptor  adaptor,
ConversionPatternRewriter &  rewriter 
) const
inlineoverride

Definition at line 2920 of file VectorToAIEVecConversions.cpp.

References matMoveToAcc, and reshapeLeadingUnitDims().

◆ reshapeLeadingUnitDims()

Value LowerVectorContractionOpToAIEVecMatMulPattern::reshapeLeadingUnitDims ( OpBuilder &  b,
Value  v 
) const
inline

Definition at line 2900 of file VectorToAIEVecConversions.cpp.

Referenced by matchAndRewrite().

Member Data Documentation

◆ matMoveToAcc

bool LowerVectorContractionOpToAIEVecMatMulPattern::matMoveToAcc

Definition at line 2972 of file VectorToAIEVecConversions.cpp.

Referenced by matchAndRewrite().


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