blob: 15f869c6bd419fd1945db33e087ed34d55e045b9 [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
NAKAMURA Takumib5c4b8762013-12-10 11:13:32 +00005 Support
Philip Pfaffe730f2f92017-07-10 10:57:55 +00006 Passes
Chandler Carruth94d02512012-06-21 09:51:26 +00007 )
8
Chandler Carruth74b6a772013-01-07 15:35:46 +00009set(IRSources
Mehdi Aminib9b50aa2016-01-07 20:14:30 +000010 AsmWriterTest.cpp
Benjamin Kramer410780b2013-01-12 14:13:45 +000011 AttributesTest.cpp
Chandler Carruth8fa1e372017-05-26 03:10:00 +000012 BasicBlockTest.cpp
Jakub Kuderskieb370ad2017-07-13 21:16:01 +000013 CFGBuilder.cpp
Chandler Carruth8cd041e2014-03-04 12:24:34 +000014 ConstantRangeTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000015 ConstantsTest.cpp
Duncan P. N. Exon Smith176b6912014-10-03 20:01:09 +000016 DebugInfoTest.cpp
Duncan P. N. Exon Smith15617092016-04-19 17:11:06 +000017 DebugTypeODRUniquingTest.cpp
Brian M. Rzycki9b7ae232018-01-12 21:06:48 +000018 DeferredDominanceTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000019 DominatorTreeTest.cpp
Jakub Kuderski624463a2017-08-16 16:12:52 +000020 DominatorTreeBatchUpdatesTest.cpp
Duncan P. N. Exon Smithbdfc9842016-04-06 06:38:15 +000021 FunctionTest.cpp
Philip Pfaffe730f2f92017-07-10 10:57:55 +000022 PassBuilderCallbacksTest.cpp
Chandler Carruthebabadf2012-07-16 07:44:45 +000023 IRBuilderTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000024 InstructionsTest.cpp
Reid Klecknerc2752da2016-01-26 22:33:19 +000025 IntrinsicsTest.cpp
Chandler Carruth7caea412013-11-09 12:26:54 +000026 LegacyPassManagerTest.cpp
Chandler Carruthec7ad652012-07-15 23:26:50 +000027 MDBuilderTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000028 MetadataTest.cpp
Duncan P. N. Exon Smithac798972016-08-30 16:23:55 +000029 ModuleTest.cpp
Chandler Carruth90a835d2013-11-09 13:09:08 +000030 PassManagerTest.cpp
Arnold Schwaighofereb4f2d62013-05-05 02:14:28 +000031 PatternMatch.cpp
Chandler Carruth36e2ecf2012-07-15 23:45:24 +000032 TypeBuilderTest.cpp
Benjamin Kramer6d29c292012-08-04 09:52:39 +000033 TypesTest.cpp
Duncan P. N. Exon Smith1698de22014-07-24 00:53:19 +000034 UseTest.cpp
Chandler Carruth4c1b05f2014-04-17 09:07:50 +000035 UserTest.cpp
Chandler Carruth4220e9c2014-03-04 11:17:44 +000036 ValueHandleTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000037 ValueMapTest.cpp
Benjamin Kramereee73f52013-04-12 08:33:11 +000038 ValueTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000039 VerifierTest.cpp
Gabor Greiffea6a552012-11-12 10:01:17 +000040 WaymarkTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000041 )
42
NAKAMURA Takumie14e13d2012-06-21 22:17:39 +000043# HACK: Declare a couple of source files as optionally compiled to satisfy the
44# missing-file-checker in LLVM's weird CMake build.
45set(LLVM_OPTIONAL_SOURCES
46 ValueMapTest.cpp
47 )
48
Chandler Carruth74b6a772013-01-07 15:35:46 +000049add_llvm_unittest(IRTests
50 ${IRSources}
Chandler Carruth94d02512012-06-21 09:51:26 +000051 )