llvm-project/mlir
Stella Laurenzo c645ea5e29 Add InsertionPoint and context managers to the Python API.
* Removes index based insertion. All insertion now happens through the insertion point.
* Introduces thread local context managers for implicit creation relative to an insertion point.
* Introduces (but does not yet use) binding the Context to the thread local context stack. Intent is to refactor all methods to take context optionally and have them use the default if available.
* Adds C APIs for mlirOperationGetParentOperation(), mlirOperationGetBlock() and mlirBlockGetTerminator().
* Removes an assert in PyOperation creation that was incorrectly constraining. There is already a TODO to rework the keepAlive field that it was guarding and without the assert, it is no worse than the current state.

Differential Revision: https://reviews.llvm.org/D90368
2020-10-29 17:50:13 -07:00
..
cmake/modules [MLIR] Add support for defining Types in tblgen 2020-10-14 00:32:18 +00:00
docs [mlir][Inliner] Add a `wouldBeCloned` flag to each of the `isLegalToInline` hooks. 2020-10-28 21:49:28 -07:00
examples [mlir][Inliner] Add a `wouldBeCloned` flag to each of the `isLegalToInline` hooks. 2020-10-28 21:49:28 -07:00
include Add InsertionPoint and context managers to the Python API. 2020-10-29 17:50:13 -07:00
integration_test [mlir][vector] Improve vector distribute integration test and fix block distribution 2020-10-29 14:54:53 -07:00
lib Add InsertionPoint and context managers to the Python API. 2020-10-29 17:50:13 -07:00
test Add InsertionPoint and context managers to the Python API. 2020-10-29 17:50:13 -07:00
tools [mlir][Linalg] Make Linalg fusion a test pass 2020-10-29 15:18:51 +00:00
unittests Remove global dialect registration 2020-10-24 00:35:55 +00:00
utils [mlir] Fix TypeID lookup in GDB pretty printers. 2020-10-27 07:12:32 +01:00
.clang-format
.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][mlir-spirv-cpu-runner] A SPIR-V cpu runner prototype 2020-10-26 09:09:29 -04: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.