[REFACTOR][TIR] Provide->ProducerStore, Realize->ProducerRealize. (#5750)
authorTianqi Chen <tqchen@users.noreply.github.com>
Wed, 10 Jun 2020 05:28:52 +0000 (22:28 -0700)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2020 05:28:52 +0000 (22:28 -0700)
commit10bff2717eeb96a6ed681b8d1d4478a8462b7331
tree0a7c7c9989a20056f8eb9c6bc64e403f61cab34b
parent54641ec26e931f7bac347eaf51e644c9f3912bd1
[REFACTOR][TIR] Provide->ProducerStore, Realize->ProducerRealize. (#5750)

This PR finishes up the final step for DSL/TIR de-coupling to refactor
Provide/Realize to use the DataProducer.

As in the case of ProducerLoad, ProducerStore/Realize are not supposed
to appear in a vaid TIR function ans are only used by high-level DSLs
as intermediate structures.
27 files changed:
include/tvm/tir/stmt.h
include/tvm/tir/stmt_functor.h
python/tvm/te/hybrid/parser.py
python/tvm/te/hybrid/util.py
python/tvm/tir/__init__.py
python/tvm/tir/stmt.py
src/contrib/hybrid/codegen_hybrid.cc
src/contrib/hybrid/codegen_hybrid.h
src/te/operation/compute_op.cc
src/te/operation/cross_thread_reduction.cc
src/te/operation/extern_op.cc
src/te/operation/hybrid_op.cc
src/te/operation/scan_op.cc
src/te/schedule/schedule_ops.cc
src/te/schedule/schedule_postproc_rewrite_for_tensor_core.cc
src/te/schedule/schedule_postproc_to_primfunc.cc
src/tir/ir/stmt.cc
src/tir/ir/stmt_functor.cc
src/tir/transforms/inject_virtual_thread.cc
src/tir/transforms/remove_no_op.cc
src/tir/transforms/storage_flatten.cc
src/tir/transforms/vectorize_loop.cc
tests/lint/git-clang-format.sh
tests/python/unittest/test_te_hybrid_script.py
tests/python/unittest/test_te_tensor.py
tests/python/unittest/test_tir_constructor.py
tests/python/unittest/test_tir_transform_lower_warp_memory.py