xref: /llvm-project/mlir/examples/standalone/lib/CAPI/Dialects.cpp (revision fe6d9937b3846debfb2d97a32416064dc6c806e9)
1 //===- Dialects.cpp - CAPI for dialects -----------------------------------===//
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 "Standalone-c/Dialects.h"
10 
11 #include "Standalone/StandaloneDialect.h"
12 #include "mlir/CAPI/Registration.h"
13 
14 MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Standalone, standalone,
15                                       mlir::standalone::StandaloneDialect)
16