llvm/mlir/tools
Stella Laurenzo 8e6c55c92c [mlir][python] Extend C/Python API to be usable for CFG construction.
* It is pretty clear that no one has tried this yet since it was both incomplete and broken.
* Fixes a symbol hiding issues keeping even the generic builder from constructing an operation with successors.
* Adds ODS support for successors.
* Adds CAPI `mlirBlockGetParentRegion`, `mlirRegionEqual` + tests (and missing test for `mlirBlockGetParentOperation`).
* Adds Python property: `Block.region`.
* Adds Python methods: `Block.create_before` and `Block.create_after`.
* Adds Python property: `InsertionPoint.block`.
* Adds new blocks.py test to verify a plausible CFG construction case.

Differential Revision: https://reviews.llvm.org/D108898
2021-08-30 08:28:00 -07:00
..
mlir-cpu-runner
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-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-spirv-cpu-runner [mlir] Fix CMake option for enabling SPIR-V CPU runner 2021-07-29 16:34:09 -04:00
mlir-tblgen [mlir][python] Extend C/Python API to be usable for CFG construction. 2021-08-30 08:28:00 -07:00
mlir-translate
mlir-vulkan-runner [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
CMakeLists.txt