llvm/mlir/lib/CAPI
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
..
Conversion
Debug
Dialect Add more types to the LLVM dialect C API 2021-07-13 14:35:50 -07:00
ExecutionEngine [MLIR] Execution engine python binding support for shared libraries 2021-06-12 05:46:38 +05:30
IR [mlir][python] Extend C/Python API to be usable for CFG construction. 2021-08-30 08:28:00 -07:00
Registration
Transforms
CMakeLists.txt Remove libMLIRPublicAPI DSO. 2021-07-20 17:58:28 -07:00