diff options
author | Alex Zinenko <zinenko@google.com> | 2020-09-29 16:23:02 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-09-29 16:30:08 +0200 |
commit | 64c0c9f01511dc300b29e7a20a13958c5932e314 (patch) | |
tree | 903b26eb1b7f0a1824fb16e37a6073ac7f7e202b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 042f22bda5d3e2851205781f0b921cc810bb6dcb (diff) | |
download | llvm-64c0c9f01511dc300b29e7a20a13958c5932e314.zip llvm-64c0c9f01511dc300b29e7a20a13958c5932e314.tar.gz llvm-64c0c9f01511dc300b29e7a20a13958c5932e314.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions