llvm-project/mlir/lib/CAPI
Alex Zinenko 64c0c9f015 [mlir] Expose Dialect class and registration/loading to C API
- Add a minimalist C API for mlir::Dialect.
- Allow one to query the context about registered and loaded dialects.
- Add API for loading dialects.
- Provide functions to register the Standard dialect.

When used naively, this will require to separately register each dialect. When
we have more than one exposed, we can add variadic macros that expand to
individual calls.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D88162
2020-09-29 16:30:08 +02:00
..
IR [mlir] Expose Dialect class and registration/loading to C API 2020-09-29 16:30:08 +02:00
Registration Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
Standard [mlir] Expose Dialect class and registration/loading to C API 2020-09-29 16:30:08 +02:00
CMakeLists.txt [mlir] Expose Dialect class and registration/loading to C API 2020-09-29 16:30:08 +02:00