diff --git a/CMakeLists.txt b/CMakeLists.txt index f75f5b6e7337..8056a1d780f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -267,7 +267,6 @@ assign_source_group("Include" ${GROUP_INCLUDE}) # Source file lists tvm_file_glob(GLOB_RECURSE COMPILER_SRCS - src/node/*.cc src/ir/*.cc src/arith/*.cc src/te/*.cc diff --git a/include/tvm/ir/analysis.h b/include/tvm/ir/analysis.h index 5879f34633a2..43db06f89e65 100644 --- a/include/tvm/ir/analysis.h +++ b/include/tvm/ir/analysis.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include namespace tvm { namespace ir { diff --git a/include/tvm/node/attr_registry_map.h b/include/tvm/ir/attr_registry_map.h similarity index 96% rename from include/tvm/node/attr_registry_map.h rename to include/tvm/ir/attr_registry_map.h index 9b689304ca69..fd4c53bc4fcd 100644 --- a/include/tvm/node/attr_registry_map.h +++ b/include/tvm/ir/attr_registry_map.h @@ -17,11 +17,11 @@ * under the License. */ /*! - * \file tvm/node/attr_registry_map.h + * \file tvm/ir/attr_registry_map.h * \brief Attribute map used in registry. */ -#ifndef TVM_NODE_ATTR_REGISTRY_MAP_H_ -#define TVM_NODE_ATTR_REGISTRY_MAP_H_ +#ifndef TVM_IR_ATTR_REGISTRY_MAP_H_ +#define TVM_IR_ATTR_REGISTRY_MAP_H_ #include @@ -141,4 +141,4 @@ class AttrRegistryMap { }; } // namespace tvm -#endif // TVM_NODE_ATTR_REGISTRY_MAP_H_ +#endif // TVM_IR_ATTR_REGISTRY_MAP_H_ diff --git a/include/tvm/node/cast.h b/include/tvm/ir/cast.h similarity index 97% rename from include/tvm/node/cast.h rename to include/tvm/ir/cast.h index 32d4be721656..dedd5f05b849 100644 --- a/include/tvm/node/cast.h +++ b/include/tvm/ir/cast.h @@ -17,11 +17,11 @@ * under the License. */ /*! - * \file tvm/node/cast.h + * \file tvm/ir/cast.h * \brief Value casting helpers */ -#ifndef TVM_NODE_CAST_H_ -#define TVM_NODE_CAST_H_ +#ifndef TVM_IR_CAST_H_ +#define TVM_IR_CAST_H_ #include #include @@ -115,4 +115,4 @@ inline OptionalType Downcast(const std::optional& ref) { } } } // namespace tvm -#endif // TVM_NODE_CAST_H_ +#endif // TVM_IR_CAST_H_ diff --git a/include/tvm/ir/expr.h b/include/tvm/ir/expr.h index 968bef0727c4..b7c1b0140cb3 100644 --- a/include/tvm/ir/expr.h +++ b/include/tvm/ir/expr.h @@ -26,11 +26,11 @@ #include #include +#include +#include +#include #include #include -#include -#include -#include #include #include diff --git a/include/tvm/ir/module.h b/include/tvm/ir/module.h index 543c895ce519..2d53efbcd535 100644 --- a/include/tvm/ir/module.h +++ b/include/tvm/ir/module.h @@ -31,9 +31,9 @@ #include #include #include +#include #include #include -#include #include #include diff --git a/include/tvm/node/functor.h b/include/tvm/ir/node_functor.h similarity index 98% rename from include/tvm/node/functor.h rename to include/tvm/ir/node_functor.h index bb507beb3c0b..b88a3b2fceb2 100644 --- a/include/tvm/node/functor.h +++ b/include/tvm/ir/node_functor.h @@ -17,11 +17,11 @@ * under the License. */ /*! - * \file tvm/node/functor.h + * \file tvm/ir/node_functor.h * \brief Defines the Functor data structures. */ -#ifndef TVM_NODE_FUNCTOR_H_ -#define TVM_NODE_FUNCTOR_H_ +#ifndef TVM_IR_NODE_FUNCTOR_H_ +#define TVM_IR_NODE_FUNCTOR_H_ #include #include @@ -194,4 +194,4 @@ class NodeFunctor { #define TVM_STATIC_IR_FUNCTOR(ClsName, FField) \ TVM_STR_CONCAT(TVM_REG_FUNC_VAR_DEF(ClsName), __COUNTER__) = ClsName::FField() } // namespace tvm -#endif // TVM_NODE_FUNCTOR_H_ +#endif // TVM_IR_NODE_FUNCTOR_H_ diff --git a/include/tvm/ir/op.h b/include/tvm/ir/op.h index 062ac3116fe4..60eb6febf1e0 100644 --- a/include/tvm/ir/op.h +++ b/include/tvm/ir/op.h @@ -27,11 +27,11 @@ #include #include +#include #include #include #include #include -#include #include #include diff --git a/include/tvm/node/repr.h b/include/tvm/ir/repr.h similarity index 60% rename from include/tvm/node/repr.h rename to include/tvm/ir/repr.h index 48276df1ecd7..126a209b2af2 100644 --- a/include/tvm/node/repr.h +++ b/include/tvm/ir/repr.h @@ -17,18 +17,17 @@ * under the License. */ /*! - * \file tvm/node/repr.h + * \file tvm/ir/repr.h * \brief ostream operator<< for ObjectRef, Any, and Variant, delegating to * ffi::ReprPrint. Also re-exports the Dump() debug helpers. * * Include this header wherever you need `os << some_objectref` and you are * no longer pulling in the legacy repr_printer.h. */ -#ifndef TVM_NODE_REPR_H_ -#define TVM_NODE_REPR_H_ +#ifndef TVM_IR_REPR_H_ +#define TVM_IR_REPR_H_ #include -#include #include #include @@ -68,51 +67,6 @@ inline std::ostream& operator<<(std::ostream& os, const ffi::Variant& n) { return os << ffi::ReprPrint(Any(n)); } -namespace reflection { - -inline std::ostream& operator<<(std::ostream& os, const AccessStep& step) { - namespace refl = ffi::reflection; - switch (step->kind) { - case refl::AccessKind::kAttr: { - os << '.' << step->key.cast(); - return os; - } - case refl::AccessKind::kArrayItem: { - os << "[" << step->key.cast() << "]"; - return os; - } - case refl::AccessKind::kMapItem: { - os << "[" << step->key << "]"; - return os; - } - case refl::AccessKind::kAttrMissing: { - os << ".key.cast() << "`>"; - return os; - } - case refl::AccessKind::kArrayItemMissing: { - os << "[key.cast() << ">]"; - return os; - } - case refl::AccessKind::kMapItemMissing: { - os << "[key << ">]"; - return os; - } - default: { - TVM_FFI_THROW(InternalError) << "Unknown access step kind: " << static_cast(step->kind); - } - } - return os; -} - -inline std::ostream& operator<<(std::ostream& os, const AccessPath& path) { - ffi::Array steps = path->ToSteps(); - os << ""; - for (const auto& step : steps) { - os << step; - } - return os; -} -} // namespace reflection } // namespace ffi } // namespace tvm -#endif // TVM_NODE_REPR_H_ +#endif // TVM_IR_REPR_H_ diff --git a/include/tvm/node/script_printer.h b/include/tvm/ir/script_printer.h similarity index 97% rename from include/tvm/node/script_printer.h rename to include/tvm/ir/script_printer.h index 5eeab2010765..9c0b7c2cc2d8 100644 --- a/include/tvm/node/script_printer.h +++ b/include/tvm/ir/script_printer.h @@ -17,11 +17,11 @@ * under the License. */ /*! - * \file tvm/node/repr_printer.h + * \file tvm/ir/script_printer.h * \brief Printer class to print repr string of each AST/IR nodes. */ -#ifndef TVM_NODE_SCRIPT_PRINTER_H_ -#define TVM_NODE_SCRIPT_PRINTER_H_ +#ifndef TVM_IR_SCRIPT_PRINTER_H_ +#define TVM_IR_SCRIPT_PRINTER_H_ #include #include @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include @@ -178,4 +178,4 @@ class TVMScriptPrinter { } } // namespace tvm -#endif // TVM_NODE_SCRIPT_PRINTER_H_ +#endif // TVM_IR_SCRIPT_PRINTER_H_ diff --git a/include/tvm/ir/type_functor.h b/include/tvm/ir/type_functor.h index 7d5c9ed5197f..41f5c223dc3d 100644 --- a/include/tvm/ir/type_functor.h +++ b/include/tvm/ir/type_functor.h @@ -24,8 +24,8 @@ #ifndef TVM_IR_TYPE_FUNCTOR_H_ #define TVM_IR_TYPE_FUNCTOR_H_ +#include #include -#include #include #include diff --git a/include/tvm/node/repr_printer.h b/include/tvm/node/repr_printer.h deleted file mode 100644 index 71d19f524549..000000000000 --- a/include/tvm/node/repr_printer.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/*! - * \file tvm/node/repr_printer.h - * \brief DEPRECATED: The legacy ReprPrinter has been replaced by - * ffi::ReprPrint. This header is kept as an empty shim; - * include instead. - */ -#ifndef TVM_NODE_REPR_PRINTER_H_ -#define TVM_NODE_REPR_PRINTER_H_ - -#include - -#endif // TVM_NODE_REPR_PRINTER_H_ diff --git a/include/tvm/node/structural_equal.h b/include/tvm/node/structural_equal.h deleted file mode 100644 index cbf7652b8093..000000000000 --- a/include/tvm/node/structural_equal.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/*! - * \file tvm/node/structural_equal.h - * \brief Forwarding header. Use tvm/ffi/extra/structural_equal.h instead. - */ -#ifndef TVM_NODE_STRUCTURAL_EQUAL_H_ -#define TVM_NODE_STRUCTURAL_EQUAL_H_ - -// This header has moved to tvm/ffi/extra/structural_equal.h -#include - -#endif // TVM_NODE_STRUCTURAL_EQUAL_H_ diff --git a/include/tvm/node/structural_hash.h b/include/tvm/node/structural_hash.h deleted file mode 100644 index 8f90820b150d..000000000000 --- a/include/tvm/node/structural_hash.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/*! - * \file tvm/node/structural_hash.h - * \brief Forwarding header. Use tvm/ffi/extra/structural_hash.h instead. - */ -#ifndef TVM_NODE_STRUCTURAL_HASH_H_ -#define TVM_NODE_STRUCTURAL_HASH_H_ - -// This header has moved to tvm/ffi/extra/structural_hash.h -#include - -#endif // TVM_NODE_STRUCTURAL_HASH_H_ diff --git a/include/tvm/relax/exec_builder.h b/include/tvm/relax/exec_builder.h index f85b5af4602a..c4f680d17638 100644 --- a/include/tvm/relax/exec_builder.h +++ b/include/tvm/relax/exec_builder.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/tvm/relax/expr_functor.h b/include/tvm/relax/expr_functor.h index e633603ff364..1993d5248d06 100644 --- a/include/tvm/relax/expr_functor.h +++ b/include/tvm/relax/expr_functor.h @@ -25,7 +25,7 @@ #ifndef TVM_RELAX_EXPR_FUNCTOR_H_ #define TVM_RELAX_EXPR_FUNCTOR_H_ -#include +#include #include #include #include diff --git a/include/tvm/relax/struct_info.h b/include/tvm/relax/struct_info.h index 0d9658d8cffc..512c70453bcf 100644 --- a/include/tvm/relax/struct_info.h +++ b/include/tvm/relax/struct_info.h @@ -20,9 +20,9 @@ #define TVM_RELAX_STRUCT_INFO_H_ #include +#include #include #include -#include #include #include #include diff --git a/include/tvm/relax/struct_info_functor.h b/include/tvm/relax/struct_info_functor.h index ae47e7dd942c..80719383fc1d 100644 --- a/include/tvm/relax/struct_info_functor.h +++ b/include/tvm/relax/struct_info_functor.h @@ -24,7 +24,7 @@ #ifndef TVM_RELAX_STRUCT_INFO_FUNCTOR_H_ #define TVM_RELAX_STRUCT_INFO_FUNCTOR_H_ -#include +#include #include #include diff --git a/include/tvm/script/ir_builder/base.h b/include/tvm/script/ir_builder/base.h index 86888dea1c8b..50901b4b637f 100644 --- a/include/tvm/script/ir_builder/base.h +++ b/include/tvm/script/ir_builder/base.h @@ -20,9 +20,9 @@ #define TVM_SCRIPT_IR_BUILDER_BASE_H_ #include +#include #include #include -#include #include diff --git a/include/tvm/script/printer/ir_docsifier.h b/include/tvm/script/printer/ir_docsifier.h index bd8c37780c1c..45b8fbea38f8 100644 --- a/include/tvm/script/printer/ir_docsifier.h +++ b/include/tvm/script/printer/ir_docsifier.h @@ -21,8 +21,8 @@ #include #include +#include #include -#include #include #include diff --git a/include/tvm/target/tag.h b/include/tvm/target/tag.h index 4557d2074076..f150edf4f82d 100644 --- a/include/tvm/target/tag.h +++ b/include/tvm/target/tag.h @@ -25,7 +25,7 @@ #define TVM_TARGET_TAG_H_ #include -#include +#include #include #include diff --git a/include/tvm/target/target.h b/include/tvm/target/target.h index b71a4952b530..a9f6f6e848f9 100644 --- a/include/tvm/target/target.h +++ b/include/tvm/target/target.h @@ -25,9 +25,9 @@ #define TVM_TARGET_TARGET_H_ #include +#include #include #include -#include #include #include #include diff --git a/include/tvm/target/target_kind.h b/include/tvm/target/target_kind.h index 48c670ef2c52..53441a380e54 100644 --- a/include/tvm/target/target_kind.h +++ b/include/tvm/target/target_kind.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #include diff --git a/include/tvm/tirx/buffer.h b/include/tvm/tirx/buffer.h index 8f5c916a5c11..fe9014b37647 100644 --- a/include/tvm/tirx/buffer.h +++ b/include/tvm/tirx/buffer.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/tvm/tirx/expr.h b/include/tvm/tirx/expr.h index ebd318d82288..9af78271b5e4 100644 --- a/include/tvm/tirx/expr.h +++ b/include/tvm/tirx/expr.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/tvm/tirx/expr_functor.h b/include/tvm/tirx/expr_functor.h index 78e80769323f..79c09473a86f 100644 --- a/include/tvm/tirx/expr_functor.h +++ b/include/tvm/tirx/expr_functor.h @@ -25,7 +25,7 @@ #ifndef TVM_TIR_EXPR_FUNCTOR_H_ #define TVM_TIR_EXPR_FUNCTOR_H_ -#include +#include #include #include diff --git a/include/tvm/tirx/function.h b/include/tvm/tirx/function.h index 0c98deb8b309..7c9015758cc6 100644 --- a/include/tvm/tirx/function.h +++ b/include/tvm/tirx/function.h @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/tvm/tirx/stmt.h b/include/tvm/tirx/stmt.h index c191c4e6bf1f..44de692defee 100644 --- a/include/tvm/tirx/stmt.h +++ b/include/tvm/tirx/stmt.h @@ -25,7 +25,7 @@ #define TVM_TIR_STMT_H_ #include -#include +#include #include #include diff --git a/include/tvm/tirx/stmt_functor.h b/include/tvm/tirx/stmt_functor.h index a756f0319800..69991ab6cf31 100644 --- a/include/tvm/tirx/stmt_functor.h +++ b/include/tvm/tirx/stmt_functor.h @@ -26,7 +26,7 @@ #ifndef TVM_TIR_STMT_FUNCTOR_H_ #define TVM_TIR_STMT_FUNCTOR_H_ -#include +#include #include #include #include diff --git a/src/ir/attr_functor.h b/src/ir/attr_functor.h index c2a26cb13678..e399bfc4411d 100644 --- a/src/ir/attr_functor.h +++ b/src/ir/attr_functor.h @@ -30,7 +30,7 @@ #ifndef TVM_IR_ATTR_FUNCTOR_H_ #define TVM_IR_ATTR_FUNCTOR_H_ -#include +#include #include #include diff --git a/src/ir/attr_registry.h b/src/ir/attr_registry.h index 1d1fdb2742d5..de80e5054e58 100644 --- a/src/ir/attr_registry.h +++ b/src/ir/attr_registry.h @@ -25,7 +25,7 @@ #define TVM_IR_ATTR_REGISTRY_H_ #include -#include +#include #include #include diff --git a/src/ir/instrument.cc b/src/ir/instrument.cc index ced20ba1b1e1..32dc19f7cb36 100644 --- a/src/ir/instrument.cc +++ b/src/ir/instrument.cc @@ -24,8 +24,8 @@ #include #include #include +#include #include -#include #include #include diff --git a/src/node/repr.cc b/src/ir/repr.cc similarity index 98% rename from src/node/repr.cc rename to src/ir/repr.cc index a194708c6d5c..6b87bfd9e322 100644 --- a/src/node/repr.cc +++ b/src/ir/repr.cc @@ -18,7 +18,7 @@ */ /*! - * \file node/repr.cc + * \file ir/repr.cc * \brief Implements Dump helpers and FFI registration for ffi-repr-based printing. * * The legacy ReprPrinter has been replaced by ffi::ReprPrint. This file: @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/node/script_printer.cc b/src/ir/script_printer.cc similarity index 98% rename from src/node/script_printer.cc rename to src/ir/script_printer.cc index 2edf7860b590..1f7bea52e0c5 100644 --- a/src/node/script_printer.cc +++ b/src/ir/script_printer.cc @@ -19,10 +19,10 @@ #include #include #include +#include #include -#include -#include -#include +#include +#include #include diff --git a/src/ir/structural_equal.cc b/src/ir/structural_equal.cc index b8f80f4d57da..8c2cc754f082 100644 --- a/src/ir/structural_equal.cc +++ b/src/ir/structural_equal.cc @@ -24,9 +24,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/ir/structural_hash.cc b/src/ir/structural_hash.cc index 01ea19e4b7a1..a622eb3d04cc 100644 --- a/src/ir/structural_hash.cc +++ b/src/ir/structural_hash.cc @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/ir/transform.cc b/src/ir/transform.cc index 8c56f737d409..c301037732d2 100644 --- a/src/ir/transform.cc +++ b/src/ir/transform.cc @@ -25,8 +25,8 @@ #include #include #include +#include #include -#include #include #include diff --git a/src/node/container_printing.cc b/src/node/container_printing.cc deleted file mode 100644 index 3a6700c78861..000000000000 --- a/src/node/container_printing.cc +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/*! - * \file node/container_printing.cc - * \brief DEPRECATED — tvm-ffi provides built-in repr for Array/Map/Shape. - * The legacy ReprPrinter dispatches for containers are no longer needed. - */ -// This file is intentionally empty. Container repr is handled by -// ffi::ReprPrint (tvm-ffi/src/ffi/extra/dataclass.cc). diff --git a/src/node/repr_printer.cc b/src/node/repr_printer.cc deleted file mode 100644 index de01909c8dac..000000000000 --- a/src/node/repr_printer.cc +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/*! - * \file node/repr_printer.cc - * \brief DEPRECATED — implementation moved to src/node/repr.cc. - */ -// This file is intentionally empty. The legacy ReprPrinter has been removed. -// See src/node/repr.cc for the replacement implementation. diff --git a/src/relax/ir/dataflow_pattern.cc b/src/relax/ir/dataflow_pattern.cc index ed400b82bfd0..57fdf66a39e7 100644 --- a/src/relax/ir/dataflow_pattern.cc +++ b/src/relax/ir/dataflow_pattern.cc @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include diff --git a/src/relax/ir/transform.cc b/src/relax/ir/transform.cc index 49b32307f7a7..7be08203a875 100644 --- a/src/relax/ir/transform.cc +++ b/src/relax/ir/transform.cc @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/s_tir/meta_schedule/utils.h b/src/s_tir/meta_schedule/utils.h index cd0eee04c90e..9bfbddd7f9f3 100644 --- a/src/s_tir/meta_schedule/utils.h +++ b/src/s_tir/meta_schedule/utils.h @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/s_tir/schedule/primitive/layout_transformation.cc b/src/s_tir/schedule/primitive/layout_transformation.cc index b505e952cc04..33c4add69755 100644 --- a/src/s_tir/schedule/primitive/layout_transformation.cc +++ b/src/s_tir/schedule/primitive/layout_transformation.cc @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include diff --git a/src/tirx/ir/transform.cc b/src/tirx/ir/transform.cc index 3cf2f580081c..3c6a78684557 100644 --- a/src/tirx/ir/transform.cc +++ b/src/tirx/ir/transform.cc @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include namespace tvm { diff --git a/tests/cpp/arith_simplify_test.cc b/tests/cpp/arith_simplify_test.cc index 703e83c5312a..2724f3a04245 100644 --- a/tests/cpp/arith_simplify_test.cc +++ b/tests/cpp/arith_simplify_test.cc @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include diff --git a/tests/cpp/expr_test.cc b/tests/cpp/expr_test.cc index 16fe4d8dfd85..e89e10ad5189 100644 --- a/tests/cpp/expr_test.cc +++ b/tests/cpp/expr_test.cc @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include diff --git a/tests/cpp/ir_functor_test.cc b/tests/cpp/ir_functor_test.cc index 8ad1a17377df..ffab42dc313d 100644 --- a/tests/cpp/ir_functor_test.cc +++ b/tests/cpp/ir_functor_test.cc @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include #include diff --git a/tests/cpp/nested_msg_test.cc b/tests/cpp/nested_msg_test.cc index a23be7ebdd91..c5effba7a10a 100644 --- a/tests/cpp/nested_msg_test.cc +++ b/tests/cpp/nested_msg_test.cc @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include #include