[CMake] Reorder and reformat deps
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Apr 2023 15:17:45 +0000 (00:17 +0900)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Apr 2023 15:32:16 +0000 (00:32 +0900)
77 files changed:
clang-tools-extra/clang-tidy/CMakeLists.txt
clang/lib/CodeGen/CMakeLists.txt
clang/lib/Interpreter/CMakeLists.txt
clang/lib/Tooling/DependencyScanning/CMakeLists.txt
clang/tools/clang-scan-deps/CMakeLists.txt
clang/unittests/Analysis/CMakeLists.txt
clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
clang/unittests/DirectoryWatcher/CMakeLists.txt
clang/unittests/Introspection/CMakeLists.txt
clang/unittests/Sema/CMakeLists.txt
llvm/lib/DWARFLinker/CMakeLists.txt
llvm/lib/DWARFLinkerParallel/CMakeLists.txt
llvm/lib/DWP/CMakeLists.txt
llvm/lib/LTO/CMakeLists.txt
llvm/lib/Target/AArch64/CMakeLists.txt
llvm/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/AMDGPU/AsmParser/CMakeLists.txt
llvm/lib/Target/AMDGPU/CMakeLists.txt
llvm/lib/Target/AMDGPU/MCA/CMakeLists.txt
llvm/lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
llvm/lib/Target/ARM/AsmParser/CMakeLists.txt
llvm/lib/Target/ARM/CMakeLists.txt
llvm/lib/Target/ARM/Disassembler/CMakeLists.txt
llvm/lib/Target/ARM/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/AVR/AsmParser/CMakeLists.txt
llvm/lib/Target/AVR/CMakeLists.txt
llvm/lib/Target/AVR/Disassembler/CMakeLists.txt
llvm/lib/Target/BPF/CMakeLists.txt
llvm/lib/Target/Hexagon/CMakeLists.txt
llvm/lib/Target/Lanai/AsmParser/CMakeLists.txt
llvm/lib/Target/Lanai/CMakeLists.txt
llvm/lib/Target/LoongArch/CMakeLists.txt
llvm/lib/Target/MSP430/AsmParser/CMakeLists.txt
llvm/lib/Target/Mips/CMakeLists.txt
llvm/lib/Target/NVPTX/CMakeLists.txt
llvm/lib/Target/PowerPC/CMakeLists.txt
llvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/MCA/CMakeLists.txt
llvm/lib/Target/VE/AsmParser/CMakeLists.txt
llvm/lib/Target/VE/CMakeLists.txt
llvm/lib/Target/VE/Disassembler/CMakeLists.txt
llvm/lib/Target/VE/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/WebAssembly/AsmParser/CMakeLists.txt
llvm/lib/Target/WebAssembly/CMakeLists.txt
llvm/lib/Target/WebAssembly/Disassembler/CMakeLists.txt
llvm/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/X86/CMakeLists.txt
llvm/lib/Target/X86/MCA/CMakeLists.txt
llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/XCore/Disassembler/CMakeLists.txt
llvm/tools/dsymutil/CMakeLists.txt
llvm/tools/llvm-debuginfo-analyzer/CMakeLists.txt
llvm/tools/llvm-dwarfutil/CMakeLists.txt
llvm/tools/llvm-exegesis/lib/AArch64/CMakeLists.txt
llvm/tools/llvm-exegesis/lib/Mips/CMakeLists.txt
llvm/tools/llvm-exegesis/lib/PowerPC/CMakeLists.txt
llvm/tools/llvm-exegesis/lib/X86/CMakeLists.txt
llvm/tools/llvm-gsymutil/CMakeLists.txt
llvm/tools/llvm-ifs/CMakeLists.txt
llvm/tools/llvm-modextract/CMakeLists.txt
llvm/tools/llvm-opt-fuzzer/CMakeLists.txt
llvm/tools/llvm-opt-report/CMakeLists.txt
llvm/tools/llvm-profdata/CMakeLists.txt
llvm/tools/llvm-readobj/CMakeLists.txt
llvm/tools/llvm-reduce/CMakeLists.txt
llvm/tools/llvm-remark-size-diff/CMakeLists.txt
llvm/tools/llvm-remarkutil/CMakeLists.txt
llvm/tools/sancov/CMakeLists.txt
llvm/unittests/DWARFLinkerParallel/CMakeLists.txt
llvm/unittests/Frontend/CMakeLists.txt
llvm/unittests/Target/AArch64/CMakeLists.txt
llvm/unittests/Target/ARM/CMakeLists.txt
llvm/unittests/Target/LoongArch/CMakeLists.txt
llvm/unittests/Target/X86/CMakeLists.txt
llvm/unittests/TextAPI/CMakeLists.txt

index 8a953ee..12dabc3 100644 (file)
@@ -26,9 +26,9 @@ add_clang_library(clangTidy
 
 clang_target_link_libraries(clangTidy
   PRIVATE
-  clangAnalysis
   clangAST
   clangASTMatchers
+  clangAnalysis
   clangBasic
   clangFormat
   clangFrontend
index 2ce04e3..13dd16d 100644 (file)
@@ -1,4 +1,5 @@
 set(LLVM_LINK_COMPONENTS
+  AggressiveInstCombine
   Analysis
   BitReader
   BitWriter
@@ -12,7 +13,6 @@ set(LLVM_LINK_COMPONENTS
   IPO
   IRPrinter
   IRReader
-  AggressiveInstCombine
   InstCombine
   Instrumentation
   LTO
@@ -93,8 +93,8 @@ add_clang_library(clangCodeGen
   intrinsics_gen
 
   LINK_LIBS
-  clangAnalysis
   clangAST
+  clangAnalysis
   clangBasic
   clangFrontend
   clangLex
index c49f22f..4702c6a 100644 (file)
@@ -21,13 +21,13 @@ add_clang_library(clangInterpreter
   clangAST
   clangAnalysis
   clangBasic
+  clangCodeGen
   clangDriver
   clangEdit
   clangFrontend
+  clangFrontendTool
   clangLex
   clangParse
   clangSema
   clangSerialization
-  clangCodeGen
-  clangFrontendTool
   )
index 8ab3762..ac93f75 100644 (file)
@@ -27,4 +27,4 @@ add_clang_library(clangDependencyScanning
   clangParse
   clangSerialization
   clangTooling
-)
+  )
index 8a4543a..c68a98f 100644 (file)
@@ -20,6 +20,7 @@ set(CLANG_SCAN_DEPS_LIB_DEPS
   clangAST
   clangBasic
   clangCodeGen
+  clangDependencyScanning
   clangDriver
   clangFrontend
   clangFrontendTool
@@ -27,7 +28,6 @@ set(CLANG_SCAN_DEPS_LIB_DEPS
   clangParse
   clangSerialization
   clangTooling
-  clangDependencyScanning
   )
 
 clang_target_link_libraries(clang-scan-deps
index d418a2b..809c6ac 100644 (file)
@@ -14,9 +14,9 @@ add_clang_unittest(ClangAnalysisTests
 
 clang_target_link_libraries(ClangAnalysisTests
   PRIVATE
-  clangAnalysis
   clangAST
   clangASTMatchers
+  clangAnalysis
   clangBasic
   clangFrontend
   clangLex
index c77aeac..0895cde 100644 (file)
@@ -27,11 +27,11 @@ add_clang_unittest(ClangAnalysisFlowSensitiveTests
 
 clang_target_link_libraries(ClangAnalysisFlowSensitiveTests
   PRIVATE
+  clangAST
+  clangASTMatchers
   clangAnalysis
   clangAnalysisFlowSensitive
   clangAnalysisFlowSensitiveModels
-  clangAST
-  clangASTMatchers
   clangBasic
   clangFrontend
   clangLex
index 84a1a9d..0f95dc8 100644 (file)
@@ -11,8 +11,8 @@ if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME STREQUAL Wind
   target_link_libraries(DirectoryWatcherTests
     PRIVATE
     LLVMTestingSupport
-    clangDirectoryWatcher
     clangBasic
+    clangDirectoryWatcher
     )
 
 endif()
index f9c55c5..edc359e 100644 (file)
@@ -11,10 +11,10 @@ clang_target_link_libraries(IntrospectionTests
   PRIVATE
   clangAST
   clangASTMatchers
-  clangTooling
   clangBasic
-  clangSerialization
   clangFrontend
+  clangSerialization
+  clangTooling
   )
 target_link_libraries(IntrospectionTests
   PRIVATE
index eb6d93a..82d3093 100644 (file)
@@ -24,7 +24,7 @@ clang_target_link_libraries(SemaTests
 
 target_link_libraries(SemaTests
   PRIVATE
-  clangTesting
   LLVMTestingAnnotations
   LLVMTestingSupport
-)
+  clangTesting
+  )
index ac2f590..913fcba 100644 (file)
@@ -11,10 +11,10 @@ add_llvm_component_library(LLVMDWARFLinker
   intrinsics_gen
 
   LINK_COMPONENTS
-  BinaryFormat
-  DebugInfoDWARF
   AsmPrinter
+  BinaryFormat
   CodeGen
+  DebugInfoDWARF
   MC
   Object
   Support
index a9bad6c..390c192 100644 (file)
@@ -9,11 +9,11 @@ add_llvm_component_library(LLVMDWARFLinkerParallel
   intrinsics_gen
 
   LINK_COMPONENTS
-  BinaryFormat
-  DebugInfoDWARF
   AsmPrinter
+  BinaryFormat
   CodeGen
+  DebugInfoDWARF
   MC
   Object
   Support
-)
+  )
index 6939667..228c0f2 100644 (file)
@@ -14,4 +14,4 @@ add_llvm_component_library(LLVMDWP
   Object
   Support
   Target
-)
+  )
index ca9ca12..6617d27 100644 (file)
@@ -36,4 +36,4 @@ add_llvm_component_library(LLVMLTO
   Target
   TargetParser
   TransformUtils
-)
+  )
index fd3f2d5..465936d 100644 (file)
@@ -97,8 +97,10 @@ add_llvm_target(AArch64CodeGen
   AArch64Utils
   Analysis
   AsmPrinter
+  CFGuard
   CodeGen
   Core
+  GlobalISel
   MC
   Scalar
   SelectionDAG
@@ -106,12 +108,10 @@ add_llvm_target(AArch64CodeGen
   Target
   TargetParser
   TransformUtils
-  GlobalISel
-  CFGuard
 
   ADD_TO_COMPONENT
   AArch64
-)
+  )
 
 add_subdirectory(AsmParser)
 add_subdirectory(Disassembler)
index 973eec4..b7a7705 100644 (file)
@@ -15,14 +15,15 @@ add_llvm_component_library(LLVMAArch64Desc
   LINK_COMPONENTS
   AArch64Info
   AArch64Utils
-  MC
   BinaryFormat
+  MC
   Support
   TargetParser
 
   ADD_TO_COMPONENT
   AArch64
-)
+  )
+
 add_dependencies(LLVMAArch64Desc AArch64CommonTableGen)
 
 # Hack: we need to include 'main' target directory to grab private headers
index 37896f8..1b96c75 100644 (file)
@@ -2,11 +2,11 @@ add_llvm_component_library(LLVMAMDGPUAsmParser
   AMDGPUAsmParser.cpp
 
   LINK_COMPONENTS
-  MC
-  MCParser
   AMDGPUDesc
   AMDGPUInfo
   AMDGPUUtils
+  MC
+  MCParser
   Support
   TargetParser
 
index 73cbeda..e1c778d 100644 (file)
@@ -165,16 +165,19 @@ add_llvm_target(AMDGPUCodeGen
   SIWholeQuadMode.cpp
 
   LINK_COMPONENTS
+  AMDGPUDesc
+  AMDGPUInfo
+  AMDGPUUtils
   Analysis
   AsmPrinter
+  BinaryFormat
   CodeGen
   Core
+  GlobalISel
   IPO
   MC
+  MIRParser
   Passes
-  AMDGPUDesc
-  AMDGPUInfo
-  AMDGPUUtils
   Scalar
   SelectionDAG
   Support
@@ -182,9 +185,6 @@ add_llvm_target(AMDGPUCodeGen
   TargetParser
   TransformUtils
   Vectorize
-  GlobalISel
-  BinaryFormat
-  MIRParser
 
   ADD_TO_COMPONENT
   AMDGPU
index fbf44e2..fcad1d4 100644 (file)
@@ -2,14 +2,14 @@ add_llvm_component_library(LLVMAMDGPUTargetMCA
   AMDGPUCustomBehaviour.cpp
 
   LINK_COMPONENTS
-  MC
-  MCParser
   AMDGPUDesc
   AMDGPUInfo
   AMDGPUUtils
+  MC
+  MCA
+  MCParser
   Support
   TargetParser
-  MCA
 
   ADD_TO_COMPONENT
   AMDGPU
index 9926f89..7eb5008 100644 (file)
@@ -13,16 +13,16 @@ add_llvm_component_library(LLVMAMDGPUDesc
   SIMCCodeEmitter.cpp
 
   LINK_COMPONENTS
-  Core
-  MC
   AMDGPUInfo
   AMDGPUUtils
-  Support
   BinaryFormat
+  Core
+  MC
+  Support
   TargetParser
 
   ADD_TO_COMPONENT
   AMDGPU
-)
+  )
 
 add_dependencies(LLVMAMDGPUDesc LLVMAMDGPUUtils)
index a93c535..2d4a3f2 100644 (file)
@@ -7,9 +7,9 @@ add_llvm_component_library(LLVMAMDGPUUtils
 
   LINK_COMPONENTS
   Analysis
+  BinaryFormat
   Core
   MC
-  BinaryFormat
   Support
   TargetParser
 
index d85b8f6..424d855 100644 (file)
@@ -4,11 +4,11 @@ add_llvm_component_library(LLVMARMAsmParser
   LINK_COMPONENTS
   ARMDesc
   ARMInfo
+  ARMUtils
   MC
   MCParser
   Support
   TargetParser
-  ARMUtils
 
   ADD_TO_COMPONENT
   ARM
index a0f4290..fa7a747 100644 (file)
@@ -72,10 +72,13 @@ add_llvm_target(ARMCodeGen
   LINK_COMPONENTS
   ARMDesc
   ARMInfo
+  ARMUtils
   Analysis
   AsmPrinter
+  CFGuard
   CodeGen
   Core
+  GlobalISel
   IPO
   MC
   Scalar
@@ -83,10 +86,7 @@ add_llvm_target(ARMCodeGen
   Support
   Target
   TargetParser
-  GlobalISel
-  ARMUtils
   TransformUtils
-  CFGuard
 
   ADD_TO_COMPONENT
   ARM
index f02607a..5d20172 100644 (file)
@@ -4,10 +4,10 @@ add_llvm_component_library(LLVMARMDisassembler
   LINK_COMPONENTS
   ARMDesc
   ARMInfo
-  MCDisassembler
+  ARMUtils
   MC
+  MCDisassembler
   Support
-  ARMUtils
 
   ADD_TO_COMPONENT
   ARM
index 0aeb65d..d84dd96 100644 (file)
@@ -17,10 +17,10 @@ add_llvm_component_library(LLVMARMDesc
   LINK_COMPONENTS
   ARMInfo
   ARMUtils
+  BinaryFormat
   MC
   MCDisassembler
   Support
-  BinaryFormat
   TargetParser
 
   ADD_TO_COMPONENT
index 2de6ba9..a72c2ad 100644 (file)
@@ -2,12 +2,12 @@ add_llvm_component_library(LLVMAVRAsmParser
   AVRAsmParser.cpp
 
   LINK_COMPONENTS
-  MC
-  MCParser
   AVRDesc
   AVRInfo
+  MC
+  MCParser
   Support
 
   ADD_TO_COMPONENT
   AVR
-)
+  )
index ce8860c..3c87c6f 100644 (file)
@@ -32,19 +32,19 @@ add_llvm_target(AVRCodeGen
   intrinsics_gen
 
   LINK_COMPONENTS
+  AVRDesc
+  AVRInfo
   AsmPrinter
   CodeGen
   Core
   MC
-  AVRDesc
-  AVRInfo
   SelectionDAG
   Support
   Target
 
   ADD_TO_COMPONENT
   AVR
-)
+  )
 
 add_subdirectory(AsmParser)
 add_subdirectory(Disassembler)
index aa7b563..37b35f3 100644 (file)
@@ -2,12 +2,12 @@ add_llvm_component_library(LLVMAVRDisassembler
   AVRDisassembler.cpp
 
   LINK_COMPONENTS
-  MCDisassembler
+  AVRInfo
   MC
+  MCDisassembler
   Support
-  AVRInfo
 
   ADD_TO_COMPONENT
   AVR
-)
+  )
 
index f3f8a82..443cbb9 100644 (file)
@@ -38,12 +38,12 @@ add_llvm_target(BPFCodeGen
   LINK_COMPONENTS
   Analysis
   AsmPrinter
-  CodeGen
-  Core
-  MC
   BPFDesc
   BPFInfo
+  CodeGen
+  Core
   IPO
+  MC
   Scalar
   SelectionDAG
   Support
index 0d0d4f8..e36f5be 100644 (file)
@@ -87,7 +87,7 @@ add_llvm_target(HexagonCodeGen
 
   ADD_TO_COMPONENT
   Hexagon
-)
+  )
 
 add_subdirectory(AsmParser)
 add_subdirectory(Disassembler)
index 234ef9e..ed5acca 100644 (file)
@@ -4,11 +4,11 @@ add_llvm_component_library(LLVMLanaiAsmParser
   LanaiAsmParser.cpp
 
   LINK_COMPONENTS
+  LanaiDesc
+  LanaiInfo
   MC
   MCParser
   Support
-  LanaiDesc
-  LanaiInfo
 
   ADD_TO_COMPONENT
   Lanai
index 88c2a10..8035ec8 100644 (file)
@@ -47,7 +47,7 @@ add_llvm_target(LanaiCodeGen
 
   ADD_TO_COMPONENT
   Lanai
-)
+  )
 
 add_subdirectory(AsmParser)
 add_subdirectory(Disassembler)
index 58709f5..9b2f1e9 100644 (file)
@@ -32,9 +32,9 @@ add_llvm_target(LoongArchCodeGen
   AsmPrinter
   CodeGen
   Core
-  MC
   LoongArchDesc
   LoongArchInfo
+  MC
   Scalar
   SelectionDAG
   Support
index 7472f45..55f2687 100644 (file)
@@ -10,4 +10,4 @@ add_llvm_component_library(LLVMMSP430AsmParser
 
   ADD_TO_COMPONENT
   MSP430
-)
+  )
index 18264d8..92da4b0 100644 (file)
@@ -70,6 +70,7 @@ add_llvm_target(MipsCodeGen
   AsmPrinter
   CodeGen
   Core
+  GlobalISel
   MC
   MipsDesc
   MipsInfo
@@ -77,7 +78,6 @@ add_llvm_target(MipsCodeGen
   Support
   Target
   TargetParser
-  GlobalISel
 
   ADD_TO_COMPONENT
   Mips
index 041e6ff..723ab62 100644 (file)
@@ -61,7 +61,7 @@ add_llvm_target(NVPTXCodeGen
 
   ADD_TO_COMPONENT
   NVPTX
-)
+  )
 
 add_subdirectory(MCTargetDesc)
 add_subdirectory(TargetInfo)
index ccfd191..dac5964 100644 (file)
@@ -67,6 +67,7 @@ add_llvm_target(PowerPCCodeGen
   BinaryFormat
   CodeGen
   Core
+  GlobalISel
   MC
   PowerPCDesc
   PowerPCInfo
@@ -76,7 +77,6 @@ add_llvm_target(PowerPCCodeGen
   Target
   TargetParser
   TransformUtils
-  GlobalISel
 
   ADD_TO_COMPONENT
   PowerPC
index 5601f6b..2fba5ab 100644 (file)
@@ -12,10 +12,10 @@ add_llvm_component_library(LLVMPowerPCDesc
   PPCXCOFFStreamer.cpp
 
   LINK_COMPONENTS
+  BinaryFormat
   MC
   PowerPCInfo
   Support
-  BinaryFormat
   TargetParser
 
   ADD_TO_COMPONENT
index c834bcc..a005a2f 100644 (file)
@@ -51,9 +51,10 @@ add_llvm_target(RISCVCodeGen
   LINK_COMPONENTS
   Analysis
   AsmPrinter
+  CodeGen
   Core
+  GlobalISel
   IPO
-  CodeGen
   MC
   RISCVDesc
   RISCVInfo
@@ -62,7 +63,6 @@ add_llvm_target(RISCVCodeGen
   Target
   TargetParser
   TransformUtils
-  GlobalISel
 
   ADD_TO_COMPONENT
   RISCV
index ca6b78b..5740faa 100644 (file)
@@ -3,11 +3,11 @@ add_llvm_component_library(LLVMRISCVTargetMCA
 
   LINK_COMPONENTS
   MC
+  MCA
   MCParser
   RISCVDesc
   RISCVInfo
   Support
-  MCA
 
   ADD_TO_COMPONENT
   RISCV
index 00b26b6..825c75c 100644 (file)
@@ -4,9 +4,9 @@ add_llvm_component_library(LLVMVEAsmParser
   LINK_COMPONENTS
   MC
   MCParser
+  Support
   VEDesc
   VEInfo
-  Support
 
   ADD_TO_COMPONENT
   VE
index 29bc947..d14e1a5 100644 (file)
@@ -35,10 +35,10 @@ add_llvm_target(VECodeGen
   Core
   MC
   SelectionDAG
-  VEDesc
-  VEInfo
   Support
   Target
+  VEDesc
+  VEInfo
 
   ADD_TO_COMPONENT
   VE
index 9f7df34..94580e1 100644 (file)
@@ -2,10 +2,10 @@ add_llvm_component_library(LLVMVEDisassembler
   VEDisassembler.cpp
 
   LINK_COMPONENTS
-  MCDisassembler
   MC
-  VEInfo
+  MCDisassembler
   Support
+  VEInfo
 
   ADD_TO_COMPONENT
   VE
index 97b328f..314d845 100644 (file)
@@ -10,9 +10,9 @@ add_llvm_component_library(LLVMVEDesc
 
   LINK_COMPONENTS
   MC
-  VEInfo
   Support
   TargetParser
+  VEInfo
 
   ADD_TO_COMPONENT
   VE
index 81cb693..52a6400 100644 (file)
@@ -5,10 +5,10 @@ add_llvm_component_library(LLVMWebAssemblyAsmParser
   LINK_COMPONENTS
   MC
   MCParser
-  WebAssemblyDesc
-  WebAssemblyInfo
   Support
   TargetParser
+  WebAssemblyDesc
+  WebAssemblyInfo
 
   ADD_TO_COMPONENT
   WebAssembly
index 7f53729..afdb00b 100644 (file)
@@ -80,7 +80,7 @@ add_llvm_target(WebAssemblyCodeGen
 
   ADD_TO_COMPONENT
   WebAssembly
-)
+  )
 
 add_subdirectory(AsmParser)
 add_subdirectory(Disassembler)
index 1782f57..c7793ae 100644 (file)
@@ -2,11 +2,11 @@ add_llvm_component_library(LLVMWebAssemblyDisassembler
   WebAssemblyDisassembler.cpp
 
   LINK_COMPONENTS
-  WebAssemblyDesc
+  MC
   MCDisassembler
-  WebAssemblyInfo
   Support
-  MC
+  WebAssemblyDesc
+  WebAssemblyInfo
 
   ADD_TO_COMPONENT
   WebAssembly
index 4296ab1..7c167ad 100644 (file)
@@ -93,10 +93,13 @@ add_llvm_target(X86CodeGen ${sources}
   LINK_COMPONENTS
   Analysis
   AsmPrinter
+  CFGuard
   CodeGen
   Core
+  GlobalISel
   Instrumentation
   MC
+  ProfileData
   SelectionDAG
   Support
   Target
@@ -104,13 +107,10 @@ add_llvm_target(X86CodeGen ${sources}
   TransformUtils
   X86Desc
   X86Info
-  GlobalISel
-  ProfileData
-  CFGuard
 
   ADD_TO_COMPONENT
   X86
-)
+  )
 
 add_subdirectory(AsmParser)
 add_subdirectory(Disassembler)
index 7a97023..d03dabb 100644 (file)
@@ -3,12 +3,12 @@ add_llvm_component_library(LLVMX86TargetMCA
 
   LINK_COMPONENTS
   MC
+  MCA
   MCParser
-  X86Desc
-  X86Info
   Support
   TargetParser
-  MCA
+  X86Desc
+  X86Info
 
   ADD_TO_COMPONENT
   X86
index ef6a02e..d021ff6 100644 (file)
@@ -17,12 +17,12 @@ add_llvm_component_library(LLVMX86Desc
   X86WinCOFFTargetStreamer.cpp
 
   LINK_COMPONENTS
+  BinaryFormat
   MC
   MCDisassembler
   Support
   TargetParser
   X86Info
-  BinaryFormat
 
   ADD_TO_COMPONENT
   X86
index 52da6cc..d35ff53 100644 (file)
@@ -2,8 +2,8 @@ add_llvm_component_library(LLVMXCoreDisassembler
   XCoreDisassembler.cpp
 
   LINK_COMPONENTS
-  MCDisassembler
   MC
+  MCDisassembler
   Support
   XCoreInfo
 
index 37290d9..9470e73 100644 (file)
@@ -7,12 +7,12 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsDescs
   AllTargetsInfos
   AsmPrinter
-  DebugInfoDWARF
+  CodeGen
   DWARFLinker
   DWARFLinkerParallel
+  DebugInfoDWARF
   MC
   Object
-  CodeGen
   Option
   Remarks
   Support
index b36f5d7..1827317 100644 (file)
@@ -1,11 +1,11 @@
 set(LLVM_LINK_COMPONENTS
   AllTargetsDescs
-  AllTargetsInfos
   AllTargetsDisassemblers
+  AllTargetsInfos
   BinaryFormat
-  DebugInfoLogicalView
   DebugInfoCodeView
   DebugInfoDWARF
+  DebugInfoLogicalView
   DebugInfoPDB
   MC
   MCDisassembler
index 4210250..9374ae0 100644 (file)
@@ -3,9 +3,12 @@ tablegen(LLVM Options.inc -gen-opt-parser-defs)
 add_public_tablegen_target(DwarfutilTableGen)
 
 set(LLVM_LINK_COMPONENTS
-  DebugInfoDWARF
+  AllTargetsCodeGens
+  AllTargetsDescs
+  AllTargetsInfos
   DWARFLinker
   DWARFLinkerParallel
+  DebugInfoDWARF
   MC
   ObjCopy
   Object
@@ -13,9 +16,6 @@ set(LLVM_LINK_COMPONENTS
   Support
   Target
   TargetParser
-  AllTargetsCodeGens
-  AllTargetsDescs
-  AllTargetsInfos
   )
 
 add_llvm_tool(llvm-dwarfutil
index 554eabd..2dc948d 100644 (file)
@@ -5,10 +5,10 @@ include_directories(
 
 set(LLVM_LINK_COMPONENTS
   AArch64
-  Exegesis
   Core
-  Support
+  Exegesis
   MC
+  Support
   )
 
 add_llvm_library(LLVMExegesisAArch64
index 99d7034..4661c21 100644 (file)
@@ -4,12 +4,12 @@ include_directories(
   )
 
 set(LLVM_LINK_COMPONENTS
-  Mips
-  Exegesis
   Core
+  Exegesis
+  MC
+  Mips
   Support
   TargetParser
-  MC
   )
 
 add_llvm_library(LLVMExegesisMips
index 9483844..2766f76 100644 (file)
@@ -4,12 +4,12 @@ include_directories(
   )
 
 set(LLVM_LINK_COMPONENTS
-  PowerPC
-  Exegesis
   Core
+  Exegesis
+  MC
+  PowerPC
   Support
   TargetParser
-  MC
   )
 
 add_llvm_library(LLVMExegesisPowerPC
index 1e74109..1d59a67 100644 (file)
@@ -4,13 +4,13 @@ include_directories(
   )
 
 set(LLVM_LINK_COMPONENTS
-  X86
-  Exegesis
+  CodeGen
   Core
+  Exegesis
+  MC
   Support
   TargetParser
-  CodeGen
-  MC
+  X86
   )
 
 add_llvm_library(LLVMExegesisX86
index 5624005..4bbbffa 100644 (file)
@@ -11,5 +11,4 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-gsymutil
   llvm-gsymutil.cpp
-
   )
index 23bc1ec..fe89646 100644 (file)
@@ -2,11 +2,11 @@ set(LLVM_LINK_COMPONENTS
   BinaryFormat
   InterfaceStub
   Object
+  ObjectYAML
+  Option
   Support
   TargetParser
   TextAPI
-  ObjectYAML
-  Option
   )
 
 set(LLVM_TARGET_DEFINITIONS Opts.td)
index 8484b3b..d310df9 100644 (file)
@@ -1,8 +1,8 @@
 set(LLVM_LINK_COMPONENTS
-  IRReader
   BitReader
   BitWriter
   Core
+  IRReader
   Support
   )
 
index 906de66..ed75c33 100644 (file)
@@ -1,4 +1,5 @@
 set(LLVM_LINK_COMPONENTS
+  AggressiveInstCombine
   AllTargetsAsmParsers
   AllTargetsCodeGens
   AllTargetsDescs
@@ -9,23 +10,22 @@ set(LLVM_LINK_COMPONENTS
   CodeGen
   Core
   Coroutines
+  FuzzMutate
+  FuzzerCLI
   IPO
   IRReader
-  AggressiveInstCombine
   InstCombine
   Instrumentation
-  FuzzerCLI
-  FuzzMutate
   MC
   ObjCARCOpts
+  Passes
   ScalarOpts
   Support
   Target
   TargetParser
   TransformUtils
   Vectorize
-  Passes
-)
+  )
 
 add_llvm_fuzzer(llvm-opt-fuzzer
   llvm-opt-fuzzer.cpp
index 71257c2..130d309 100644 (file)
@@ -1,4 +1,10 @@
-set(LLVM_LINK_COMPONENTS Core Demangle Object Remarks Support)
+set(LLVM_LINK_COMPONENTS
+  Core
+  Demangle
+  Object
+  Remarks
+  Support
+  )
 
 add_llvm_tool(llvm-opt-report
   OptReport.cpp
index 0cf36d1..38bf048 100644 (file)
@@ -1,8 +1,8 @@
 set(LLVM_LINK_COMPONENTS
   Core
-  ProfileData
-  Object
   DebugInfoDWARF
+  Object
+  ProfileData
   Support
   )
 
index e31e7a0..cfbdc17 100644 (file)
@@ -1,15 +1,14 @@
 set(LLVM_LINK_COMPONENTS
+  BinaryFormat
   DebugInfoCodeView
   DebugInfoDWARF
+  DebugInfoMSF
+  DebugInfoPDB
   Demangle
   Object
-  BinaryFormat
   Option
   Support
   TargetParser
-  DebugInfoCodeView
-  DebugInfoMSF
-  DebugInfoPDB
   )
 
 set(LLVM_TARGET_DEFINITIONS Opts.td)
index b1e8fec..810fa55 100644 (file)
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
   BitWriter
   CodeGen
   Core
+  IPO
   IRReader
   MC
   MIRParser
@@ -16,7 +17,6 @@ set(LLVM_LINK_COMPONENTS
   Target
   TargetParser
   TransformUtils
-  IPO
   )
 
 add_llvm_tool(llvm-reduce
index c963c1f..4391867 100644 (file)
@@ -1,5 +1,11 @@
-set(LLVM_LINK_COMPONENTS Core Demangle Object Remarks Support)
+set(LLVM_LINK_COMPONENTS
+  Core
+  Demangle
+  Object
+  Remarks
+  Support
+  )
 
 add_llvm_tool(llvm-remark-size-diff
   RemarkSizeDiff.cpp
-)
+  )
index 2def6b8..f33e7bc 100644 (file)
@@ -1,5 +1,11 @@
-set(LLVM_LINK_COMPONENTS Core Demangle Object Remarks Support)
+set(LLVM_LINK_COMPONENTS
+  Core
+  Demangle
+  Object
+  Remarks
+  Support
+  )
 
 add_llvm_tool(llvm-remarkutil
   RemarkUtil.cpp
-)
+  )
index e273195..bda2faa 100644 (file)
@@ -8,8 +8,8 @@ set(LLVM_LINK_COMPONENTS
   MCDisassembler
   Object
   Support
-  TargetParser
   Symbolize
+  TargetParser
   )
 
 add_llvm_tool(sancov
index 9f27c03..e068061 100644 (file)
@@ -1,6 +1,6 @@
 set(LLVM_LINK_COMPONENTS
-  Support
   DWARFLinkerParallel
+  Support
   )
 
 add_llvm_unittest(DWARFLinkerParallelTests
index 7650c72..c6f6014 100644 (file)
@@ -1,10 +1,10 @@
 set(LLVM_LINK_COMPONENTS
   Analysis
   Core
-  FrontendOpenMP
   FrontendOpenACC
-  Support
+  FrontendOpenMP
   Passes
+  Support
   TargetParser
   TransformUtils
   )
index cdb307b..4a719aa 100644 (file)
@@ -5,9 +5,9 @@ include_directories(
 
 set(LLVM_LINK_COMPONENTS
   AArch64CodeGen
-  AArch64Utils
   AArch64Desc
   AArch64Info
+  AArch64Utils
   AsmParser
   CodeGen
   Core
index cd52263..7167b70 100644 (file)
@@ -16,7 +16,7 @@ set(LLVM_LINK_COMPONENTS
   Support
   Target
   TargetParser
-)
+  )
 
 add_llvm_target_unittest(ARMTests
   MachineInstrTest.cpp
index 91dc838..44d695f 100644 (file)
@@ -4,11 +4,11 @@ include_directories(
   )
 
 set(LLVM_LINK_COMPONENTS
+  CodeGen
+  Core
   LoongArchCodeGen
   LoongArchDesc
   LoongArchInfo
-  CodeGen
-  Core
   MC
   MIRParser
   SelectionDAG
index db59773..ff39b07 100644 (file)
@@ -8,10 +8,10 @@ set(LLVM_LINK_COMPONENTS
   AsmParser
   CodeGen
   Core
-  Passes
   InstCombine
   MC
   MIRParser
+  Passes
   Support
   Target
   TargetParser
index 2cb5be6..aeda32d 100644 (file)
@@ -1,6 +1,6 @@
 set(LLVM_LINK_COMPONENTS
   TextAPI
-)
+  )
 
 add_llvm_unittest(TextAPITests
   TextStubV1Tests.cpp
@@ -8,6 +8,6 @@ add_llvm_unittest(TextAPITests
   TextStubV3Tests.cpp
   TextStubV4Tests.cpp
   TextStubV5Tests.cpp
-)
+  )
 
 target_link_libraries(TextAPITests PRIVATE LLVMTestingSupport)