clang_target_link_libraries(clangTidy
PRIVATE
- clangAnalysis
clangAST
clangASTMatchers
+ clangAnalysis
clangBasic
clangFormat
clangFrontend
set(LLVM_LINK_COMPONENTS
+ AggressiveInstCombine
Analysis
BitReader
BitWriter
IPO
IRPrinter
IRReader
- AggressiveInstCombine
InstCombine
Instrumentation
LTO
intrinsics_gen
LINK_LIBS
- clangAnalysis
clangAST
+ clangAnalysis
clangBasic
clangFrontend
clangLex
clangAST
clangAnalysis
clangBasic
+ clangCodeGen
clangDriver
clangEdit
clangFrontend
+ clangFrontendTool
clangLex
clangParse
clangSema
clangSerialization
- clangCodeGen
- clangFrontendTool
)
clangParse
clangSerialization
clangTooling
-)
+ )
clangAST
clangBasic
clangCodeGen
+ clangDependencyScanning
clangDriver
clangFrontend
clangFrontendTool
clangParse
clangSerialization
clangTooling
- clangDependencyScanning
)
clang_target_link_libraries(clang-scan-deps
clang_target_link_libraries(ClangAnalysisTests
PRIVATE
- clangAnalysis
clangAST
clangASTMatchers
+ clangAnalysis
clangBasic
clangFrontend
clangLex
clang_target_link_libraries(ClangAnalysisFlowSensitiveTests
PRIVATE
+ clangAST
+ clangASTMatchers
clangAnalysis
clangAnalysisFlowSensitive
clangAnalysisFlowSensitiveModels
- clangAST
- clangASTMatchers
clangBasic
clangFrontend
clangLex
target_link_libraries(DirectoryWatcherTests
PRIVATE
LLVMTestingSupport
- clangDirectoryWatcher
clangBasic
+ clangDirectoryWatcher
)
endif()
PRIVATE
clangAST
clangASTMatchers
- clangTooling
clangBasic
- clangSerialization
clangFrontend
+ clangSerialization
+ clangTooling
)
target_link_libraries(IntrospectionTests
PRIVATE
target_link_libraries(SemaTests
PRIVATE
- clangTesting
LLVMTestingAnnotations
LLVMTestingSupport
-)
+ clangTesting
+ )
intrinsics_gen
LINK_COMPONENTS
- BinaryFormat
- DebugInfoDWARF
AsmPrinter
+ BinaryFormat
CodeGen
+ DebugInfoDWARF
MC
Object
Support
intrinsics_gen
LINK_COMPONENTS
- BinaryFormat
- DebugInfoDWARF
AsmPrinter
+ BinaryFormat
CodeGen
+ DebugInfoDWARF
MC
Object
Support
-)
+ )
Object
Support
Target
-)
+ )
Target
TargetParser
TransformUtils
-)
+ )
AArch64Utils
Analysis
AsmPrinter
+ CFGuard
CodeGen
Core
+ GlobalISel
MC
Scalar
SelectionDAG
Target
TargetParser
TransformUtils
- GlobalISel
- CFGuard
ADD_TO_COMPONENT
AArch64
-)
+ )
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
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
AMDGPUAsmParser.cpp
LINK_COMPONENTS
- MC
- MCParser
AMDGPUDesc
AMDGPUInfo
AMDGPUUtils
+ MC
+ MCParser
Support
TargetParser
SIWholeQuadMode.cpp
LINK_COMPONENTS
+ AMDGPUDesc
+ AMDGPUInfo
+ AMDGPUUtils
Analysis
AsmPrinter
+ BinaryFormat
CodeGen
Core
+ GlobalISel
IPO
MC
+ MIRParser
Passes
- AMDGPUDesc
- AMDGPUInfo
- AMDGPUUtils
Scalar
SelectionDAG
Support
TargetParser
TransformUtils
Vectorize
- GlobalISel
- BinaryFormat
- MIRParser
ADD_TO_COMPONENT
AMDGPU
AMDGPUCustomBehaviour.cpp
LINK_COMPONENTS
- MC
- MCParser
AMDGPUDesc
AMDGPUInfo
AMDGPUUtils
+ MC
+ MCA
+ MCParser
Support
TargetParser
- MCA
ADD_TO_COMPONENT
AMDGPU
SIMCCodeEmitter.cpp
LINK_COMPONENTS
- Core
- MC
AMDGPUInfo
AMDGPUUtils
- Support
BinaryFormat
+ Core
+ MC
+ Support
TargetParser
ADD_TO_COMPONENT
AMDGPU
-)
+ )
add_dependencies(LLVMAMDGPUDesc LLVMAMDGPUUtils)
LINK_COMPONENTS
Analysis
+ BinaryFormat
Core
MC
- BinaryFormat
Support
TargetParser
LINK_COMPONENTS
ARMDesc
ARMInfo
+ ARMUtils
MC
MCParser
Support
TargetParser
- ARMUtils
ADD_TO_COMPONENT
ARM
LINK_COMPONENTS
ARMDesc
ARMInfo
+ ARMUtils
Analysis
AsmPrinter
+ CFGuard
CodeGen
Core
+ GlobalISel
IPO
MC
Scalar
Support
Target
TargetParser
- GlobalISel
- ARMUtils
TransformUtils
- CFGuard
ADD_TO_COMPONENT
ARM
LINK_COMPONENTS
ARMDesc
ARMInfo
- MCDisassembler
+ ARMUtils
MC
+ MCDisassembler
Support
- ARMUtils
ADD_TO_COMPONENT
ARM
LINK_COMPONENTS
ARMInfo
ARMUtils
+ BinaryFormat
MC
MCDisassembler
Support
- BinaryFormat
TargetParser
ADD_TO_COMPONENT
AVRAsmParser.cpp
LINK_COMPONENTS
- MC
- MCParser
AVRDesc
AVRInfo
+ MC
+ MCParser
Support
ADD_TO_COMPONENT
AVR
-)
+ )
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)
AVRDisassembler.cpp
LINK_COMPONENTS
- MCDisassembler
+ AVRInfo
MC
+ MCDisassembler
Support
- AVRInfo
ADD_TO_COMPONENT
AVR
-)
+ )
LINK_COMPONENTS
Analysis
AsmPrinter
- CodeGen
- Core
- MC
BPFDesc
BPFInfo
+ CodeGen
+ Core
IPO
+ MC
Scalar
SelectionDAG
Support
ADD_TO_COMPONENT
Hexagon
-)
+ )
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
LanaiAsmParser.cpp
LINK_COMPONENTS
+ LanaiDesc
+ LanaiInfo
MC
MCParser
Support
- LanaiDesc
- LanaiInfo
ADD_TO_COMPONENT
Lanai
ADD_TO_COMPONENT
Lanai
-)
+ )
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
AsmPrinter
CodeGen
Core
- MC
LoongArchDesc
LoongArchInfo
+ MC
Scalar
SelectionDAG
Support
ADD_TO_COMPONENT
MSP430
-)
+ )
AsmPrinter
CodeGen
Core
+ GlobalISel
MC
MipsDesc
MipsInfo
Support
Target
TargetParser
- GlobalISel
ADD_TO_COMPONENT
Mips
ADD_TO_COMPONENT
NVPTX
-)
+ )
add_subdirectory(MCTargetDesc)
add_subdirectory(TargetInfo)
BinaryFormat
CodeGen
Core
+ GlobalISel
MC
PowerPCDesc
PowerPCInfo
Target
TargetParser
TransformUtils
- GlobalISel
ADD_TO_COMPONENT
PowerPC
PPCXCOFFStreamer.cpp
LINK_COMPONENTS
+ BinaryFormat
MC
PowerPCInfo
Support
- BinaryFormat
TargetParser
ADD_TO_COMPONENT
LINK_COMPONENTS
Analysis
AsmPrinter
+ CodeGen
Core
+ GlobalISel
IPO
- CodeGen
MC
RISCVDesc
RISCVInfo
Target
TargetParser
TransformUtils
- GlobalISel
ADD_TO_COMPONENT
RISCV
LINK_COMPONENTS
MC
+ MCA
MCParser
RISCVDesc
RISCVInfo
Support
- MCA
ADD_TO_COMPONENT
RISCV
LINK_COMPONENTS
MC
MCParser
+ Support
VEDesc
VEInfo
- Support
ADD_TO_COMPONENT
VE
Core
MC
SelectionDAG
- VEDesc
- VEInfo
Support
Target
+ VEDesc
+ VEInfo
ADD_TO_COMPONENT
VE
VEDisassembler.cpp
LINK_COMPONENTS
- MCDisassembler
MC
- VEInfo
+ MCDisassembler
Support
+ VEInfo
ADD_TO_COMPONENT
VE
LINK_COMPONENTS
MC
- VEInfo
Support
TargetParser
+ VEInfo
ADD_TO_COMPONENT
VE
LINK_COMPONENTS
MC
MCParser
- WebAssemblyDesc
- WebAssemblyInfo
Support
TargetParser
+ WebAssemblyDesc
+ WebAssemblyInfo
ADD_TO_COMPONENT
WebAssembly
ADD_TO_COMPONENT
WebAssembly
-)
+ )
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
WebAssemblyDisassembler.cpp
LINK_COMPONENTS
- WebAssemblyDesc
+ MC
MCDisassembler
- WebAssemblyInfo
Support
- MC
+ WebAssemblyDesc
+ WebAssemblyInfo
ADD_TO_COMPONENT
WebAssembly
ADD_TO_COMPONENT
WebAssembly
-)
+ )
LINK_COMPONENTS
Analysis
AsmPrinter
+ CFGuard
CodeGen
Core
+ GlobalISel
Instrumentation
MC
+ ProfileData
SelectionDAG
Support
Target
TransformUtils
X86Desc
X86Info
- GlobalISel
- ProfileData
- CFGuard
ADD_TO_COMPONENT
X86
-)
+ )
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
LINK_COMPONENTS
MC
+ MCA
MCParser
- X86Desc
- X86Info
Support
TargetParser
- MCA
+ X86Desc
+ X86Info
ADD_TO_COMPONENT
X86
X86WinCOFFTargetStreamer.cpp
LINK_COMPONENTS
+ BinaryFormat
MC
MCDisassembler
Support
TargetParser
X86Info
- BinaryFormat
ADD_TO_COMPONENT
X86
XCoreDisassembler.cpp
LINK_COMPONENTS
- MCDisassembler
MC
+ MCDisassembler
Support
XCoreInfo
AllTargetsDescs
AllTargetsInfos
AsmPrinter
- DebugInfoDWARF
+ CodeGen
DWARFLinker
DWARFLinkerParallel
+ DebugInfoDWARF
MC
Object
- CodeGen
Option
Remarks
Support
set(LLVM_LINK_COMPONENTS
AllTargetsDescs
- AllTargetsInfos
AllTargetsDisassemblers
+ AllTargetsInfos
BinaryFormat
- DebugInfoLogicalView
DebugInfoCodeView
DebugInfoDWARF
+ DebugInfoLogicalView
DebugInfoPDB
MC
MCDisassembler
add_public_tablegen_target(DwarfutilTableGen)
set(LLVM_LINK_COMPONENTS
- DebugInfoDWARF
+ AllTargetsCodeGens
+ AllTargetsDescs
+ AllTargetsInfos
DWARFLinker
DWARFLinkerParallel
+ DebugInfoDWARF
MC
ObjCopy
Object
Support
Target
TargetParser
- AllTargetsCodeGens
- AllTargetsDescs
- AllTargetsInfos
)
add_llvm_tool(llvm-dwarfutil
set(LLVM_LINK_COMPONENTS
AArch64
- Exegesis
Core
- Support
+ Exegesis
MC
+ Support
)
add_llvm_library(LLVMExegesisAArch64
)
set(LLVM_LINK_COMPONENTS
- Mips
- Exegesis
Core
+ Exegesis
+ MC
+ Mips
Support
TargetParser
- MC
)
add_llvm_library(LLVMExegesisMips
)
set(LLVM_LINK_COMPONENTS
- PowerPC
- Exegesis
Core
+ Exegesis
+ MC
+ PowerPC
Support
TargetParser
- MC
)
add_llvm_library(LLVMExegesisPowerPC
)
set(LLVM_LINK_COMPONENTS
- X86
- Exegesis
+ CodeGen
Core
+ Exegesis
+ MC
Support
TargetParser
- CodeGen
- MC
+ X86
)
add_llvm_library(LLVMExegesisX86
add_llvm_tool(llvm-gsymutil
llvm-gsymutil.cpp
-
)
BinaryFormat
InterfaceStub
Object
+ ObjectYAML
+ Option
Support
TargetParser
TextAPI
- ObjectYAML
- Option
)
set(LLVM_TARGET_DEFINITIONS Opts.td)
set(LLVM_LINK_COMPONENTS
- IRReader
BitReader
BitWriter
Core
+ IRReader
Support
)
set(LLVM_LINK_COMPONENTS
+ AggressiveInstCombine
AllTargetsAsmParsers
AllTargetsCodeGens
AllTargetsDescs
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
-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
set(LLVM_LINK_COMPONENTS
Core
- ProfileData
- Object
DebugInfoDWARF
+ Object
+ ProfileData
Support
)
set(LLVM_LINK_COMPONENTS
+ BinaryFormat
DebugInfoCodeView
DebugInfoDWARF
+ DebugInfoMSF
+ DebugInfoPDB
Demangle
Object
- BinaryFormat
Option
Support
TargetParser
- DebugInfoCodeView
- DebugInfoMSF
- DebugInfoPDB
)
set(LLVM_TARGET_DEFINITIONS Opts.td)
BitWriter
CodeGen
Core
+ IPO
IRReader
MC
MIRParser
Target
TargetParser
TransformUtils
- IPO
)
add_llvm_tool(llvm-reduce
-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
-)
+ )
-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
-)
+ )
MCDisassembler
Object
Support
- TargetParser
Symbolize
+ TargetParser
)
add_llvm_tool(sancov
set(LLVM_LINK_COMPONENTS
- Support
DWARFLinkerParallel
+ Support
)
add_llvm_unittest(DWARFLinkerParallelTests
set(LLVM_LINK_COMPONENTS
Analysis
Core
- FrontendOpenMP
FrontendOpenACC
- Support
+ FrontendOpenMP
Passes
+ Support
TargetParser
TransformUtils
)
set(LLVM_LINK_COMPONENTS
AArch64CodeGen
- AArch64Utils
AArch64Desc
AArch64Info
+ AArch64Utils
AsmParser
CodeGen
Core
Support
Target
TargetParser
-)
+ )
add_llvm_target_unittest(ARMTests
MachineInstrTest.cpp
)
set(LLVM_LINK_COMPONENTS
+ CodeGen
+ Core
LoongArchCodeGen
LoongArchDesc
LoongArchInfo
- CodeGen
- Core
MC
MIRParser
SelectionDAG
AsmParser
CodeGen
Core
- Passes
InstCombine
MC
MIRParser
+ Passes
Support
Target
TargetParser
set(LLVM_LINK_COMPONENTS
TextAPI
-)
+ )
add_llvm_unittest(TextAPITests
TextStubV1Tests.cpp
TextStubV3Tests.cpp
TextStubV4Tests.cpp
TextStubV5Tests.cpp
-)
+ )
target_link_libraries(TextAPITests PRIVATE LLVMTestingSupport)