2012-06-21 09:51:26 +00:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2013-12-10 11:13:32 +00:00
|
|
|
Analysis
|
|
|
|
AsmParser
|
|
|
|
Core
|
|
|
|
IPA
|
|
|
|
Support
|
2012-06-21 09:51:26 +00:00
|
|
|
)
|
|
|
|
|
2013-01-07 15:35:46 +00:00
|
|
|
set(IRSources
|
2013-01-12 14:13:45 +00:00
|
|
|
AttributesTest.cpp
|
2014-03-04 12:24:34 +00:00
|
|
|
ConstantRangeTest.cpp
|
2012-06-21 09:51:26 +00:00
|
|
|
ConstantsTest.cpp
|
|
|
|
DominatorTreeTest.cpp
|
2012-07-16 07:44:45 +00:00
|
|
|
IRBuilderTest.cpp
|
2012-06-21 09:51:26 +00:00
|
|
|
InstructionsTest.cpp
|
2014-03-04 12:46:06 +00:00
|
|
|
LeakDetectorTest.cpp
|
2013-11-09 12:26:54 +00:00
|
|
|
LegacyPassManagerTest.cpp
|
2012-07-15 23:26:50 +00:00
|
|
|
MDBuilderTest.cpp
|
2012-06-21 09:51:26 +00:00
|
|
|
MetadataTest.cpp
|
2013-11-09 13:09:08 +00:00
|
|
|
PassManagerTest.cpp
|
2013-05-05 02:14:28 +00:00
|
|
|
PatternMatch.cpp
|
2012-07-15 23:45:24 +00:00
|
|
|
TypeBuilderTest.cpp
|
2012-08-04 09:52:39 +00:00
|
|
|
TypesTest.cpp
|
2014-07-24 00:53:19 +00:00
|
|
|
UseTest.cpp
|
2014-04-17 09:07:50 +00:00
|
|
|
UserTest.cpp
|
2014-03-04 11:17:44 +00:00
|
|
|
ValueHandleTest.cpp
|
2012-06-21 09:51:26 +00:00
|
|
|
ValueMapTest.cpp
|
2013-04-12 08:33:11 +00:00
|
|
|
ValueTest.cpp
|
2012-06-21 09:51:26 +00:00
|
|
|
VerifierTest.cpp
|
2012-11-12 10:01:17 +00:00
|
|
|
WaymarkTest.cpp
|
2012-06-21 09:51:26 +00:00
|
|
|
)
|
|
|
|
|
2012-06-21 22:17:39 +00:00
|
|
|
# HACK: Declare a couple of source files as optionally compiled to satisfy the
|
|
|
|
# missing-file-checker in LLVM's weird CMake build.
|
|
|
|
set(LLVM_OPTIONAL_SOURCES
|
|
|
|
ValueMapTest.cpp
|
|
|
|
)
|
|
|
|
|
2013-01-07 15:35:46 +00:00
|
|
|
add_llvm_unittest(IRTests
|
|
|
|
${IRSources}
|
2012-06-21 09:51:26 +00:00
|
|
|
)
|