| //===- Passes.h - Linalg pass entry points ----------------------*- C++ -*-===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| // |
| // This header file defines prototypes that expose pass constructors. |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef MLIR_DIALECT_LINALG_PASSES_H_ |
| #define MLIR_DIALECT_LINALG_PASSES_H_ |
| |
| #include "mlir/Dialect/Linalg/Transforms/Transforms.h" |
| #include "mlir/Dialect/Linalg/Utils/Utils.h" |
| #include "mlir/Pass/Pass.h" |
| |
| namespace mlir { |
| namespace func { |
| class FuncOp; |
| } // namespace func |
| |
| namespace bufferization { |
| struct OneShotBufferizationOptions; |
| } // namespace bufferization |
| |
| #define GEN_PASS_DECL |
| #include "mlir/Dialect/Linalg/Passes.h.inc" // IWYU pragma: keep |
| |
| //===----------------------------------------------------------------------===// |
| // Registration |
| //===----------------------------------------------------------------------===// |
| |
| /// Generate the code for registering passes. |
| #define GEN_PASS_REGISTRATION |
| #include "mlir/Dialect/Linalg/Passes.h.inc" |
| |
| } // namespace mlir |
| |
| #endif // MLIR_DIALECT_LINALG_PASSES_H_ |