From b8dffbca1bf06bf0c1c07c9b404a560ad69082cd Mon Sep 17 00:00:00 2001 From: Jeff Fifield Date: Mon, 9 Sep 2024 14:31:27 -0600 Subject: [PATCH] rename --- .../AIEToConfiguration.h} | 8 ++++---- include/aie/Conversion/Passes.h | 2 +- lib/CAPI/CMakeLists.txt | 2 +- .../AIEToConfiguration.cpp} | 6 +++--- .../CMakeLists.txt | 6 +++--- lib/Conversion/CMakeLists.txt | 2 +- tools/aie-opt/CMakeLists.txt | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) rename include/aie/Conversion/{AIEToTransaction/AIEToTransaction.h => AIEToConfiguration/AIEToConfiguration.h} (72%) rename lib/Conversion/{AIEToTransaction/AIEToTransaction.cpp => AIEToConfiguration/AIEToConfiguration.cpp} (98%) rename lib/Conversion/{AIEToTransaction => AIEToConfiguration}/CMakeLists.txt (82%) diff --git a/include/aie/Conversion/AIEToTransaction/AIEToTransaction.h b/include/aie/Conversion/AIEToConfiguration/AIEToConfiguration.h similarity index 72% rename from include/aie/Conversion/AIEToTransaction/AIEToTransaction.h rename to include/aie/Conversion/AIEToConfiguration/AIEToConfiguration.h index f8ff679d11..50aa485fcf 100644 --- a/include/aie/Conversion/AIEToTransaction/AIEToTransaction.h +++ b/include/aie/Conversion/AIEToConfiguration/AIEToConfiguration.h @@ -1,4 +1,4 @@ -//===- AIEToTransaction.h ---------------------------------------*- C++ -*-===// +//===- AIEToConfiguration.h -------------------------------------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -8,8 +8,8 @@ // //===----------------------------------------------------------------------===// -#ifndef AIE_CONVERSION_AIETOTRANSACTION_AIETOTRANSACTION_H -#define AIE_CONVERSION_AIETOTRANSACTION_AIETOTRANSACTION_H +#ifndef AIE_CONVERSION_AIETOCONFIGURATION_AIETOCONFIGURATION_H +#define AIE_CONVERSION_AIETOCONFIGURATION_AIETOCONFIGURATION_H #include "aie/Dialect/AIE/IR/AIEDialect.h" #include "aie/Dialect/AIEX/IR/AIEXDialect.h" @@ -25,4 +25,4 @@ createConvertAIEToTransactionPass(); } // namespace xilinx::AIE -#endif // AIE_CONVERSION_AIETOTRANSACTION_AIETOTRANSACTION_H +#endif // AIE_CONVERSION_AIETOCONFIGURATION_AIETOCONFIGURATION_H diff --git a/include/aie/Conversion/Passes.h b/include/aie/Conversion/Passes.h index 7c84c7e319..366e85793a 100644 --- a/include/aie/Conversion/Passes.h +++ b/include/aie/Conversion/Passes.h @@ -11,7 +11,7 @@ #ifndef AIE_CONVERSION_PASSES_H #define AIE_CONVERSION_PASSES_H -#include "aie/Conversion/AIEToTransaction/AIEToTransaction.h" +#include "aie/Conversion/AIEToConfiguration/AIEToConfiguration.h" #include "aie/Conversion/AIEVecToLLVM/AIEVecToLLVM.h" #include "aie/Conversion/PassesEnums.h.inc" diff --git a/lib/CAPI/CMakeLists.txt b/lib/CAPI/CMakeLists.txt index ceb5d475d6..2784395eb8 100644 --- a/lib/CAPI/CMakeLists.txt +++ b/lib/CAPI/CMakeLists.txt @@ -15,7 +15,7 @@ add_mlir_public_c_api_library(AIECAPI AIEX AIEXTransforms AIEXUtils - MLIRAIEToTransaction + MLIRAIEToConfiguration MLIRAIEVecDialect MLIRAIEVecAIE1Dialect MLIRAIEVecToLLVM diff --git a/lib/Conversion/AIEToTransaction/AIEToTransaction.cpp b/lib/Conversion/AIEToConfiguration/AIEToConfiguration.cpp similarity index 98% rename from lib/Conversion/AIEToTransaction/AIEToTransaction.cpp rename to lib/Conversion/AIEToConfiguration/AIEToConfiguration.cpp index 67586c4a8f..b4f8a9c313 100644 --- a/lib/Conversion/AIEToTransaction/AIEToTransaction.cpp +++ b/lib/Conversion/AIEToConfiguration/AIEToConfiguration.cpp @@ -1,4 +1,4 @@ -//===- AIEToTransaction.h ---------------------------------------*- C++ -*-===// +//===- AIEToConfiguration.h -------------------------------------*- C++ -*-===// // // This file is licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -10,14 +10,14 @@ #include "../PassDetail.h" -#include "aie/Conversion/AIEToTransaction/AIEToTransaction.h" +#include "aie/Conversion/AIEToConfiguration/AIEToConfiguration.h" #include "aie/Targets/AIERTX.h" #include "llvm/Support/Debug.h" #include -#define DEBUG_TYPE "aie-convert-to-transaction" +#define DEBUG_TYPE "aie-convert-to-config" using namespace mlir; using namespace xilinx; diff --git a/lib/Conversion/AIEToTransaction/CMakeLists.txt b/lib/Conversion/AIEToConfiguration/CMakeLists.txt similarity index 82% rename from lib/Conversion/AIEToTransaction/CMakeLists.txt rename to lib/Conversion/AIEToConfiguration/CMakeLists.txt index c2b8735d37..46b7bd874a 100644 --- a/lib/Conversion/AIEToTransaction/CMakeLists.txt +++ b/lib/Conversion/AIEToConfiguration/CMakeLists.txt @@ -3,11 +3,11 @@ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # (c) Copyright 2024 Advanced Micro Devices, Inc. -add_mlir_conversion_library(MLIRAIEToTransaction - AIEToTransaction.cpp +add_mlir_conversion_library(MLIRAIEToConfiguration + AIEToConfiguration.cpp ADDITIONAL_HEADER_DIRS - $(CMAKE_CURRENT_SRC_DIR)/../../../../include/aie/Conversion/AIEToTransaction + $(CMAKE_CURRENT_SRC_DIR)/../../../../include/aie/Conversion/AIEToConfiguration DEPENDS MLIRAIEConversionPassIncGen diff --git a/lib/Conversion/CMakeLists.txt b/lib/Conversion/CMakeLists.txt index 8f0cf09cd1..660e9c6669 100644 --- a/lib/Conversion/CMakeLists.txt +++ b/lib/Conversion/CMakeLists.txt @@ -3,5 +3,5 @@ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # (c) Copyright 2024 Advanced Micro Devices, Inc. -add_subdirectory(AIEToTransaction) +add_subdirectory(AIEToConfiguration) add_subdirectory(AIEVecToLLVM) \ No newline at end of file diff --git a/tools/aie-opt/CMakeLists.txt b/tools/aie-opt/CMakeLists.txt index 1d9c75f2f4..3a02f4a030 100644 --- a/tools/aie-opt/CMakeLists.txt +++ b/tools/aie-opt/CMakeLists.txt @@ -30,7 +30,7 @@ set(LIBS AIEX AIEXTransforms AIEXUtils - MLIRAIEToTransaction + MLIRAIEToConfiguration MLIRAIEVecDialect MLIRAIEVecAIE1Dialect MLIRAIEVecTransformOps