llvm-project/mlir
jfurtek c4caa90b15 [mlir][tblgen] Generate builders with inferred return types and unwrapped attributes
This diff causes mlir-tblgen to generate code for an additional builder for an
operation argument with a return type that can be inferred *AND* an attribute in
the argument list can be "unwrapped." (Previously, the unwrapped build function
was only generated for builders with explicit return types in separate or
aggregate form.) As an example, this builder might be used by code that creates
operations that implement the `SameOperandsAndResultType` interface. A test case
was created.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D124043
2022-04-25 19:00:44 +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][tblgen] Generate builders with inferred return types and unwrapped attributes 2022-04-25 19:00:44 +00: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] Extend the EnumAttr tablegen class to support BitEnum attributes 2022-04-25 19:00:00 +00:00
lib [mlir][ods] Extend the EnumAttr tablegen class to support BitEnum attributes 2022-04-25 19:00:00 +00:00
python [mlir][Linalg] Add pooling_nchw_sum op. 2022-04-08 17:57:47 +05:30
test [mlir][tblgen] Generate builders with inferred return types and unwrapped attributes 2022-04-25 19:00:44 +00:00
tools [mlir][tblgen] Generate builders with inferred return types and unwrapped attributes 2022-04-25 19:00:44 +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
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

README.md

Multi-Level Intermediate Representation

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