llvm-capstone/mlir
Andrew Gozillon f478721231 [MLIR][LLVM] Add accessor for LLVMModule and invoke convertDialectAttributes on GlobalOps
This patch seeks to do two things add an accessor method to
retrieve the ModuleTranslations contained LLVM Module for direct
usage by dialects that are being lowered to LLVM-IR. One particular
use case for this is in the OpenMP Dialect, when interfacing
with the OMPIRBuilder in certain cases it is useful to be able
to access the LLVM Module directly.

The second is invoking convertDialectAttributes on GlobalOp's
so as to be able to lower dialect specific attributes that are
applied or lowered onto GlobalOp's.

Reviewers: ftynse

Differential Revision: https://reviews.llvm.org/D149279
2023-04-27 14:51:54 -05:00
..
benchmark/python [mlir][sparse] Expose SparseTensor passes as enums instead of opaque numbers for vectorization and parallelization options. 2022-09-04 01:39:35 +00:00
cmake/modules [mlir] Don't use -z,defs on sanitizer builds 2023-03-13 14:04:31 -04:00
docs [MLIR][doc] Fix the [TOC] tag in two doc 2023-04-25 00:10:26 -07:00
examples [mlir][Affine][NFC] Wrap dialect in "affine" namespace 2023-04-20 11:19:21 +09:00
include [MLIR][LLVM] Add accessor for LLVMModule and invoke convertDialectAttributes on GlobalOps 2023-04-27 14:51:54 -05:00
lib [MLIR][LLVM] Add accessor for LLVMModule and invoke convertDialectAttributes on GlobalOps 2023-04-27 14:51:54 -05:00
python [MLIR][python bindings] Add some AttrBuilder and port _exts to use them. 2023-04-26 17:50:10 -05:00
test [MLIR][EmitC] Add empty emitc.constant check 2023-04-27 16:03:53 +00:00
tools Remove deprecated preloadDialectInContext flag for MlirOptMain that has been deprecated for 2 years 2023-04-24 14:37:31 -07:00
unittests [mlir][test] Remove unused lambda capture 'this' in UtilsTest.cpp (NFC) 2023-04-27 18:45:14 +08:00
utils Add a GDB/LLDB interface for interactive debugging of MLIR Actions 2023-04-24 14:34:15 -07:00
.clang-format
.clang-tidy [mlir] Disable misc-const-correctness clang-tidy check. 2022-08-03 10:18:43 +02:00
CMakeLists.txt Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.