llvm-project/mlir
River Riddle 0d6ebb4f0d [mlir] Refactor operation results to use a single use list for all results of the operation.
Summary: A new class is added, IRMultiObjectWithUseList, that allows for representing an IR use list that holds multiple sub values(used in this case for OpResults). This class provides all of the same functionality as the base IRObjectWithUseList, but for specific sub-values. This saves a word per operation result and is a necessary step in optimizing the layout of operation results. For now the use list is placed on the operation itself, so zero-result operations grow by a word. When the work for optimizing layout is finished, this can be moved back to being a trailing object based on memory/runtime benchmarking.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D71955
2019-12-30 20:50:07 -08:00
..
docs [mlir][spirv] Update docs regarding how to define new ops and types 2019-12-27 15:33:09 -05:00
examples NFC: Replace ValuePtr with Value and remove it now that Value is value-typed. 2019-12-23 16:36:53 -08:00
include [mlir] Refactor operation results to use a single use list for all results of the operation. 2019-12-30 20:50:07 -08:00
lib [mlir] Refactor operation results to use a single use list for all results of the operation. 2019-12-30 20:50:07 -08:00
test [mlir] Fix the wrong computation of dynamic strides for lowering AllocOp to LLVM 2019-12-28 23:33:28 +01:00
tools [mlir][spirv] Add basic definitions for supporting availability 2019-12-27 16:25:09 -05:00
unittests NFC: Replace ValuePtr with Value and remove it now that Value is value-typed. 2019-12-23 16:36:53 -08:00
utils Fix the MLIR Vim syntax file: the keyword group was missing 2019-12-26 04:50:38 +00: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] Update mlir/CMakeLists.txt to install *.td files 2019-12-29 18:05:11 +01: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.