1 //===- Passes.h - OpenACC Passes Construction and Registration ------------===// 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_DIALECT_OPENACC_TRANSFORMS_PASSES_H 10 #define MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H 11 12 #include "mlir/Pass/Pass.h" 13 14 namespace mlir { 15 16 namespace func { 17 class FuncOp; 18 } // namespace func 19 20 namespace acc { 21 22 #define GEN_PASS_DECL 23 #include "mlir/Dialect/OpenACC/Transforms/Passes.h.inc" 24 25 /// Generate the code for registering conversion passes. 26 #define GEN_PASS_REGISTRATION 27 #include "mlir/Dialect/OpenACC/Transforms/Passes.h.inc" 28 29 } // namespace acc 30 } // namespace mlir 31 32 #endif // MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H 33