| 1 | //===- Passes.h - Reducer Pass Construction and Registration ----*- 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 | #ifndef MLIR_REDUCER_PASSES_H |
| 9 | #define MLIR_REDUCER_PASSES_H |
| 10 | |
| 11 | #include "mlir/Pass/Pass.h" |
| 12 | |
| 13 | namespace mlir { |
| 14 | |
| 15 | #define GEN_PASS_DECL |
| 16 | #include "mlir/Reducer/Passes.h.inc" |
| 17 | |
| 18 | /// Generate the code for registering reducer passes. |
| 19 | #define GEN_PASS_REGISTRATION |
| 20 | #include "mlir/Reducer/Passes.h.inc" |
| 21 | |
| 22 | } // namespace mlir |
| 23 | |
| 24 | #endif // MLIR_REDUCER_PASSES_H |
| 25 | |