1 | //===- Passes.h - Linalg pass entry points ----------------------*- C++ -*-===// |
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 | // This header file defines prototypes that expose pass constructors. |
10 | // |
11 | //===----------------------------------------------------------------------===// |
12 | |
13 | #ifndef MLIR_DIALECT_LINALG_PASSES_H_ |
14 | #define MLIR_DIALECT_LINALG_PASSES_H_ |
15 | |
16 | #include "mlir/Dialect/Linalg/Transforms/Transforms.h" |
17 | #include "mlir/Dialect/Linalg/Utils/Utils.h" |
18 | #include "mlir/Pass/Pass.h" |
19 | |
20 | namespace mlir { |
21 | namespace func { |
22 | class FuncOp; |
23 | } // namespace func |
24 | |
25 | namespace bufferization { |
26 | struct OneShotBufferizationOptions; |
27 | } // namespace bufferization |
28 | |
29 | #define GEN_PASS_DECL |
30 | #include "mlir/Dialect/Linalg/Passes.h.inc" // IWYU pragma: keep |
31 | |
32 | //===----------------------------------------------------------------------===// |
33 | // Registration |
34 | //===----------------------------------------------------------------------===// |
35 | |
36 | /// Generate the code for registering passes. |
37 | #define GEN_PASS_REGISTRATION |
38 | #include "mlir/Dialect/Linalg/Passes.h.inc" |
39 | |
40 | } // namespace mlir |
41 | |
42 | #endif // MLIR_DIALECT_LINALG_PASSES_H_ |
43 | |