llvm-project/mlir/include/mlir-c
Stella Laurenzo 74a58ec9c2 [mlir][CAPI][Python] Plumb OpPrintingFlags to C and Python APIs.
* Adds a new MlirOpPrintingFlags type and supporting accessors.
* Adds a new mlirOperationPrintWithFlags function.
* Adds a full featured python Operation.print method with all options and the ability to print directly to files/stdout in text or binary.
* Adds an Operation.get_asm which delegates to print and returns a str or bytes.
* Reworks Operation.__str__ to be based on get_asm.

Differential Revision: https://reviews.llvm.org/D89848
2020-10-21 12:14:06 -07:00
..
Bindings/Python [mlir][Python] Add missing capsule->module and Context.create_module. 2020-10-13 13:10:33 -07:00
AffineMap.h [mlir] expose affine map to C API 2020-09-17 09:50:45 +08:00
Core.h [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
Diagnostics.h [mlir] Add support for diagnostics in C API. 2020-10-07 14:42:02 +02:00
IR.h [mlir][CAPI][Python] Plumb OpPrintingFlags to C and Python APIs. 2020-10-21 12:14:06 -07:00
Registration.h Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
StandardAttributes.h [mlir][CAPI] Add mlirAttributeGetType function. 2020-10-15 18:33:50 -07:00
StandardDialect.h [mlir] Expose Dialect class and registration/loading to C API 2020-09-29 16:30:08 +02:00
StandardTypes.h Add FunctionType to MLIR C and Python bindings. 2020-09-28 09:56:48 -07:00
Support.h [mlir] Add support for diagnostics in C API. 2020-10-07 14:42:02 +02:00