2012-06-21 17:51:26 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2013-12-10 19:13:32 +08:00
|
|
|
Analysis
|
|
|
|
AsmParser
|
|
|
|
Core
|
|
|
|
Support
|
2012-06-21 17:51:26 +08:00
|
|
|
)
|
|
|
|
|
2013-01-07 23:35:46 +08:00
|
|
|
set(IRSources
|
2016-01-08 04:14:30 +08:00
|
|
|
AsmWriterTest.cpp
|
2013-01-12 22:13:45 +08:00
|
|
|
AttributesTest.cpp
|
2014-03-04 20:24:34 +08:00
|
|
|
ConstantRangeTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
ConstantsTest.cpp
|
2014-10-04 04:01:09 +08:00
|
|
|
DebugInfoTest.cpp
|
2016-04-20 01:11:06 +08:00
|
|
|
DebugTypeODRUniquingTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
DominatorTreeTest.cpp
|
2016-04-06 14:38:15 +08:00
|
|
|
FunctionTest.cpp
|
2012-07-16 15:44:45 +08:00
|
|
|
IRBuilderTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
InstructionsTest.cpp
|
2016-01-27 06:33:19 +08:00
|
|
|
IntrinsicsTest.cpp
|
2013-11-09 20:26:54 +08:00
|
|
|
LegacyPassManagerTest.cpp
|
2012-07-16 07:26:50 +08:00
|
|
|
MDBuilderTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
MetadataTest.cpp
|
2013-11-09 21:09:08 +08:00
|
|
|
PassManagerTest.cpp
|
2013-05-05 10:14:28 +08:00
|
|
|
PatternMatch.cpp
|
2012-07-16 07:45:24 +08:00
|
|
|
TypeBuilderTest.cpp
|
2012-08-04 17:52:39 +08:00
|
|
|
TypesTest.cpp
|
2014-07-24 08:53:19 +08:00
|
|
|
UseTest.cpp
|
2014-04-17 17:07:50 +08:00
|
|
|
UserTest.cpp
|
2014-03-04 19:17:44 +08:00
|
|
|
ValueHandleTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
ValueMapTest.cpp
|
2013-04-12 16:33:11 +08:00
|
|
|
ValueTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
VerifierTest.cpp
|
2012-11-12 18:01:17 +08:00
|
|
|
WaymarkTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
)
|
|
|
|
|
2012-06-22 06:17:39 +08: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 23:35:46 +08:00
|
|
|
add_llvm_unittest(IRTests
|
|
|
|
${IRSources}
|
2012-06-21 17:51:26 +08:00
|
|
|
)
|