1 | //===- SPIRVToLLVMPass.h - SPIR-V to LLVM Passes ----------------*- 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 | // Provides passes to convert SPIR-V dialect to LLVM dialect. |
10 | // |
11 | //===----------------------------------------------------------------------===// |
12 | |
13 | #ifndef MLIR_CONVERSION_SPIRVTOLLVM_SPIRVTOLLVMPASS_H |
14 | #define MLIR_CONVERSION_SPIRVTOLLVM_SPIRVTOLLVMPASS_H |
15 | |
16 | #include <memory> |
17 | |
18 | #include "mlir/Dialect/SPIRV/IR/SPIRVEnums.h" |
19 | |
20 | namespace mlir { |
21 | class Pass; |
22 | |
23 | #define GEN_PASS_DECL_LOWERHOSTCODETOLLVMPASS |
24 | #define GEN_PASS_DECL_CONVERTSPIRVTOLLVMPASS |
25 | #include "mlir/Conversion/Passes.h.inc" |
26 | |
27 | } // namespace mlir |
28 | |
29 | #endif // MLIR_CONVERSION_SPIRVTOLLVM_SPIRVTOLLVMPASS_H |
30 | |