| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 1 | set(LLVM_LINK_COMPONENTS |
| NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 2 | Analysis |
| 3 | AsmParser | ||||
| 4 | Core | ||||
| NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 5 | Support |
| Philip Pfaffe | 730f2f9 | 2017-07-10 10:57:55 +0000 | [diff] [blame] | 6 | Passes |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 7 | ) |
| 8 | |||||
| Chandler Carruth | 74b6a77 | 2013-01-07 15:35:46 +0000 | [diff] [blame] | 9 | set(IRSources |
| Mehdi Amini | b9b50aa | 2016-01-07 20:14:30 +0000 | [diff] [blame] | 10 | AsmWriterTest.cpp |
| Benjamin Kramer | 410780b | 2013-01-12 14:13:45 +0000 | [diff] [blame] | 11 | AttributesTest.cpp |
| Chandler Carruth | 8fa1e37 | 2017-05-26 03:10:00 +0000 | [diff] [blame] | 12 | BasicBlockTest.cpp |
| Jakub Kuderski | eb370ad | 2017-07-13 21:16:01 +0000 | [diff] [blame] | 13 | CFGBuilder.cpp |
| Chandler Carruth | 8cd041e | 2014-03-04 12:24:34 +0000 | [diff] [blame] | 14 | ConstantRangeTest.cpp |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 15 | ConstantsTest.cpp |
| Duncan P. N. Exon Smith | 176b691 | 2014-10-03 20:01:09 +0000 | [diff] [blame] | 16 | DebugInfoTest.cpp |
| Duncan P. N. Exon Smith | 1561709 | 2016-04-19 17:11:06 +0000 | [diff] [blame] | 17 | DebugTypeODRUniquingTest.cpp |
| Brian M. Rzycki | 9b7ae23 | 2018-01-12 21:06:48 +0000 | [diff] [blame] | 18 | DeferredDominanceTest.cpp |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 19 | DominatorTreeTest.cpp |
| Jakub Kuderski | 624463a | 2017-08-16 16:12:52 +0000 | [diff] [blame] | 20 | DominatorTreeBatchUpdatesTest.cpp |
| Duncan P. N. Exon Smith | bdfc984 | 2016-04-06 06:38:15 +0000 | [diff] [blame] | 21 | FunctionTest.cpp |
| Philip Pfaffe | 730f2f9 | 2017-07-10 10:57:55 +0000 | [diff] [blame] | 22 | PassBuilderCallbacksTest.cpp |
| Chandler Carruth | ebabadf | 2012-07-16 07:44:45 +0000 | [diff] [blame] | 23 | IRBuilderTest.cpp |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 24 | InstructionsTest.cpp |
| Reid Kleckner | c2752da | 2016-01-26 22:33:19 +0000 | [diff] [blame] | 25 | IntrinsicsTest.cpp |
| Chandler Carruth | 7caea41 | 2013-11-09 12:26:54 +0000 | [diff] [blame] | 26 | LegacyPassManagerTest.cpp |
| Chandler Carruth | ec7ad65 | 2012-07-15 23:26:50 +0000 | [diff] [blame] | 27 | MDBuilderTest.cpp |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 28 | MetadataTest.cpp |
| Duncan P. N. Exon Smith | ac79897 | 2016-08-30 16:23:55 +0000 | [diff] [blame] | 29 | ModuleTest.cpp |
| Chandler Carruth | 90a835d | 2013-11-09 13:09:08 +0000 | [diff] [blame] | 30 | PassManagerTest.cpp |
| Arnold Schwaighofer | eb4f2d6 | 2013-05-05 02:14:28 +0000 | [diff] [blame] | 31 | PatternMatch.cpp |
| Chandler Carruth | 36e2ecf | 2012-07-15 23:45:24 +0000 | [diff] [blame] | 32 | TypeBuilderTest.cpp |
| Benjamin Kramer | 6d29c29 | 2012-08-04 09:52:39 +0000 | [diff] [blame] | 33 | TypesTest.cpp |
| Duncan P. N. Exon Smith | 1698de2 | 2014-07-24 00:53:19 +0000 | [diff] [blame] | 34 | UseTest.cpp |
| Chandler Carruth | 4c1b05f | 2014-04-17 09:07:50 +0000 | [diff] [blame] | 35 | UserTest.cpp |
| Chandler Carruth | 4220e9c | 2014-03-04 11:17:44 +0000 | [diff] [blame] | 36 | ValueHandleTest.cpp |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 37 | ValueMapTest.cpp |
| Benjamin Kramer | eee73f5 | 2013-04-12 08:33:11 +0000 | [diff] [blame] | 38 | ValueTest.cpp |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 39 | VerifierTest.cpp |
| Gabor Greif | fea6a55 | 2012-11-12 10:01:17 +0000 | [diff] [blame] | 40 | WaymarkTest.cpp |
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 41 | ) |
| 42 | |||||
| NAKAMURA Takumi | e14e13d | 2012-06-21 22:17:39 +0000 | [diff] [blame] | 43 | # HACK: Declare a couple of source files as optionally compiled to satisfy the |
| 44 | # missing-file-checker in LLVM's weird CMake build. | ||||
| 45 | set(LLVM_OPTIONAL_SOURCES | ||||
| 46 | ValueMapTest.cpp | ||||
| 47 | ) | ||||
| 48 | |||||
| Chandler Carruth | 74b6a77 | 2013-01-07 15:35:46 +0000 | [diff] [blame] | 49 | add_llvm_unittest(IRTests |
| 50 | ${IRSources} | ||||
| Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 51 | ) |