aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorzhanghb97 <zhanghb97@126.com>2020-09-06 11:37:16 -0700
committerStella Laurenzo <stellaraccident@gmail.com>2020-09-06 11:45:54 -0700
commit54d432aa6b835ee7e835d0626c15ca5e7eb83ab4 (patch)
tree32a4bd8e9d33532ab04523d617fd3ec148808056 /llvm/lib/Object/ELF.cpp
parentbbb3baf6205c54231257f64fd18661a13a5c97ee (diff)
downloadllvm-54d432aa6b835ee7e835d0626c15ca5e7eb83ab4.zip
llvm-54d432aa6b835ee7e835d0626c15ca5e7eb83ab4.tar.gz
llvm-54d432aa6b835ee7e835d0626c15ca5e7eb83ab4.tar.bz2
[mlir] Add Shaped Type, Tensor Type and MemRef Type to python bindings.
Based on the PyType and PyConcreteType classes, this patch implements the bindings of Shaped Type, Tensor Type and MemRef Type subclasses. The Tensor Type and MemRef Type are bound as ranked and unranked separately. This patch adds the ***GetChecked C API to make sure the python side can get a valid type or a nullptr. Shaped type is not a kind of standard types, it is the base class for vectors, memrefs and tensors, this patch binds the PyShapedType class as the base class of Vector Type, Tensor Type and MemRef Type subclasses. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D87091
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions