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

Helper structure used to hold the different options of LowerVectorsOp. More...

#include "mlir/Dialect/Vector/TransformOps/VectorTransformOps.h"

+ Inheritance diagram for mlir::vector::LowerVectorsOptions:

Public Member Functions

 LowerVectorsOptions ()
 
LowerVectorsOptionssetTransposeAVX2Lowering (bool opt)
 
LowerVectorsOptionssetUnrollVectorTransfers (bool opt)
 
LowerVectorsOptionssetVectorTransformsOptions (VectorContractLowering opt)
 Duplicate the base API of VectorTransformsOptions but return the LowerVectorsOptions type. More...
 
LowerVectorsOptionssetVectorMultiReductionLowering (VectorMultiReductionLowering opt)
 
LowerVectorsOptionssetVectorTransposeLowering (VectorTransposeLowering opt)
 
LowerVectorsOptionssetVectorTransferSplit (VectorTransferSplit opt)
 
- Public Member Functions inherited from mlir::vector::VectorTransformsOptions
VectorTransformsOptionssetVectorTransformsOptions (VectorContractLowering opt)
 
VectorTransformsOptionssetVectorMultiReductionLowering (VectorMultiReductionLowering opt)
 
VectorTransformsOptionssetVectorTransposeLowering (VectorTransposeLowering opt)
 
VectorTransformsOptionssetVectorTransferSplit (VectorTransferSplit opt)
 

Public Attributes

bool transposeAVX2Lowering = false
 
bool unrollVectorTransfers = true
 
- Public Attributes inherited from mlir::vector::VectorTransformsOptions
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

Helper structure used to hold the different options of LowerVectorsOp.

Definition at line 38 of file VectorTransformOps.h.

Constructor & Destructor Documentation

◆ LowerVectorsOptions()

mlir::vector::LowerVectorsOptions::LowerVectorsOptions ( )
inline

Member Function Documentation

◆ setTransposeAVX2Lowering()

LowerVectorsOptions& mlir::vector::LowerVectorsOptions::setTransposeAVX2Lowering ( bool  opt)
inline

Definition at line 72 of file VectorTransformOps.h.

References transposeAVX2Lowering.

◆ setUnrollVectorTransfers()

LowerVectorsOptions& mlir::vector::LowerVectorsOptions::setUnrollVectorTransfers ( bool  opt)
inline

Definition at line 78 of file VectorTransformOps.h.

References unrollVectorTransfers.

◆ setVectorMultiReductionLowering()

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

◆ setVectorTransferSplit()

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

◆ setVectorTransformsOptions()

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

Duplicate the base API of VectorTransformsOptions but return the LowerVectorsOptions type.

This allows to really set up the different options in any order via chained setXXX calls.

Definition at line 51 of file VectorTransformOps.h.

References mlir::vector::VectorTransformsOptions::setVectorTransformsOptions().

Referenced by LowerVectorsOptions().

◆ setVectorTransposeLowering()

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

Member Data Documentation

◆ transposeAVX2Lowering

bool mlir::vector::LowerVectorsOptions::transposeAVX2Lowering = false

Definition at line 71 of file VectorTransformOps.h.

Referenced by setTransposeAVX2Lowering().

◆ unrollVectorTransfers

bool mlir::vector::LowerVectorsOptions::unrollVectorTransfers = true

Definition at line 77 of file VectorTransformOps.h.

Referenced by setUnrollVectorTransfers().


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