MLIR  19.0.0git
Namespaces | Macros | Functions
Passes.h File Reference
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/Shape/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::func
 

Macros

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

Functions

std::unique_ptr< Passmlir::createShapeToShapeLowering ()
 Creates an instance of the ShapeToShapeLowering pass that legalizes Shape dialect to be convertible to Arith. More...
 
void mlir::populateShapeRewritePatterns (RewritePatternSet &patterns)
 Collects a set of patterns to rewrite ops within the Shape dialect. More...
 
void mlir::populateRemoveShapeConstraintsPatterns (RewritePatternSet &patterns)
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createRemoveShapeConstraintsPass ()
 
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createShapeBufferizePass ()
 
std::unique_ptr< OperationPass< ModuleOp > > mlir::createOutlineShapeComputationPass ()
 Outline the shape computation part by adding shape.func and populate conrresponding mapping infomation into ShapeMappingAnalysis. More...
 

Macro Definition Documentation

◆ GEN_PASS_DECL

#define GEN_PASS_DECL

Definition at line 30 of file Passes.h.

◆ GEN_PASS_REGISTRATION

#define GEN_PASS_REGISTRATION

Generate the code for registering passes.

Definition at line 66 of file Passes.h.