59 lines · plain
1set(LLVM_LINK_COMPONENTS2 ${LLVM_TARGETS_TO_BUILD}3 Analysis4 AsmParser5 AsmPrinter6 CodeGen7 CodeGenTypes8 Core9 FileCheck10 IRPrinter11 MC12 MIRParser13 Passes14 ScalarOpts15 SelectionDAG16 Support17 Target18 TargetParser19 TransformUtils20 )21 22add_llvm_unittest(CodeGenTests23 AllocationOrderTest.cpp24 AMDGPUMetadataTest.cpp25 AsmPrinterDwarfTest.cpp26 CCStateTest.cpp27 DIEHashTest.cpp28 DIETest.cpp29 DroppedVariableStatsMIRTest.cpp30 DwarfStringPoolEntryRefTest.cpp31 GCMetadata.cpp32 InstrRefLDVTest.cpp33 LowLevelTypeTest.cpp34 LexicalScopesTest.cpp35 MachineBasicBlockTest.cpp36 MachineDomTreeUpdaterTest.cpp37 MachineInstrBundleIteratorTest.cpp38 MachineInstrTest.cpp39 MachineOperandTest.cpp40 MIR2VecTest.cpp41 RegAllocScoreTest.cpp42 RegisterTest.cpp43 PassManagerTest.cpp44 ScalableVectorMVTsTest.cpp45 SchedBoundary.cpp46 SelectionDAGAddressAnalysisTest.cpp47 SelectionDAGNodeConstructionTest.cpp48 SelectionDAGPatternMatchTest.cpp49 TypeTraitsTest.cpp50 TargetOptionsTest.cpp51 TestAsmPrinter.cpp52 X86MCInstLowerTest.cpp53 )54 55add_subdirectory(GlobalISel)56add_subdirectory(CGPluginTest)57 58target_link_libraries(CodeGenTests PRIVATE LLVMTestingSupport)59