1 | //===-- mlir-c/Dialect/SPIRV.h - C API for SPIRV dialect ----------*- C -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM |
4 | // Exceptions. |
5 | // See https://llvm.org/LICENSE.txt for license information. |
6 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
7 | // |
8 | //===----------------------------------------------------------------------===// |
9 | |
10 | #ifndef MLIR_C_DIALECT_SPIRV_H |
11 | #define MLIR_C_DIALECT_SPIRV_H |
12 | |
13 | #include "mlir-c/IR.h" |
14 | #include "mlir-c/Support.h" |
15 | |
16 | #ifdef __cplusplus |
17 | extern "C" { |
18 | #endif |
19 | |
20 | MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(SPIRV, spirv); |
21 | |
22 | #ifdef __cplusplus |
23 | } |
24 | #endif |
25 | |
26 | #endif // MLIR_C_DIALECT_SPIRV_H |
27 | |