[REFACTOR][IR] Move to runtime::String (#5276)
authorZhi <5145158+zhiics@users.noreply.github.com>
Fri, 10 Apr 2020 14:46:23 +0000 (07:46 -0700)
committerGitHub <noreply@github.com>
Fri, 10 Apr 2020 14:46:23 +0000 (07:46 -0700)
commit5da361d3adf87033b90ab5ff6f3117e8af1bee43
tree533fdf2182b04ad78f03b852c66ec00ee4f97e84
parent48082358879b5402d273715418f8d629d689af54
[REFACTOR][IR] Move to runtime::String (#5276)

* Use runtime::String

* move string to tvm namespace

* add const char* constructor

* implicit cast from std::string
85 files changed:
include/tvm/ir/expr.h
include/tvm/ir/transform.h
include/tvm/node/container.h
include/tvm/node/node.h
include/tvm/relay/transform.h
include/tvm/runtime/container.h
include/tvm/target/target.h
include/tvm/tir/stmt_functor.h
include/tvm/tir/transform.h
python/tvm/autotvm/task/task.py
python/tvm/relay/backend/graph_runtime_codegen.py
python/tvm/runtime/container.py
python/tvm/runtime/object_generic.py
python/tvm/target/target.py
src/autotvm/touch_extractor.cc
src/ir/attrs.cc
src/ir/expr.cc
src/ir/op.cc
src/ir/transform.cc
src/node/container.cc
src/relay/backend/build_module.cc
src/relay/backend/compile_engine.cc
src/relay/backend/contrib/codegen_c/codegen_c.h
src/relay/backend/graph_runtime_codegen.cc
src/relay/backend/vm/compiler.cc
src/relay/backend/vm/inline_primitives.cc
src/relay/backend/vm/lambda_lift.cc
src/relay/backend/vm/removed_unused_funcs.cc
src/relay/ir/transform.cc
src/relay/op/tensor/transform.cc
src/relay/transforms/alter_op_layout.cc
src/relay/transforms/annotate_target.cc
src/relay/transforms/canonicalize_cast.cc
src/relay/transforms/canonicalize_ops.cc
src/relay/transforms/combine_parallel_conv2d.cc
src/relay/transforms/combine_parallel_dense.cc
src/relay/transforms/combine_parallel_op_batch.cc
src/relay/transforms/convert_layout.cc
src/relay/transforms/device_annotation.cc
src/relay/transforms/eliminate_common_subexpr.cc
src/relay/transforms/fast_math.cc
src/relay/transforms/fold_scale_axis.cc
src/relay/transforms/fuse_ops.cc
src/relay/transforms/inline.cc
src/relay/transforms/legalize.cc
src/relay/transforms/merge_composite.cc
src/relay/transforms/partition_graph.cc
src/relay/transforms/simplify_inference.cc
src/relay/transforms/to_a_normal_form.cc
src/runtime/container.cc
src/target/build_common.h
src/target/generic_func.cc
src/target/llvm/codegen_cpu.cc
src/target/llvm/codegen_llvm.cc
src/target/llvm/llvm_module.cc
src/target/source/codegen_c.cc
src/target/source/codegen_metal.cc
src/target/source/codegen_opengl.cc
src/target/source/codegen_vhls.cc
src/target/spirv/build_vulkan.cc
src/target/spirv/codegen_spirv.cc
src/target/stackvm/codegen_stackvm.cc
src/target/target.cc
src/tir/ir/expr.cc
src/tir/ir/stmt_functor.cc
src/tir/ir/transform.cc
src/tir/pass/arg_binder.cc
src/tir/pass/hoist_if_then_else.cc
src/tir/pass/tensor_core.cc
src/tir/transforms/bind_device_type.cc
src/tir/transforms/make_packed_api.cc
src/tir/transforms/remap_thread_axis.cc
src/tir/transforms/split_host_device.cc
tests/cpp/container_test.cc
tests/python/relay/test_annotate_target.py
tests/python/relay/test_call_graph.py
tests/python/relay/test_external_codegen.py
tests/python/relay/test_ir_nodes.py
tests/python/relay/test_ir_structural_equal_hash.py
tests/python/relay/test_pass_inline.py
tests/python/relay/test_pass_merge_composite.py
tests/python/relay/test_pass_partition_graph.py
tests/python/unittest/test_ir_attrs.py
topi/include/topi/contrib/cublas.h
topi/include/topi/contrib/rocblas.h