llvm-project/mlir
Nicolas Vasilache 5bb8d28e61 [mlir][Linalg] Add tensor support to Linalg EDSC Builders
Summary:
This diff extends the Linalg EDSC builders so we can easily create mixed
tensor/buffer linalg.generic ops. This is expected to be useful for
HLO -> Linalg lowering.

The StructuredIndexed struct is made to derive from ValueHandle and can
now capture a type + indexing expressions. This is used to represent return
tensors.

Pointwise unary and binary builders are extended to allow both output buffers
and return tensors. This has implications on the number of region arguments.

Reviewers: ftynse, hanchung, asaadaldien

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73149
2020-01-22 16:57:27 -05:00
..
cmake/modules [Flang] add some cmake code to allow for out-of-tree building of MLIR and LLVM 2020-01-22 17:43:15 +00:00
docs [mlir] Enable specifying verify on OpInterface 2020-01-22 04:43:22 -08:00
examples [MLIR] Fix broken link locations after move to monorepo 2020-01-14 07:15:02 +00:00
include [mlir][Linalg] Add tensor support to Linalg EDSC Builders 2020-01-22 16:57:27 -05:00
lib [mlir][Linalg] Add tensor support to Linalg EDSC Builders 2020-01-22 16:57:27 -05:00
test [mlir][Linalg] Add tensor support to Linalg EDSC Builders 2020-01-22 16:57:27 -05:00
tools [mlir] Swap use of to_vector() with lookupValues() in LLVMIRIntrinsicGen 2020-01-22 07:56:24 -08:00
unittests [mlir] Use getDenseElementBitwidth instead of Type::getElementTypeBitWidth. 2020-01-09 14:51:44 -08: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 [Flang] add some cmake code to allow for out-of-tree building of MLIR and LLVM 2020-01-22 17:43:15 +00: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.