llvm-project/mlir/lib/CAPI/IR
Tobias Gysi 31f888ea9a [mlir][linalg][python] Add attribute support to the OpDSL.
Extend the OpDSL with index attributes. After tensors and scalars, index attributes are the third operand type. An index attribute represents a compile-time constant that is limited to index expressions. A use cases are the strides and dilations defined by convolution and pooling operations.

The patch only updates the OpDSL. The C++ yaml codegen is updated by a followup patch.

Differential Revision: https://reviews.llvm.org/D104711
2021-06-24 09:40:32 +00:00
..
AffineExpr.cpp [mlir] Add Python bindings for AffineExpr 2021-01-11 19:57:13 +01:00
AffineMap.cpp [mlir][linalg][python] Add attribute support to the OpDSL. 2021-06-24 09:40:32 +00:00
BuiltinAttributes.cpp [Core] Add Twine support for StringAttr and Identifier. NFC. 2021-06-08 09:47:07 -07:00
BuiltinTypes.cpp [mlir][Python] Finish adding RankedTensorType support for encoding. 2021-05-10 20:39:16 +00:00
CMakeLists.txt [MLIR] Replace dialect registration hooks with dialect handle 2021-02-09 09:02:16 -08:00
Diagnostics.cpp Add userData to the diagnostic handler C API 2020-11-23 09:52:45 -08:00
DialectHandle.cpp [MLIR] Replace dialect registration hooks with dialect handle 2021-02-09 09:02:16 -08:00
IR.cpp Surface clone APIs in CAPI 2021-05-24 11:53:00 -07:00
IntegerSet.cpp [mlir] Add C API for IntegerSet 2021-01-25 20:16:22 +01:00
Pass.cpp [mlir][python] Add simple debugging and printing helpers 2021-04-16 13:47:46 +00:00
Support.cpp [mlir] Model StringRef in C API 2020-09-16 16:04:36 +02:00