1set(LLVM_LINK_COMPONENTS 2 Analysis 3 AsmParser 4 Core 5 Support 6 Passes 7 TransformUtils 8 ScalarOpts 9 ) 10 11add_llvm_unittest(IRTests 12 AbstractCallSiteTest.cpp 13 AsmWriterTest.cpp 14 AttributesTest.cpp 15 BasicBlockTest.cpp 16 CFGBuilder.cpp 17 ConstantRangeTest.cpp 18 ConstantsTest.cpp 19 DataLayoutTest.cpp 20 DebugInfoTest.cpp 21 DebugTypeODRUniquingTest.cpp 22 DemandedBitsTest.cpp 23 DominatorTreeTest.cpp 24 DominatorTreeBatchUpdatesTest.cpp 25 FunctionTest.cpp 26 PassBuilderCallbacksTest.cpp 27 IRBuilderTest.cpp 28 InstructionsTest.cpp 29 IntrinsicsTest.cpp 30 LegacyPassManagerTest.cpp 31 MDBuilderTest.cpp 32 ManglerTest.cpp 33 MetadataTest.cpp 34 ModuleTest.cpp 35 PassManagerTest.cpp 36 PatternMatch.cpp 37 TimePassesTest.cpp 38 TypesTest.cpp 39 UseTest.cpp 40 UserTest.cpp 41 ValueHandleTest.cpp 42 ValueMapTest.cpp 43 ValueTest.cpp 44 VectorTypesTest.cpp 45 VerifierTest.cpp 46 VPIntrinsicTest.cpp 47 ) 48 49target_link_libraries(IRTests PRIVATE LLVMTestingSupport) 50