mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
721423a975
This change yields an additional 2% size reduction on an internal search binary, and an additional 0.5% size reduction on fuchsia. Differential Revision: https://reviews.llvm.org/D104751
56 lines
1.2 KiB
CMake
56 lines
1.2 KiB
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
AsmParser
|
|
Core
|
|
Support
|
|
TransformUtils
|
|
)
|
|
|
|
if (DEFINED LLVM_HAVE_TF_API)
|
|
LIST(APPEND EXTRA_TESTS TFUtilsTest.cpp)
|
|
else()
|
|
LIST(APPEND LLVM_OPTIONAL_SOURCES TFUtilsTest.cpp)
|
|
endif()
|
|
|
|
add_llvm_unittest_with_input_files(AnalysisTests
|
|
AliasAnalysisTest.cpp
|
|
AliasSetTrackerTest.cpp
|
|
AssumeBundleQueriesTest.cpp
|
|
BasicAliasAnalysisTest.cpp
|
|
BlockFrequencyInfoTest.cpp
|
|
BranchProbabilityInfoTest.cpp
|
|
CallGraphTest.cpp
|
|
CaptureTrackingTest.cpp
|
|
CFGTest.cpp
|
|
CGSCCPassManagerTest.cpp
|
|
ConstraintSystemTest.cpp
|
|
DDGTest.cpp
|
|
DivergenceAnalysisTest.cpp
|
|
DomTreeUpdaterTest.cpp
|
|
GlobalsModRefTest.cpp
|
|
FunctionPropertiesAnalysisTest.cpp
|
|
InlineCostTest.cpp
|
|
IRSimilarityIdentifierTest.cpp
|
|
IVDescriptorsTest.cpp
|
|
LazyCallGraphTest.cpp
|
|
LoadsTest.cpp
|
|
LoopInfoTest.cpp
|
|
LoopNestTest.cpp
|
|
MemoryBuiltinsTest.cpp
|
|
MemorySSATest.cpp
|
|
PhiValuesTest.cpp
|
|
ProfileSummaryInfoTest.cpp
|
|
ScalarEvolutionTest.cpp
|
|
VectorFunctionABITest.cpp
|
|
SparsePropagation.cpp
|
|
TargetLibraryInfoTest.cpp
|
|
TBAATest.cpp
|
|
UnrollAnalyzerTest.cpp
|
|
ValueLatticeTest.cpp
|
|
ValueTrackingTest.cpp
|
|
VectorUtilsTest.cpp
|
|
${EXTRA_TESTS}
|
|
)
|
|
|
|
target_link_libraries(AnalysisTests PRIVATE LLVMTestingSupport)
|