| 1 | //===- Passes.h - GPU XeVM pass entrypoints ---------------------*- 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 of the XeVM-specific GPU passes and |
| 10 | // patterns. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef MLIR_DIALECT_GPU_TRANSFORMS_XEVM_PASSES_H_ |
| 15 | #define MLIR_DIALECT_GPU_TRANSFORMS_XEVM_PASSES_H_ |
| 16 | |
| 17 | #include "mlir/Pass/Pass.h" |
| 18 | |
| 19 | namespace mlir { |
| 20 | #define GEN_PASS_DECL |
| 21 | #include "mlir/Dialect/GPU/Transforms/XeVM/Passes.h.inc" |
| 22 | |
| 23 | /// Generate the code for registering passes. |
| 24 | #define GEN_PASS_REGISTRATION |
| 25 | #include "mlir/Dialect/GPU/Transforms/XeVM/Passes.h.inc" |
| 26 | } // namespace mlir |
| 27 | |
| 28 | #endif // MLIR_DIALECT_GPU_TRANSFORMS_XEVM_PASSES_H_ |
| 29 | |