MLIR  17.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::vector::VectorTransformsOptions Struct Reference

Structure to control the behavior of vector transform patterns. More...

#include "mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h"

+ Inheritance diagram for mlir::vector::VectorTransformsOptions:
+ Collaboration diagram for mlir::vector::VectorTransformsOptions:

Public Member Functions

VectorTransformsOptionssetVectorTransformsOptions (VectorContractLowering opt)
 
VectorTransformsOptionssetVectorMultiReductionLowering (VectorMultiReductionLowering opt)
 
VectorTransformsOptionssetVectorTransposeLowering (VectorTransposeLowering opt)
 
VectorTransformsOptionssetVectorTransferSplit (VectorTransferSplit opt)
 

Public Attributes

VectorContractLowering vectorContractLowering = VectorContractLowering::Dot
 Option to control the lowering of vector.contract. More...
 
VectorMultiReductionLowering vectorMultiReductionLowering
 Option to control the lowering of vector.multi_reduction. More...
 
VectorTransposeLowering vectorTransposeLowering
 Option to control the lowering of vector.transpose. More...
 
VectorTransferSplit vectorTransferSplit = VectorTransferSplit::None
 Option to control the splitting of vector transfers. More...
 

Detailed Description

Structure to control the behavior of vector transform patterns.

Definition at line 30 of file VectorRewritePatterns.h.

Member Function Documentation

◆ setVectorMultiReductionLowering()

VectorTransformsOptions& mlir::vector::VectorTransformsOptions::setVectorMultiReductionLowering ( VectorMultiReductionLowering  opt)
inline

◆ setVectorTransferSplit()

VectorTransformsOptions& mlir::vector::VectorTransformsOptions::setVectorTransferSplit ( VectorTransferSplit  opt)
inline

◆ setVectorTransformsOptions()

VectorTransformsOptions& mlir::vector::VectorTransformsOptions::setVectorTransformsOptions ( VectorContractLowering  opt)
inline

◆ setVectorTransposeLowering()

VectorTransformsOptions& mlir::vector::VectorTransformsOptions::setVectorTransposeLowering ( VectorTransposeLowering  opt)
inline

Member Data Documentation

◆ vectorContractLowering

VectorContractLowering mlir::vector::VectorTransformsOptions::vectorContractLowering = VectorContractLowering::Dot

Option to control the lowering of vector.contract.

Definition at line 32 of file VectorRewritePatterns.h.

Referenced by setVectorTransformsOptions().

◆ vectorMultiReductionLowering

VectorMultiReductionLowering mlir::vector::VectorTransformsOptions::vectorMultiReductionLowering
Initial value:
=
VectorMultiReductionLowering::InnerParallel

Option to control the lowering of vector.multi_reduction.

Definition at line 39 of file VectorRewritePatterns.h.

Referenced by setVectorMultiReductionLowering().

◆ vectorTransferSplit

VectorTransferSplit mlir::vector::VectorTransformsOptions::vectorTransferSplit = VectorTransferSplit::None

Option to control the splitting of vector transfers.

Definition at line 55 of file VectorRewritePatterns.h.

Referenced by setVectorTransferSplit().

◆ vectorTransposeLowering

VectorTransposeLowering mlir::vector::VectorTransformsOptions::vectorTransposeLowering
Initial value:
=
VectorTransposeLowering::EltWise

Option to control the lowering of vector.transpose.

Definition at line 47 of file VectorRewritePatterns.h.

Referenced by setVectorTransposeLowering().


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