llvm-project/mlir/lib/CAPI/IR
zhanghb97 77133b29b9 [mlir] Get array from the dense elements attribute with buffer protocol.
- Add `mlirElementsAttrGetType` C API.
- Add `def_buffer` binding to PyDenseElementsAttribute.
- Implement the protocol to access the buffer.

Differential Revision: https://reviews.llvm.org/D91021
2020-11-18 15:50:59 +08:00
..
AffineExpr.cpp Switch from C-style comments `/* ... */` to C++ style `//` (NFC) 2020-11-04 18:11:13 +00:00
AffineMap.cpp Switch the CallbackOstream wrapper in the MLIR C API to an Unbuffered stream 2020-11-04 06:36:32 +00:00
CMakeLists.txt [mlir][CAPI] Proposal: Always building a libMLIRPublicAPI.so (re-apply). 2020-11-08 16:57:51 -08:00
Diagnostics.cpp Switch the CallbackOstream wrapper in the MLIR C API to an Unbuffered stream 2020-11-04 06:36:32 +00:00
IR.cpp [mlir][NFC] Remove references to Module.h and Function.h 2020-11-17 00:55:47 -08:00
Pass.cpp Switch from C-style comments `/* ... */` to C++ style `//` (NFC) 2020-11-04 18:11:13 +00:00
StandardAttributes.cpp [mlir] Get array from the dense elements attribute with buffer protocol. 2020-11-18 15:50:59 +08:00
StandardTypes.cpp Switch from C-style comments `/* ... */` to C++ style `//` (NFC) 2020-11-04 18:11:13 +00:00
Support.cpp [mlir] Model StringRef in C API 2020-09-16 16:04:36 +02:00