llvm-capstone/mlir
jfurtek 4e5dee2f30 [mlir][ods] Add tablegen field for concise printing of BitEnum attributes
This diff introduces a tablegen field for bit enum attributes
(`printBitEnumPrimaryGroups`) to control printing when the enum uses "group"
cases. An example would be an implementation that uses a `fastmath` enum value
as an alias for individual fastmath flags. The proposed field would allow
printing of simply `fast` for the enum value, instead of the more verbose list
that would include `fast` as well as the individual flags (e.g. `reassoc,nnan,
ninf,nsz,arcp,contract,afn,fast`).

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D123871
2022-04-25 18:48:35 +00:00
..
benchmark/python Revert "[mlir][sparse] Expose SpareTensor passes as enums instead of opaque numbers for vectorization and parallelization options." 2022-04-23 20:14:48 -05:00
cmake/modules Remove include_directories() from cmake mlir_tablegen() function (NFC) 2022-03-14 04:36:24 +00:00
docs [mlir] enable doc generation for the transform dialect 2022-04-21 18:52:08 +02:00
examples [mlir][NFC] Update textual references of func to func.func in examples+python scripts 2022-04-20 22:17:26 -07:00
include [mlir][ods] Add tablegen field for concise printing of BitEnum attributes 2022-04-25 18:48:35 +00:00
lib [mlir][ods] Add tablegen field for concise printing of BitEnum attributes 2022-04-25 18:48:35 +00:00
python [mlir][Linalg] Add pooling_nchw_sum op. 2022-04-08 17:57:47 +05:30
test [mlir][LLVM] Support opaque pointers in llvm.mlir.addressof 2022-04-25 12:23:16 +02:00
tools [mlir][ods] Add tablegen field for concise printing of BitEnum attributes 2022-04-25 18:48:35 +00:00
unittests [mlir][ods] Add tablegen field for concise printing of BitEnum attributes 2022-04-25 18:48:35 +00:00
utils [mlir][NFC] Update textual references of func to func.func in examples+python scripts 2022-04-20 22:17:26 -07:00
.clang-format
.clang-tidy Enable readability-redundant-smartptr-get in MLIR local clang-tidy config 2022-01-08 20:07:11 +00:00
CMakeLists.txt mlir: set CMAKE_INCLUDE_CURRENT_DIR to fix out-of-tree builds 2022-03-19 18:22:09 -05:00
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

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