[Hexagon] Initial support for Hexagon codegen (#6261)
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Wed, 19 Aug 2020 09:17:07 +0000 (04:17 -0500)
committerGitHub <noreply@github.com>
Wed, 19 Aug 2020 09:17:07 +0000 (17:17 +0800)
commit7aa2de31157ef11b43c38ccba5bf9c9539406abf
treea08427e6f99bf950d49d8ec76fd1c26be330276b
parente5b793f39fd5b4f84b0aedf06aa376ebe45cf2bc
[Hexagon] Initial support for Hexagon codegen (#6261)

* [Hexagon] Initial support for Hexagon codegen

This commit does not support parallel execution or prefetch.
LLVM 7 or later is required.

* Set native_vector_bits_ based on target features

* Initialize hvx_bytes

* Remove commented out line
python/tvm/contrib/hexagon.py [new file with mode: 0644]
python/tvm/target/target.py
src/runtime/hexagon/hexagon_module.cc
src/runtime/module.cc
src/target/llvm/codegen_hexagon.cc [new file with mode: 0644]
src/target/llvm/intrin_rule_hexagon.cc [new file with mode: 0644]
src/target/target_kind.cc
tests/python/unittest/test_target_codegen_hexagon.py [new file with mode: 0644]