MLIR  21.0.0git
ShapeToStandard.h
Go to the documentation of this file.
1 //===- ShapeToStandard.h - Conversion utils from shape to std dialect -----===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef MLIR_CONVERSION_SHAPETOSTANDARD_SHAPETOSTANDARD_H_
10 #define MLIR_CONVERSION_SHAPETOSTANDARD_SHAPETOSTANDARD_H_
11 
12 #include <memory>
13 
14 namespace mlir {
15 
16 class ModuleOp;
17 class Pass;
18 template <typename T>
19 class OperationPass;
20 class RewritePatternSet;
21 
22 #define GEN_PASS_DECL_CONVERTSHAPECONSTRAINTSPASS
23 #define GEN_PASS_DECL_CONVERTSHAPETOSTANDARDPASS
24 #include "mlir/Conversion/Passes.h.inc"
25 
27 
29  RewritePatternSet &patterns);
30 
31 } // namespace mlir
32 
33 #endif // MLIR_CONVERSION_SHAPETOSTANDARD_SHAPETOSTANDARD_H_
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
void populateShapeToStandardConversionPatterns(RewritePatternSet &patterns)
void populateConvertShapeConstraintsConversionPatterns(RewritePatternSet &patterns)