llvm-project/mlir
Alex Zinenko eb67bd78dc [mlir] LLVM dialect: Generate conversions between EnumAttrCase and LLVM API
Summary:
MLIR materializes various enumeration-based LLVM IR operands as enumeration
attributes using ODS. This requires bidirectional conversion between different
but very similar enums, currently hardcoded. Extend the ODS modeling of
LLVM-specific enumeration attributes to include the name of the corresponding
enum in the LLVM C++ API as well as the names of specific enumerants. Use this
new information to automatically generate the conversion functions between enum
attributes and LLVM API enums in the two-way conversion between the LLVM
dialect and LLVM IR proper.

Differential Revision: https://reviews.llvm.org/D73468
2020-01-30 21:54:56 +01:00
..
cmake/modules [mlir] Revert MSVC specific part of whole_archive_link 2020-01-25 09:56:04 -08:00
docs [MLIR] Add the sqrt operation to mlir. 2020-01-30 08:07:38 -08:00
examples Fix conversions in clang and examples 2020-01-29 02:48:15 +01:00
include [mlir] LLVM dialect: Generate conversions between EnumAttrCase and LLVM API 2020-01-30 21:54:56 +01:00
lib [mlir] LLVM dialect: Generate conversions between EnumAttrCase and LLVM API 2020-01-30 21:54:56 +01:00
test [mlir][NFC] Update several SPIRV operations to use declarative parsers. 2020-01-30 11:43:41 -08:00
tools [mlir] LLVM dialect: Generate conversions between EnumAttrCase and LLVM API 2020-01-30 21:54:56 +01:00
unittests [mlir] EnumsGen: dissociate string form of integer enum from C++ symbol name 2020-01-30 17:04:00 +01:00
utils [mlir][spirv] Support implied extensions and capabilities 2020-01-17 08:01:57 -05:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.clang-tidy Add a clang-tidy configuration file for MLIR, it is using camelBack for naming at the moment 2019-12-26 21:42:01 +00:00
CMakeLists.txt [mlir] Bootstrap doxygen config 2020-01-25 09:31:59 -08:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

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