[TIR] Introduce BufferLoad/Store (#5205)
authorTianqi Chen <tqchen@users.noreply.github.com>
Thu, 2 Apr 2020 19:36:55 +0000 (12:36 -0700)
committerGitHub <noreply@github.com>
Thu, 2 Apr 2020 19:36:55 +0000 (12:36 -0700)
commit88d2f34b981f5a4c32b5d5d9c6141ef6cfa74a6a
tree649d76a958655b16b1146b6c88511c221eab8f76
parent4e5c5843e7c078e39d89c4ee2163f1fd40aef952
[TIR] Introduce BufferLoad/Store (#5205)

Co-authored-by: Siyuan Feng <hzfengsy@sjtu.edu.cn>
This PR introduces BufferLoad/Store to TIR. The new nodes will replace
Provide and Call with Tensor arguments in the subsequent refactors.
15 files changed:
include/tvm/tir/buffer.h
include/tvm/tir/expr.h
include/tvm/tir/expr_functor.h
include/tvm/tir/stmt.h
include/tvm/tir/stmt_functor.h
include/tvm/tir/var.h [new file with mode: 0644]
python/tvm/tir/__init__.py
python/tvm/tir/expr.py
python/tvm/tir/stmt.py
src/tir/ir/expr.cc
src/tir/ir/expr_functor.cc
src/tir/ir/stmt.cc
src/tir/ir/stmt_functor.cc
tests/python/unittest/test_tir_nodes.py
tests/python/unittest/test_tir_structural_equal_hash.py