xref: /llvm-project/mlir/lib/CAPI/Dialect/SPIRV.cpp (revision 2292fd0129362865d07777329fa38850d7a642a3)
1 //===- SPIRV.cpp - C Interface for SPIRV dialect --------------------------===//
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 #include "mlir-c/Dialect/SPIRV.h"
10 #include "mlir/CAPI/Registration.h"
11 #include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
12 
13 MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(SPIRV, spirv, mlir::spirv::SPIRVDialect)
14