blob: a0462091a3140d041db4d4af461fd2298116f030 [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
Duncan P. N. Exon Smith176b6912014-10-03 20:01:09 +000013 DebugInfoTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000014 DominatorTreeTest.cpp
Chandler Carruthebabadf2012-07-16 07:44:45 +000015 IRBuilderTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000016 InstructionsTest.cpp
Chandler Carruth4b6845c2014-03-04 12:46:06 +000017 LeakDetectorTest.cpp
Chandler Carruth7caea412013-11-09 12:26:54 +000018 LegacyPassManagerTest.cpp
Chandler Carruthec7ad652012-07-15 23:26:50 +000019 MDBuilderTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000020 MetadataTest.cpp
Chandler Carruth90a835d2013-11-09 13:09:08 +000021 PassManagerTest.cpp
Arnold Schwaighofereb4f2d62013-05-05 02:14:28 +000022 PatternMatch.cpp
Chandler Carruth36e2ecf2012-07-15 23:45:24 +000023 TypeBuilderTest.cpp
Benjamin Kramer6d29c292012-08-04 09:52:39 +000024 TypesTest.cpp
Duncan P. N. Exon Smith1698de22014-07-24 00:53:19 +000025 UseTest.cpp
Chandler Carruth4c1b05f2014-04-17 09:07:50 +000026 UserTest.cpp
Chandler Carruth4220e9c2014-03-04 11:17:44 +000027 ValueHandleTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000028 ValueMapTest.cpp
Benjamin Kramereee73f52013-04-12 08:33:11 +000029 ValueTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000030 VerifierTest.cpp
Gabor Greiffea6a552012-11-12 10:01:17 +000031 WaymarkTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000032 )
33
NAKAMURA Takumie14e13d2012-06-21 22:17:39 +000034# HACK: Declare a couple of source files as optionally compiled to satisfy the
35# missing-file-checker in LLVM's weird CMake build.
36set(LLVM_OPTIONAL_SOURCES
37 ValueMapTest.cpp
38 )
39
Chandler Carruth74b6a772013-01-07 15:35:46 +000040add_llvm_unittest(IRTests
41 ${IRSources}
Chandler Carruth94d02512012-06-21 09:51:26 +000042 )