MLIR  15.0.0git
Namespaces | Macros | Functions
Passes.h File Reference
#include "mlir/Dialect/Linalg/Transforms/Transforms.h"
#include "mlir/Dialect/Linalg/Utils/Utils.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/Linalg/Passes.h.inc"
+ Include dependency graph for Passes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::func
 
 mlir::bufferization
 

Macros

#define GEN_PASS_REGISTRATION
 Generate the code for registering passes. More...
 

Functions

std::unique_ptr< Passmlir::createConvertElementwiseToLinalgPass ()
 
std::unique_ptr< Passmlir::createLinalgFoldUnitExtentDimsPass ()
 
std::unique_ptr< Passmlir::createLinalgElementwiseOpFusionPass ()
 
std::unique_ptr< Pass > mlir::createFoldReshapeOpsByLinearizationPass ()
 
std::unique_ptr< Passmlir::createLinalgNamedOpConversionPass ()
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgTilingPass (ArrayRef< int64_t > tileSizes={}, linalg::LinalgTilingLoopType loopType=linalg::LinalgTilingLoopType::Loops)
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgPromotionPass (bool dynamicBuffers, bool useAlloca)
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgPromotionPass ()
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgInlineScalarOperandsPass ()
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createConvertLinalgToLoopsPass ()
 Create a pass to convert Linalg operations to scf.for loops and memref.load/memref.store accesses. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createConvertLinalgToParallelLoopsPass ()
 Create a pass to convert Linalg operations to scf.parallel loops and memref.load/memref.store accesses. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createConvertLinalgToAffineLoopsPass ()
 Create a pass to convert Linalg operations to affine.for loops and affine_load/affine_store accesses. More...
 
std::unique_ptr< Passmlir::createLinalgInitTensorToAllocTensorPass ()
 Create a pass that rewrites init_tensor to alloc_tensor. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgBufferizePass ()
 Create a pass to convert Linalg operations which work on tensors to use buffers instead. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgGeneralizationPass ()
 Create a pass to convert named Linalg operations to Linalg generic operations. More...
 
std::unique_ptr< Passmlir::createLinalgDetensorizePass ()
 Create a pass to convert Linalg operations to equivalent operations that work on primitive types, if possible. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyTileAndFusePass (StringRef opName="", const linalg::LinalgTilingAndFusionOptions &opt={}, const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Linalg strategy passes. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyTilePass (StringRef opName="", const linalg::LinalgTilingOptions &opt=linalg::LinalgTilingOptions(), const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyTilePass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyPadPass (StringRef opName="", const linalg::LinalgPaddingOptions &opt=linalg::LinalgPaddingOptions(), const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyPadPass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyPromotePass (StringRef opName="", const linalg::LinalgPromotionOptions &opt=linalg::LinalgPromotionOptions(), const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyPromotePass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyGeneralizePass (StringRef opName="", const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyGeneralizePass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyDecomposePass (const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyDecomposePass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyInterchangePass (ArrayRef< int64_t > iteratorInterchange={}, const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyInterchangePass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyVectorizePass (StringRef opName="", linalg::LinalgVectorizationOptions opt=linalg::LinalgVectorizationOptions(), const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter(), bool padVectorize=false)
 Create a LinalgStrategyVectorizePass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyEnablePass (linalg::LinalgEnablingOptions opt=linalg::LinalgEnablingOptions(), const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyEnablePass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyLowerVectorsPass (linalg::LinalgVectorLoweringOptions opt=linalg::LinalgVectorLoweringOptions(), const linalg::LinalgTransformationFilter &filter=linalg::LinalgTransformationFilter())
 Create a LinalgStrategyLowerVectorsPass. More...
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createLinalgStrategyRemoveMarkersPass ()
 Create a LinalgStrategyRemoveMarkersPass. More...
 

Macro Definition Documentation

◆ GEN_PASS_REGISTRATION

#define GEN_PASS_REGISTRATION

Generate the code for registering passes.

Definition at line 162 of file Passes.h.