llvm-project/mlir/lib/Bindings/Python
zhanghb97 1f6c4d829c [mlir] Add Index Type, Floating Point Type and None Type subclasses to python bindings.
Based on the PyType and PyConcreteType classes, this patch implements the bindings of Index Type, Floating Point Type and None Type subclasses.
These three subclasses share the same binding strategy:
- The function pointer `isaFunction` points to `mlirTypeIsA***`.
- The `mlir***TypeGet` C API is bound with the `***Type` constructor in the python side.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D86466
2020-08-24 18:54:54 +00:00
..
mlir
CMakeLists.txt Adds __str__ support to python mlir.ir.MlirModule. 2020-08-17 09:46:33 -07:00
IRModules.cpp [mlir] Add Index Type, Floating Point Type and None Type subclasses to python bindings. 2020-08-24 18:54:54 +00:00
IRModules.h Add initial python bindings for attributes. 2020-08-23 22:16:23 -07:00
MainModule.cpp Adds __str__ support to python mlir.ir.MlirModule. 2020-08-17 09:46:33 -07:00
PybindUtils.cpp Add initial python bindings for attributes. 2020-08-23 22:16:23 -07:00
PybindUtils.h Add initial python bindings for attributes. 2020-08-23 22:16:23 -07:00
unix_version.lds