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