1set(LLVM_LINK_COMPONENTS 2 Analysis 3 AsmParser 4 Core 5 Support 6 Passes 7 TargetParser 8 TransformUtils 9 ScalarOpts 10 ) 11 12add_llvm_unittest(IRTests 13 AbstractCallSiteTest.cpp 14 AsmWriterTest.cpp 15 AttributesTest.cpp 16 BasicBlockTest.cpp 17 BasicBlockDbgInfoTest.cpp 18 CFGBuilder.cpp 19 ConstantFPRangeTest.cpp 20 ConstantRangeTest.cpp 21 ConstantRangeListTest.cpp 22 ConstantsTest.cpp 23 DataLayoutTest.cpp 24 DebugInfoTest.cpp 25 DebugTypeODRUniquingTest.cpp 26 DemandedBitsTest.cpp 27 DominatorTreeTest.cpp 28 DominatorTreeBatchUpdatesTest.cpp 29 DroppedVariableStatsIRTest.cpp 30 FunctionTest.cpp 31 PassBuilderCallbacksTest.cpp 32 IRBuilderTest.cpp 33 InstructionsTest.cpp 34 IntrinsicsTest.cpp 35 LegacyPassManagerTest.cpp 36 MDBuilderTest.cpp 37 MemoryModelRelaxationAnnotationsTest.cpp 38 ManglerTest.cpp 39 MetadataTest.cpp 40 ModuleTest.cpp 41 ModuleSummaryIndexTest.cpp 42 PassManagerTest.cpp 43 PatternMatch.cpp 44 ShuffleVectorInstTest.cpp 45 StructuralHashTest.cpp 46 TimePassesTest.cpp 47 TypesTest.cpp 48 UseTest.cpp 49 UserTest.cpp 50 ValueHandleTest.cpp 51 ValueMapTest.cpp 52 ValueTest.cpp 53 VectorBuilderTest.cpp 54 VectorTypeUtilsTest.cpp 55 VectorTypesTest.cpp 56 VerifierTest.cpp 57 VFABIDemanglerTest.cpp 58 VPIntrinsicTest.cpp 59 CoreBindings.cpp 60 ) 61 62target_link_libraries(IRTests PRIVATE LLVMTestingSupport) 63