1 set(LLVM_LINK_COMPONENTS
9 set(MLGO_TESTS TFUtilsTest.cpp TrainingLoggerTest.cpp)
10 if (DEFINED LLVM_HAVE_TF_API)
11 LIST(APPEND EXTRA_TESTS ${MLGO_TESTS})
13 LIST(APPEND LLVM_OPTIONAL_SOURCES ${MLGO_TESTS})
16 add_llvm_unittest_with_input_files(AnalysisTests
18 AliasSetTrackerTest.cpp
19 AssumeBundleQueriesTest.cpp
20 BasicAliasAnalysisTest.cpp
21 BlockFrequencyInfoTest.cpp
22 BranchProbabilityInfoTest.cpp
24 CaptureTrackingTest.cpp
26 CGSCCPassManagerTest.cpp
27 ConstraintSystemTest.cpp
29 DivergenceAnalysisTest.cpp
30 DomTreeUpdaterTest.cpp
32 FunctionPropertiesAnalysisTest.cpp
34 IRSimilarityIdentifierTest.cpp
40 MemoryBuiltinsTest.cpp
41 MemoryProfileInfoTest.cpp
45 ProfileSummaryInfoTest.cpp
46 ScalarEvolutionTest.cpp
47 VectorFunctionABITest.cpp
49 TargetLibraryInfoTest.cpp
52 UnrollAnalyzerTest.cpp
59 target_link_libraries(AnalysisTests PRIVATE LLVMTestingSupport)