[REFACTOR] IRPrinter->NodePrinter, move to node/printer.h (#4622)
authorTianqi Chen <tqchen@users.noreply.github.com>
Sun, 5 Jan 2020 04:09:18 +0000 (20:09 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Jan 2020 04:09:18 +0000 (20:09 -0800)
commit00a6474a39cbe5cb77b2943f84a2e5d0ffbed228
tree0445b76b3c5d35c21149de8d9f8f7521fb418c07
parent8152360466b57a5c848d3cf05efd373a1690b335
[REFACTOR] IRPrinter->NodePrinter, move to node/printer.h (#4622)

Rationale: printer is a common infra that is shared across all nodes.
40 files changed:
include/tvm/expr.h
include/tvm/node/functor.h
include/tvm/node/node.h
include/tvm/node/printer.h [new file with mode: 0644]
src/arithmetic/const_int_bound.cc
src/arithmetic/int_set.cc
src/arithmetic/modular_set.cc
src/codegen/build_module.cc
src/codegen/llvm/codegen_arm.cc
src/codegen/llvm/codegen_x86_64.cc
src/codegen/llvm/llvm_module.cc
src/codegen/source_module.cc
src/contrib/hybrid/codegen_hybrid.cc
src/ir/span.cc
src/ir/type.cc
src/lang/attrs.cc
src/lang/buffer.cc
src/lang/data_layout.cc
src/lang/expr.cc
src/lang/ir.cc
src/lang/lowered_func.cc
src/lang/target_info.cc
src/lang/tensor.cc
src/node/env_func.cc
src/node/printer.cc [new file with mode: 0644]
src/op/compute_op.cc
src/op/extern_op.cc
src/op/hybrid_op.cc
src/op/placeholder_op.cc
src/op/scan_op.cc
src/op/tensor_compute_op.cc
src/relay/backend/interpreter.cc
src/relay/ir/adt.cc
src/relay/ir/expr.cc
src/relay/ir/module.cc
src/relay/ir/op.cc
src/relay/ir/type.cc
src/relay/pass/pass_manager.cc
src/relay/pass/quantize/quantize.cc
src/schedule/schedule_lang.cc