llvm-project/mlir/test/Bindings/Python
zhanghb97 77133b29b9 [mlir] Get array from the dense elements attribute with buffer protocol.
- Add `mlirElementsAttrGetType` C API.
- Add `def_buffer` binding to PyDenseElementsAttribute.
- Implement the protocol to access the buffer.

Differential Revision: https://reviews.llvm.org/D91021
2020-11-18 15:50:59 +08:00
..
dialects [mlir] ODS-backed python binding generator for custom op classes 2020-11-10 10:58:29 +01:00
context_lifecycle.py Adds MLIR C-API for marshaling Python capsules. 2020-09-29 10:48:53 -07:00
context_managers.py [mlir][Python] Context managers for Context, InsertionPoint, Location. 2020-11-01 19:00:39 -08:00
dialects.py [mlir] Generate Op builders for Python bindings 2020-11-12 11:29:23 +01:00
insertion_point.py [mlir][Python] Context managers for Context, InsertionPoint, Location. 2020-11-01 19:00:39 -08:00
ir_array_attributes.py [mlir] Get array from the dense elements attribute with buffer protocol. 2020-11-18 15:50:59 +08:00
ir_attributes.py [mlir] Add initial Python bindings for DenseInt/FPElementsAttr 2020-11-09 15:23:54 +01:00
ir_location.py [mlir][Python] Context managers for Context, InsertionPoint, Location. 2020-11-01 19:00:39 -08:00
ir_module.py Fix python bindings tests after change in visibility requirement for symbol declarations 2020-11-17 04:09:35 +00:00
ir_operation.py [mlir] Fix Python tests after "module_terminator" migrated to ODS 2020-11-17 14:16:31 +01:00
ir_types.py [mlir][Python] Context managers for Context, InsertionPoint, Location. 2020-11-01 19:00:39 -08:00
lit.local.cfg
pass_manager.py Disable implicit nesting on parsing textual pass pipeline 2020-11-11 19:21:51 +00:00