llvm-project/mlir/lib/Bindings/Python
Aart Bik 97f15eda4f [mlir][python] Provide "all passes" registration module in Python
Currently, passes are registered on a per-dialect basis, which
provides the smallest footprint obviously. But for prototyping
and experimentation, a convenience "all passes" module is provided,
which registers all known MLIR passes in one run.

Usage in Python:

import mlir.all_passes_registration

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D103130
2021-05-26 15:14:57 -07:00
..
Conversions Add basic JIT Python Bindings 2021-03-03 18:19:40 +00:00
Transforms Add basic Python bindings for the PassManager and bind libTransforms 2020-11-10 19:55:21 +00:00
AllPassesRegistration.cpp [mlir][python] Provide "all passes" registration module in Python 2021-05-26 15:14:57 -07:00
AsyncPasses.cpp [mlir][python] Add python support for async dialect and passes. 2021-04-28 14:52:27 +00:00
CMakeLists.txt [mlir][python] Provide "all passes" registration module in Python 2021-05-26 15:14:57 -07:00
DialectLinalg.cpp [mlir][Python] Upstream the PybindAdaptors.h helpers and use it to implement sparse_tensor.encoding. 2021-05-10 17:15:43 +00:00
DialectSparseTensor.cpp [mlir][Python] Upstream the PybindAdaptors.h helpers and use it to implement sparse_tensor.encoding. 2021-05-10 17:15:43 +00:00
Dialects.h [mlir][Python] Upstream the PybindAdaptors.h helpers and use it to implement sparse_tensor.encoding. 2021-05-10 17:15:43 +00:00
ExecutionEngine.cpp [MLIR][PYTHON] Provide opt level for ExecutionEngine Python binding 2021-05-16 13:58:49 +05:30
ExecutionEngine.h Add basic JIT Python Bindings 2021-03-03 18:19:40 +00:00
GPUPasses.cpp [mlir][python] Add basic python support for GPU dialect and passes 2021-04-28 14:52:28 +00:00
Globals.h [mlir][Python] Return and accept OpView for all functions. 2020-11-03 22:48:34 -08:00
IRAffine.cpp [mlir][Python][Linalg] Add missing attributes to linalg ops 2021-04-01 08:16:50 +00:00
IRAttributes.cpp [mlir] Move PyConcreteAttribute to header. NFC. 2021-04-22 16:11:59 +02:00
IRCore.cpp [MLIR] [Python] Add Operation.parent 2021-05-23 20:52:43 -07:00
IRModule.cpp [mlir] Split out Python bindings entry point into a separate file 2021-04-29 11:18:25 +02:00
IRModule.h [mlir][python] Add `destroy` method to PyOperation. 2021-04-28 19:30:05 -06:00
IRTypes.cpp [mlir][Python] Finish adding RankedTensorType support for encoding. 2021-05-10 20:39:16 +00:00
LinalgPasses.cpp [mlir] Register Linalg passes in C API and Python Bindings 2021-03-27 09:57:56 +01:00
MainModule.cpp [mlir][Python] Upstream the PybindAdaptors.h helpers and use it to implement sparse_tensor.encoding. 2021-05-10 17:15:43 +00:00
Pass.cpp [mlir][python] Add simple debugging and printing helpers 2021-04-16 13:47:46 +00:00
Pass.h Add basic Python bindings for the PassManager and bind libTransforms 2020-11-10 19:55:21 +00:00
PybindUtils.cpp Add initial python bindings for attributes. 2020-08-23 22:16:23 -07:00
PybindUtils.h [mlir] Support setting operand values in C and Python APIs. 2021-04-27 20:17:47 -06:00
SparseTensorPasses.cpp [mlir][sparse][capi][python] add sparse tensor passes 2021-05-12 16:40:50 -07:00