aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/Analysis/CMakeLists.txt
blob: 6c783513fd77cb51b43a8867e8fe289ef83bc35c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.



add_library(llvm12-lib-Analysis)
target_compile_options(llvm12-lib-Analysis PRIVATE
  -Wno-everything
)
target_include_directories(llvm12-lib-Analysis PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis
)
target_link_libraries(llvm12-lib-Analysis PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  libs-llvm12-include
  llvm12-lib-BinaryFormat
  llvm12-lib-IR
  llvm12-lib-Object
  llvm12-lib-ProfileData
  llvm12-lib-Support
)
target_sources(llvm12-lib-Analysis PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasAnalysisEvaluator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasAnalysisSummary.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasSetTracker.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Analysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AssumeBundleQueries.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AssumptionCache.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BasicAliasAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BlockFrequencyInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BlockFrequencyInfoImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BranchProbabilityInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFG.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFGPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFLAndersAliasAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFLSteensAliasAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CGSCCPassManager.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CallGraph.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CallGraphSCCPass.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CallPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CaptureTracking.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CmpInstAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CodeMetrics.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ConstantFolding.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ConstraintSystem.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CostModel.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DDG.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DDGPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Delinearization.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DemandedBits.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DependenceAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DependenceGraphBuilder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DivergenceAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DomPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DomTreeUpdater.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DominanceFrontier.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/EHPersonalities.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/FunctionPropertiesAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/GlobalsModRef.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/GuardUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/HeatUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IRSimilarityIdentifier.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IVDescriptors.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IVUsers.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ImportedFunctionsInliningStatistics.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IndirectCallPromotionAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InlineAdvisor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InlineCost.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InstCount.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InstructionPrecedenceTracking.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InstructionSimplify.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Interval.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IntervalPartition.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyBlockFrequencyInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyBranchProbabilityInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyCallGraph.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyValueInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LegacyDivergenceAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Lint.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Loads.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopAccessAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopAnalysisManager.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopCacheAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopNestAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopPass.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopUnrollAnalyzer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MLInlineAdvisor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemDepPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemDerefPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemoryBuiltins.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemoryDependenceAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemoryLocation.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemorySSA.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemorySSAUpdater.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ModuleDebugInfoPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ModuleSummaryAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MustExecute.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ObjCARCAliasAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ObjCARCAnalysisUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ObjCARCInstKind.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/OptimizationRemarkEmitter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PHITransAddr.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PhiValues.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PostDominators.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ProfileSummaryInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PtrUseVisitor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/RegionInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/RegionPass.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/RegionPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ReleaseModeModelRunner.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ReplayInlineAdvisor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolution.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionNormalization.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScopedNoAliasAA.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/StackLifetime.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/StackSafetyAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/SyncDependenceAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/SyntheticCountsUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TFUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TargetLibraryInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TargetTransformInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Trace.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TypeBasedAliasAnalysis.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TypeMetadataUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/VFABIDemangling.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ValueLattice.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ValueLatticeUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ValueTracking.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/VectorUtils.cpp
)