llvm-project/mlir/tools
Mogball cb8c30d35d [DRR] Explicit Return Types in Rewrites
Adds a new rewrite directive returnType that can be added at the end of an op's
argument list to explicitly specify return types.

```
(OpX $v0, $v1, (returnType "$_builder.getI32Type()"))
```

Pass in a bound value to copy its return type, or pass a native code call to
dynamically create new types.

```
(OpX $v0, $v1, (returnType $v0, (NativeCodeCall<"..."> $v1)))
```

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D109472
2021-09-15 14:25:29 -07:00
..
mlir-cpu-runner [mlir][Standard] NFC - Drop remaining EDSC usage 2021-05-21 10:40:39 +00:00
mlir-linalg-ods-gen [mlir][Linalg] Allow all build methods of Structured ops to specify additional attributes. 2021-08-23 13:06:34 -07:00
mlir-lsp-server [mlir][Standard] NFC - Drop remaining EDSC usage 2021-05-21 10:40:39 +00:00
mlir-opt [mlir]Linalg] Allow controlling fusion of linalg.generic -> linalg.tensor_expand_shape. 2021-08-23 16:28:10 -07:00
mlir-reduce [MLIR] Move TestDialect to ::test namespace 2021-08-14 13:24:41 -07:00
mlir-shlib [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
mlir-spirv-cpu-runner [mlir] Fix CMake option for enabling SPIR-V CPU runner 2021-07-29 16:34:09 -04:00
mlir-tblgen [DRR] Explicit Return Types in Rewrites 2021-09-15 14:25:29 -07:00
mlir-translate Revert "[RFC] Factor out repetitive cmake patterns for llvm-style projects" 2020-10-04 15:17:34 -07:00
mlir-vulkan-runner [mlir] Factor type reconciliation out of Standard-to-LLVM conversion 2021-09-09 16:51:24 +02:00
CMakeLists.txt [mlir][mlir-lsp] Add a new C++ LSP server for MLIR named mlir-lsp-server 2021-04-21 14:44:37 -07:00