blob: 824e7fc099b921d0f13c507cd6f7761f6caa8a2c [file] [log] [blame]
Chandler Carruth94d02512012-06-21 09:51:26 +00001set(LLVM_LINK_COMPONENTS
NAKAMURA Takumib5c4b8762013-12-10 11:13:32 +00002 Analysis
3 AsmParser
4 Core
5 IPA
6 Support
Chandler Carruth94d02512012-06-21 09:51:26 +00007 )
8
Chandler Carruth74b6a772013-01-07 15:35:46 +00009set(IRSources
Benjamin Kramer410780b2013-01-12 14:13:45 +000010 AttributesTest.cpp
Chandler Carruth8cd041e2014-03-04 12:24:34 +000011 ConstantRangeTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000012 ConstantsTest.cpp
13 DominatorTreeTest.cpp
Chandler Carruthebabadf2012-07-16 07:44:45 +000014 IRBuilderTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000015 InstructionsTest.cpp
Chandler Carruth4b6845c2014-03-04 12:46:06 +000016 LeakDetectorTest.cpp
Chandler Carruth7caea412013-11-09 12:26:54 +000017 LegacyPassManagerTest.cpp
Chandler Carruthec7ad652012-07-15 23:26:50 +000018 MDBuilderTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000019 MetadataTest.cpp
Chandler Carruth90a835d2013-11-09 13:09:08 +000020 PassManagerTest.cpp
Arnold Schwaighofereb4f2d62013-05-05 02:14:28 +000021 PatternMatch.cpp
Chandler Carruth36e2ecf2012-07-15 23:45:24 +000022 TypeBuilderTest.cpp
Benjamin Kramer6d29c292012-08-04 09:52:39 +000023 TypesTest.cpp
Duncan P. N. Exon Smith1698de22014-07-24 00:53:19 +000024 UseTest.cpp
Chandler Carruth4c1b05f2014-04-17 09:07:50 +000025 UserTest.cpp
Chandler Carruth4220e9c2014-03-04 11:17:44 +000026 ValueHandleTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000027 ValueMapTest.cpp
Benjamin Kramereee73f52013-04-12 08:33:11 +000028 ValueTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000029 VerifierTest.cpp
Gabor Greiffea6a552012-11-12 10:01:17 +000030 WaymarkTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000031 )
32
NAKAMURA Takumie14e13d2012-06-21 22:17:39 +000033# HACK: Declare a couple of source files as optionally compiled to satisfy the
34# missing-file-checker in LLVM's weird CMake build.
35set(LLVM_OPTIONAL_SOURCES
36 ValueMapTest.cpp
37 )
38
Chandler Carruth74b6a772013-01-07 15:35:46 +000039add_llvm_unittest(IRTests
40 ${IRSources}
Chandler Carruth94d02512012-06-21 09:51:26 +000041 )