MLIR 22.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
14namespace mlir {
15
16class ModuleOp;
17class Pass;
18template <typename T>
19class OperationPass;
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_
Pass to transform an operation of a specific type.
Definition Pass.h:356
The abstract base pass class.
Definition Pass.h:51
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
void populateShapeToStandardConversionPatterns(RewritePatternSet &patterns)
void populateConvertShapeConstraintsConversionPatterns(RewritePatternSet &patterns)