aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CAPI/Dialects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CAPI/Dialects.cpp')
-rw-r--r--lib/CAPI/Dialects.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/CAPI/Dialects.cpp b/lib/CAPI/Dialects.cpp
new file mode 100644
index 0000000..98006e8
--- /dev/null
+++ b/lib/CAPI/Dialects.cpp
@@ -0,0 +1,15 @@
+//===- Dialects.cpp - CAPI for dialects -----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "Standalone-c/Dialects.h"
+
+#include "Standalone/StandaloneDialect.h"
+#include "mlir/CAPI/Registration.h"
+
+MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Standalone, standalone,
+ mlir::standalone::StandaloneDialect)