llvm-project/mlir/lib
Alex Zinenko 4acd8457d8 [mlir] Improve debug flag management in Python bindings
Expose the debug flag as a readable and assignable property of a
dedicated class instead of a write-only function. Actually test the fact
of setting the flag. Move test to a dedicated file, it has zero relation
to context_managers.py where it was added.

Arguably, it should be promoted from mlir.ir to mlir module, but we are
not re-exporting the latter and this functionality is purposefully
hidden so can stay in IR for now. Drop unnecessary export code.

Refactor C API and put Debug into a separate library, fix it to actually
set the flag to the given value.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D100757
2021-04-19 14:45:43 +02:00
..
Analysis [mlir][NFC] Add a using directive for llvm::SetVector 2021-04-15 16:09:34 -07:00
Bindings [mlir] Improve debug flag management in Python bindings 2021-04-19 14:45:43 +02:00
CAPI [mlir] Improve debug flag management in Python bindings 2021-04-19 14:45:43 +02:00
Conversion [mlir][ArmSVE] Cleanup dialect registration 2021-04-16 15:56:51 +02:00
Dialect [mlir][linalg] adding pass to run the interchange pattern. 2021-04-19 12:19:15 +00:00
EDSC [mlir][IR] Remove the concept of `OperationProperties` 2021-02-09 12:00:15 -08:00
ExecutionEngine [mlir][sparse] support integral types i32,i16,i8 for *numerical* values 2021-04-07 10:01:37 -07:00
IR [MLIR] Fix `isValidIndex` 2021-04-16 14:58:54 +02:00
Interfaces Add default DataLayout support for complex numbers 2021-04-19 11:36:12 +02:00
Parser Expose parseXInDimensionList() to the `DialectAsmParser` 2021-04-14 02:07:34 +00:00
Pass [mlir] Tune error message for assertion. 2021-03-22 18:10:18 -07:00
Reducer Refactor the architecture of mlir-reduce 2021-04-14 13:40:44 -07:00
Rewrite [mlir][Pattern] Add better support for using interfaces/traits to match root operations in rewrite patterns 2021-03-23 14:05:33 -07:00
Support [mlir][StorageUniquer] Properly call the destructor on non-trivially destructible storage instances 2021-03-11 11:35:32 -08:00
TableGen [mlir] Add support for adding attribute+type traits/interfaces to tablegen defs 2021-04-15 11:41:51 -07:00
Target [OpenMP IRBuilder, MLIR] Add support for OpenMP do schedule dynamic 2021-04-16 16:09:49 +01:00
Transforms [mlir][NFC] Add a using directive for llvm::SetVector 2021-04-15 16:09:34 -07:00
Translation [mlir] avoid exposing mutable DialectRegistry from MLIRContext 2021-02-10 12:07:34 +01:00
CMakeLists.txt [mlir][NFC] Move around the code related to PatternRewriting to improve layering 2020-10-26 18:01:06 -07:00