1set(LLVM_LINK_COMPONENTS 2 Analysis 3 AsmParser 4 Core 5 Support 6 ) 7 8set(IRSources 9 AsmWriterTest.cpp 10 AttributesTest.cpp 11 ConstantRangeTest.cpp 12 ConstantsTest.cpp 13 DebugInfoTest.cpp 14 DebugTypeODRUniquingTest.cpp 15 DominatorTreeTest.cpp 16 FunctionTest.cpp 17 IRBuilderTest.cpp 18 InstructionsTest.cpp 19 IntrinsicsTest.cpp 20 LegacyPassManagerTest.cpp 21 MDBuilderTest.cpp 22 MetadataTest.cpp 23 PassManagerTest.cpp 24 PatternMatch.cpp 25 TypeBuilderTest.cpp 26 TypesTest.cpp 27 UseTest.cpp 28 UserTest.cpp 29 ValueHandleTest.cpp 30 ValueMapTest.cpp 31 ValueTest.cpp 32 VerifierTest.cpp 33 WaymarkTest.cpp 34 ) 35 36# HACK: Declare a couple of source files as optionally compiled to satisfy the 37# missing-file-checker in LLVM's weird CMake build. 38set(LLVM_OPTIONAL_SOURCES 39 ValueMapTest.cpp 40 ) 41 42add_llvm_unittest(IRTests 43 ${IRSources} 44 ) 45