1set(LLVM_LINK_COMPONENTS 2 ${LLVM_TARGETS_TO_BUILD} 3 Analysis 4 AsmParser 5 AsmPrinter 6 CodeGen 7 Core 8 MC 9 MIRParser 10 Passes 11 SelectionDAG 12 Support 13 Target 14 ) 15 16add_llvm_unittest(CodeGenTests 17 AArch64SelectionDAGTest.cpp 18 AllocationOrderTest.cpp 19 AsmPrinterDwarfTest.cpp 20 DIEHashTest.cpp 21 DIETest.cpp 22 LowLevelTypeTest.cpp 23 LexicalScopesTest.cpp 24 MachineInstrBundleIteratorTest.cpp 25 MachineInstrTest.cpp 26 MachineOperandTest.cpp 27 PassManagerTest.cpp 28 ScalableVectorMVTsTest.cpp 29 SelectionDAGAddressAnalysisTest.cpp 30 TypeTraitsTest.cpp 31 TargetOptionsTest.cpp 32 TestAsmPrinter.cpp 33 ) 34 35add_subdirectory(GlobalISel) 36 37target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport) 38