mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
[CMake] Reorder and reformat deps
This commit is contained in:
@@ -26,9 +26,9 @@ add_clang_library(clangTidy
|
||||
|
||||
clang_target_link_libraries(clangTidy
|
||||
PRIVATE
|
||||
clangAnalysis
|
||||
clangAST
|
||||
clangASTMatchers
|
||||
clangAnalysis
|
||||
clangBasic
|
||||
clangFormat
|
||||
clangFrontend
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,13 +21,13 @@ add_clang_library(clangInterpreter
|
||||
clangAST
|
||||
clangAnalysis
|
||||
clangBasic
|
||||
clangCodeGen
|
||||
clangDriver
|
||||
clangEdit
|
||||
clangFrontend
|
||||
clangFrontendTool
|
||||
clangLex
|
||||
clangParse
|
||||
clangSema
|
||||
clangSerialization
|
||||
clangCodeGen
|
||||
clangFrontendTool
|
||||
)
|
||||
|
||||
@@ -27,4 +27,4 @@ add_clang_library(clangDependencyScanning
|
||||
clangParse
|
||||
clangSerialization
|
||||
clangTooling
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -14,9 +14,9 @@ add_clang_unittest(ClangAnalysisTests
|
||||
|
||||
clang_target_link_libraries(ClangAnalysisTests
|
||||
PRIVATE
|
||||
clangAnalysis
|
||||
clangAST
|
||||
clangASTMatchers
|
||||
clangAnalysis
|
||||
clangBasic
|
||||
clangFrontend
|
||||
clangLex
|
||||
|
||||
@@ -27,11 +27,11 @@ add_clang_unittest(ClangAnalysisFlowSensitiveTests
|
||||
|
||||
clang_target_link_libraries(ClangAnalysisFlowSensitiveTests
|
||||
PRIVATE
|
||||
clangAST
|
||||
clangASTMatchers
|
||||
clangAnalysis
|
||||
clangAnalysisFlowSensitive
|
||||
clangAnalysisFlowSensitiveModels
|
||||
clangAST
|
||||
clangASTMatchers
|
||||
clangBasic
|
||||
clangFrontend
|
||||
clangLex
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -11,10 +11,10 @@ clang_target_link_libraries(IntrospectionTests
|
||||
PRIVATE
|
||||
clangAST
|
||||
clangASTMatchers
|
||||
clangTooling
|
||||
clangBasic
|
||||
clangSerialization
|
||||
clangFrontend
|
||||
clangSerialization
|
||||
clangTooling
|
||||
)
|
||||
target_link_libraries(IntrospectionTests
|
||||
PRIVATE
|
||||
|
||||
@@ -24,7 +24,7 @@ clang_target_link_libraries(SemaTests
|
||||
|
||||
target_link_libraries(SemaTests
|
||||
PRIVATE
|
||||
clangTesting
|
||||
LLVMTestingAnnotations
|
||||
LLVMTestingSupport
|
||||
)
|
||||
clangTesting
|
||||
)
|
||||
|
||||
@@ -11,10 +11,10 @@ add_llvm_component_library(LLVMDWARFLinker
|
||||
intrinsics_gen
|
||||
|
||||
LINK_COMPONENTS
|
||||
BinaryFormat
|
||||
DebugInfoDWARF
|
||||
AsmPrinter
|
||||
BinaryFormat
|
||||
CodeGen
|
||||
DebugInfoDWARF
|
||||
MC
|
||||
Object
|
||||
Support
|
||||
|
||||
@@ -9,11 +9,11 @@ add_llvm_component_library(LLVMDWARFLinkerParallel
|
||||
intrinsics_gen
|
||||
|
||||
LINK_COMPONENTS
|
||||
BinaryFormat
|
||||
DebugInfoDWARF
|
||||
AsmPrinter
|
||||
BinaryFormat
|
||||
CodeGen
|
||||
DebugInfoDWARF
|
||||
MC
|
||||
Object
|
||||
Support
|
||||
)
|
||||
)
|
||||
|
||||
@@ -14,4 +14,4 @@ add_llvm_component_library(LLVMDWP
|
||||
Object
|
||||
Support
|
||||
Target
|
||||
)
|
||||
)
|
||||
|
||||
@@ -36,4 +36,4 @@ add_llvm_component_library(LLVMLTO
|
||||
Target
|
||||
TargetParser
|
||||
TransformUtils
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,11 +2,11 @@ add_llvm_component_library(LLVMAMDGPUAsmParser
|
||||
AMDGPUAsmParser.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
MC
|
||||
MCParser
|
||||
AMDGPUDesc
|
||||
AMDGPUInfo
|
||||
AMDGPUUtils
|
||||
MC
|
||||
MCParser
|
||||
Support
|
||||
TargetParser
|
||||
|
||||
|
||||
@@ -165,16 +165,19 @@ add_llvm_target(AMDGPUCodeGen
|
||||
SIWholeQuadMode.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
Analysis
|
||||
AsmPrinter
|
||||
CodeGen
|
||||
Core
|
||||
IPO
|
||||
MC
|
||||
Passes
|
||||
AMDGPUDesc
|
||||
AMDGPUInfo
|
||||
AMDGPUUtils
|
||||
Analysis
|
||||
AsmPrinter
|
||||
BinaryFormat
|
||||
CodeGen
|
||||
Core
|
||||
GlobalISel
|
||||
IPO
|
||||
MC
|
||||
MIRParser
|
||||
Passes
|
||||
Scalar
|
||||
SelectionDAG
|
||||
Support
|
||||
@@ -182,9 +185,6 @@ add_llvm_target(AMDGPUCodeGen
|
||||
TargetParser
|
||||
TransformUtils
|
||||
Vectorize
|
||||
GlobalISel
|
||||
BinaryFormat
|
||||
MIRParser
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
AMDGPU
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -7,9 +7,9 @@ add_llvm_component_library(LLVMAMDGPUUtils
|
||||
|
||||
LINK_COMPONENTS
|
||||
Analysis
|
||||
BinaryFormat
|
||||
Core
|
||||
MC
|
||||
BinaryFormat
|
||||
Support
|
||||
TargetParser
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ add_llvm_component_library(LLVMARMAsmParser
|
||||
LINK_COMPONENTS
|
||||
ARMDesc
|
||||
ARMInfo
|
||||
ARMUtils
|
||||
MC
|
||||
MCParser
|
||||
Support
|
||||
TargetParser
|
||||
ARMUtils
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
ARM
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,10 +4,10 @@ add_llvm_component_library(LLVMARMDisassembler
|
||||
LINK_COMPONENTS
|
||||
ARMDesc
|
||||
ARMInfo
|
||||
MCDisassembler
|
||||
MC
|
||||
Support
|
||||
ARMUtils
|
||||
MC
|
||||
MCDisassembler
|
||||
Support
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
ARM
|
||||
|
||||
@@ -17,10 +17,10 @@ add_llvm_component_library(LLVMARMDesc
|
||||
LINK_COMPONENTS
|
||||
ARMInfo
|
||||
ARMUtils
|
||||
BinaryFormat
|
||||
MC
|
||||
MCDisassembler
|
||||
Support
|
||||
BinaryFormat
|
||||
TargetParser
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
|
||||
@@ -2,12 +2,12 @@ add_llvm_component_library(LLVMAVRAsmParser
|
||||
AVRAsmParser.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
MC
|
||||
MCParser
|
||||
AVRDesc
|
||||
AVRInfo
|
||||
MC
|
||||
MCParser
|
||||
Support
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
AVR
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -2,12 +2,12 @@ add_llvm_component_library(LLVMAVRDisassembler
|
||||
AVRDisassembler.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
MCDisassembler
|
||||
MC
|
||||
Support
|
||||
AVRInfo
|
||||
MC
|
||||
MCDisassembler
|
||||
Support
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
AVR
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -38,12 +38,12 @@ add_llvm_target(BPFCodeGen
|
||||
LINK_COMPONENTS
|
||||
Analysis
|
||||
AsmPrinter
|
||||
CodeGen
|
||||
Core
|
||||
MC
|
||||
BPFDesc
|
||||
BPFInfo
|
||||
CodeGen
|
||||
Core
|
||||
IPO
|
||||
MC
|
||||
Scalar
|
||||
SelectionDAG
|
||||
Support
|
||||
|
||||
@@ -87,7 +87,7 @@ add_llvm_target(HexagonCodeGen
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
Hexagon
|
||||
)
|
||||
)
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(Disassembler)
|
||||
|
||||
@@ -4,11 +4,11 @@ add_llvm_component_library(LLVMLanaiAsmParser
|
||||
LanaiAsmParser.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
LanaiDesc
|
||||
LanaiInfo
|
||||
MC
|
||||
MCParser
|
||||
Support
|
||||
LanaiDesc
|
||||
LanaiInfo
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
Lanai
|
||||
|
||||
@@ -47,7 +47,7 @@ add_llvm_target(LanaiCodeGen
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
Lanai
|
||||
)
|
||||
)
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(Disassembler)
|
||||
|
||||
@@ -32,9 +32,9 @@ add_llvm_target(LoongArchCodeGen
|
||||
AsmPrinter
|
||||
CodeGen
|
||||
Core
|
||||
MC
|
||||
LoongArchDesc
|
||||
LoongArchInfo
|
||||
MC
|
||||
Scalar
|
||||
SelectionDAG
|
||||
Support
|
||||
|
||||
@@ -10,4 +10,4 @@ add_llvm_component_library(LLVMMSP430AsmParser
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
MSP430
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -61,7 +61,7 @@ add_llvm_target(NVPTXCodeGen
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
NVPTX
|
||||
)
|
||||
)
|
||||
|
||||
add_subdirectory(MCTargetDesc)
|
||||
add_subdirectory(TargetInfo)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,10 +12,10 @@ add_llvm_component_library(LLVMPowerPCDesc
|
||||
PPCXCOFFStreamer.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
BinaryFormat
|
||||
MC
|
||||
PowerPCInfo
|
||||
Support
|
||||
BinaryFormat
|
||||
TargetParser
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
|
||||
@@ -51,9 +51,10 @@ add_llvm_target(RISCVCodeGen
|
||||
LINK_COMPONENTS
|
||||
Analysis
|
||||
AsmPrinter
|
||||
Core
|
||||
IPO
|
||||
CodeGen
|
||||
Core
|
||||
GlobalISel
|
||||
IPO
|
||||
MC
|
||||
RISCVDesc
|
||||
RISCVInfo
|
||||
@@ -62,7 +63,6 @@ add_llvm_target(RISCVCodeGen
|
||||
Target
|
||||
TargetParser
|
||||
TransformUtils
|
||||
GlobalISel
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
RISCV
|
||||
|
||||
@@ -3,11 +3,11 @@ add_llvm_component_library(LLVMRISCVTargetMCA
|
||||
|
||||
LINK_COMPONENTS
|
||||
MC
|
||||
MCA
|
||||
MCParser
|
||||
RISCVDesc
|
||||
RISCVInfo
|
||||
Support
|
||||
MCA
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
RISCV
|
||||
|
||||
@@ -4,9 +4,9 @@ add_llvm_component_library(LLVMVEAsmParser
|
||||
LINK_COMPONENTS
|
||||
MC
|
||||
MCParser
|
||||
Support
|
||||
VEDesc
|
||||
VEInfo
|
||||
Support
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
VE
|
||||
|
||||
@@ -35,10 +35,10 @@ add_llvm_target(VECodeGen
|
||||
Core
|
||||
MC
|
||||
SelectionDAG
|
||||
VEDesc
|
||||
VEInfo
|
||||
Support
|
||||
Target
|
||||
VEDesc
|
||||
VEInfo
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
VE
|
||||
|
||||
@@ -2,10 +2,10 @@ add_llvm_component_library(LLVMVEDisassembler
|
||||
VEDisassembler.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
MCDisassembler
|
||||
MC
|
||||
VEInfo
|
||||
MCDisassembler
|
||||
Support
|
||||
VEInfo
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
VE
|
||||
|
||||
@@ -10,9 +10,9 @@ add_llvm_component_library(LLVMVEDesc
|
||||
|
||||
LINK_COMPONENTS
|
||||
MC
|
||||
VEInfo
|
||||
Support
|
||||
TargetParser
|
||||
VEInfo
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
VE
|
||||
|
||||
@@ -5,10 +5,10 @@ add_llvm_component_library(LLVMWebAssemblyAsmParser
|
||||
LINK_COMPONENTS
|
||||
MC
|
||||
MCParser
|
||||
WebAssemblyDesc
|
||||
WebAssemblyInfo
|
||||
Support
|
||||
TargetParser
|
||||
WebAssemblyDesc
|
||||
WebAssemblyInfo
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
WebAssembly
|
||||
|
||||
@@ -80,7 +80,7 @@ add_llvm_target(WebAssemblyCodeGen
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
WebAssembly
|
||||
)
|
||||
)
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(Disassembler)
|
||||
|
||||
@@ -2,11 +2,11 @@ add_llvm_component_library(LLVMWebAssemblyDisassembler
|
||||
WebAssemblyDisassembler.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
WebAssemblyDesc
|
||||
MCDisassembler
|
||||
WebAssemblyInfo
|
||||
Support
|
||||
MC
|
||||
MCDisassembler
|
||||
Support
|
||||
WebAssemblyDesc
|
||||
WebAssemblyInfo
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
WebAssembly
|
||||
|
||||
@@ -16,4 +16,4 @@ add_llvm_component_library(LLVMWebAssemblyDesc
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
WebAssembly
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -17,12 +17,12 @@ add_llvm_component_library(LLVMX86Desc
|
||||
X86WinCOFFTargetStreamer.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
BinaryFormat
|
||||
MC
|
||||
MCDisassembler
|
||||
Support
|
||||
TargetParser
|
||||
X86Info
|
||||
BinaryFormat
|
||||
|
||||
ADD_TO_COMPONENT
|
||||
X86
|
||||
|
||||
@@ -2,8 +2,8 @@ add_llvm_component_library(LLVMXCoreDisassembler
|
||||
XCoreDisassembler.cpp
|
||||
|
||||
LINK_COMPONENTS
|
||||
MCDisassembler
|
||||
MC
|
||||
MCDisassembler
|
||||
Support
|
||||
XCoreInfo
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@ set(LLVM_LINK_COMPONENTS
|
||||
AllTargetsDescs
|
||||
AllTargetsInfos
|
||||
AsmPrinter
|
||||
DebugInfoDWARF
|
||||
CodeGen
|
||||
DWARFLinker
|
||||
DWARFLinkerParallel
|
||||
DebugInfoDWARF
|
||||
MC
|
||||
Object
|
||||
CodeGen
|
||||
Option
|
||||
Remarks
|
||||
Support
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
AllTargetsDescs
|
||||
AllTargetsInfos
|
||||
AllTargetsDisassemblers
|
||||
AllTargetsInfos
|
||||
BinaryFormat
|
||||
DebugInfoLogicalView
|
||||
DebugInfoCodeView
|
||||
DebugInfoDWARF
|
||||
DebugInfoLogicalView
|
||||
DebugInfoPDB
|
||||
MC
|
||||
MCDisassembler
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,10 +5,10 @@ include_directories(
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
AArch64
|
||||
Exegesis
|
||||
Core
|
||||
Support
|
||||
Exegesis
|
||||
MC
|
||||
Support
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMExegesisAArch64
|
||||
|
||||
@@ -4,12 +4,12 @@ include_directories(
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Mips
|
||||
Exegesis
|
||||
Core
|
||||
Exegesis
|
||||
MC
|
||||
Mips
|
||||
Support
|
||||
TargetParser
|
||||
MC
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMExegesisMips
|
||||
|
||||
@@ -4,12 +4,12 @@ include_directories(
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
PowerPC
|
||||
Exegesis
|
||||
Core
|
||||
Exegesis
|
||||
MC
|
||||
PowerPC
|
||||
Support
|
||||
TargetParser
|
||||
MC
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMExegesisPowerPC
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,5 +11,4 @@ set(LLVM_LINK_COMPONENTS
|
||||
|
||||
add_llvm_tool(llvm-gsymutil
|
||||
llvm-gsymutil.cpp
|
||||
|
||||
)
|
||||
|
||||
@@ -2,11 +2,11 @@ set(LLVM_LINK_COMPONENTS
|
||||
BinaryFormat
|
||||
InterfaceStub
|
||||
Object
|
||||
ObjectYAML
|
||||
Option
|
||||
Support
|
||||
TargetParser
|
||||
TextAPI
|
||||
ObjectYAML
|
||||
Option
|
||||
)
|
||||
|
||||
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
IRReader
|
||||
BitReader
|
||||
BitWriter
|
||||
Core
|
||||
IRReader
|
||||
Support
|
||||
)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Core
|
||||
ProfileData
|
||||
Object
|
||||
DebugInfoDWARF
|
||||
Object
|
||||
ProfileData
|
||||
Support
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
)
|
||||
|
||||
@@ -8,8 +8,8 @@ set(LLVM_LINK_COMPONENTS
|
||||
MCDisassembler
|
||||
Object
|
||||
Support
|
||||
TargetParser
|
||||
Symbolize
|
||||
TargetParser
|
||||
)
|
||||
|
||||
add_llvm_tool(sancov
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
DWARFLinkerParallel
|
||||
Support
|
||||
)
|
||||
|
||||
add_llvm_unittest(DWARFLinkerParallelTests
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Analysis
|
||||
Core
|
||||
FrontendOpenMP
|
||||
FrontendOpenACC
|
||||
Support
|
||||
FrontendOpenMP
|
||||
Passes
|
||||
Support
|
||||
TargetParser
|
||||
TransformUtils
|
||||
)
|
||||
|
||||
@@ -5,9 +5,9 @@ include_directories(
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
AArch64CodeGen
|
||||
AArch64Utils
|
||||
AArch64Desc
|
||||
AArch64Info
|
||||
AArch64Utils
|
||||
AsmParser
|
||||
CodeGen
|
||||
Core
|
||||
|
||||
@@ -16,7 +16,7 @@ set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
Target
|
||||
TargetParser
|
||||
)
|
||||
)
|
||||
|
||||
add_llvm_target_unittest(ARMTests
|
||||
MachineInstrTest.cpp
|
||||
|
||||
@@ -4,11 +4,11 @@ include_directories(
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
CodeGen
|
||||
Core
|
||||
LoongArchCodeGen
|
||||
LoongArchDesc
|
||||
LoongArchInfo
|
||||
CodeGen
|
||||
Core
|
||||
MC
|
||||
MIRParser
|
||||
SelectionDAG
|
||||
|
||||
@@ -8,10 +8,10 @@ set(LLVM_LINK_COMPONENTS
|
||||
AsmParser
|
||||
CodeGen
|
||||
Core
|
||||
Passes
|
||||
InstCombine
|
||||
MC
|
||||
MIRParser
|
||||
Passes
|
||||
Support
|
||||
Target
|
||||
TargetParser
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user