llvm-project/mlir/test/Bindings/Python
Stella Laurenzo 85185b61b6 First pass on MLIR python context lifetime management.
* Per thread https://llvm.discourse.group/t/revisiting-ownership-and-lifetime-in-the-python-bindings/1769
* Reworks contexts so it is always possible to get back to a py::object that holds the reference count for an arbitrary MlirContext.
* Retrofits some of the base classes to automatically take a reference to the context, elimintating keep_alives.
* More needs to be done, as discussed, when moving on to the operations/blocks/regions.

Differential Revision: https://reviews.llvm.org/D87886
2020-09-18 12:17:50 -07:00
..
context_lifecycle.py First pass on MLIR python context lifetime management. 2020-09-18 12:17:50 -07:00
ir_attributes.py Add initial python bindings for attributes. 2020-08-23 22:16:23 -07:00
ir_location.py Add Location, Region and Block to MLIR Python bindings. 2020-08-28 15:26:05 -07:00
ir_module.py Add python bindings for Type and IntegerType. 2020-08-19 09:23:44 -07:00
ir_operation.py Add Location, Region and Block to MLIR Python bindings. 2020-08-28 15:26:05 -07:00
ir_types.py Extend PyConcreteType to support intermediate base classes. 2020-09-06 23:39:47 -07:00
lit.local.cfg