llvm-project/mlir
Alexander Belyaev ed5363a674 [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait.
Many ops with this trait have `getBody()` and `getBodyBuilder()` methods defined in `extraClassDeclaration` in tablegen. `getBody()` implementation is the same accross all these ops, but `getBodyBuilder()` can return builders with varying insertion points set. In this PR, `getBody()` is moved into `SingleImplicitBlockTerminator` struct and `getBodyBuilder()` is replaced with `OpBuilder::atBlock(End|Terminator)(op.getBody);`.

Differential Revision: https://reviews.llvm.org/D78864
2020-04-27 21:48:52 +02:00
..
cmake/modules [MLIR] Fix MLIR_MAIN_[SRC|INCLUDE]_DIR variables 2020-04-12 09:29:07 +03:00
docs [mlir][doc] Add missing ` that breaks rendering 2020-04-27 11:25:32 -04:00
examples [mlir][NFC] Fix typo in the standalone dialect README. 2020-04-21 16:55:04 +02:00
include [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait. 2020-04-27 21:48:52 +02:00
lib [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait. 2020-04-27 21:48:52 +02:00
test [mlir][VectorOps] Extend VectorTransfer lowering to n-D memref with minor identity map 2020-04-27 11:20:55 -04:00
tools [MLIR] Propagate input side effect information 2020-04-27 11:35:52 +02:00
unittests [mlir] Optimize operand storage such that all operations can have resizable operand lists 2020-04-26 21:34:01 -07:00
utils [mlir][spirv] NFC: use Optional to replace SPV_Optional 2020-04-13 15:44:06 -04:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [MLIR] Fix MLIR_MAIN_[SRC|INCLUDE]_DIR variables 2020-04-12 09:29:07 +03: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.