llvm-project/mlir/python/mlir
gysit e3b442b62f [mlir][OpDSL] Separate `ReduceFn` and `ReduceFnUse`.
The revision distinguishes `ReduceFn` and `ReduceFnUse`. The latter has the reduction dimensions attached while the former specifies the arithmetic function only. This separation allows us to adapt the reduction syntax a little bit and specify the reduction dimensions using square brackets (in contrast to the round brackets used for the values to reduce). It als is a preparation to add reduction function attributes to OpDSL. A reduction function attribute shall only specify the arithmetic function and not the reduction dimensions.

Example:
```
ReduceFn.max_unsigned(D.kh, D.kw)(...)
```
changes to:
```
ReduceFn.max_unsigned[D.kh, D.kw](...)
```

Depends On D115240

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D115241
2022-01-07 12:51:06 +00:00
..
_mlir_libs [mlir] Introduce Python bindings for the quantization dialect 2022-01-05 16:26:31 +01:00
all_passes_registration [mlir][python] Simplify python extension loading. 2021-09-03 00:43:28 +00:00
conversions [mlir][python] Simplify python extension loading. 2021-09-03 00:43:28 +00:00
dialects [mlir][OpDSL] Separate `ReduceFn` and `ReduceFnUse`. 2022-01-07 12:51:06 +00:00
runtime
transforms [mlir][python] Simplify python extension loading. 2021-09-03 00:43:28 +00:00
execution_engine.py [mlir][Python] Fix lifetime of ExecutionEngine runtime functions. 2021-09-28 22:32:20 +00:00
ir.py [mlir][python] Simplify python extension loading. 2021-09-03 00:43:28 +00:00
passmanager.py [mlir][python] Simplify python extension loading. 2021-09-03 00:43:28 +00:00