You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
4 months ago
|
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
|
||
|
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)
|