[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / llvm / lib / Analysis / CMakeLists.txt
blob35ea03f42f82b15e67b75997e4fbea56a6951e20
1 if (DEFINED LLVM_HAVE_TF_AOT OR LLVM_HAVE_TFLITE)
2   include(TensorFlowCompile)
3   set(LLVM_INLINER_MODEL_PATH_DEFAULT "models/inliner-Oz")
5   set(LLVM_INLINER_MODEL_CURRENT_URL "<UNSPECIFIED>" CACHE STRING "URL to download the LLVM inliner model")
7   if (DEFINED LLVM_HAVE_TF_AOT)
8     tf_find_and_compile(
9       ${LLVM_INLINER_MODEL_PATH}
10       ${LLVM_INLINER_MODEL_CURRENT_URL}
11       ${LLVM_INLINER_MODEL_PATH_DEFAULT}
12       "models/gen-inline-oz-test-model.py"
13       serve
14       action
15       InlinerSizeModel
16       llvm::InlinerSizeModel
17     )
18   endif()
20   if (LLVM_HAVE_TFLITE)
21     list(APPEND MLLinkDeps
22       tensorflow-lite::tensorflow-lite)
23   endif()
24 endif()
26 add_llvm_component_library(LLVMAnalysis
27   AliasAnalysis.cpp
28   AliasAnalysisEvaluator.cpp
29   AliasSetTracker.cpp
30   Analysis.cpp
31   AssumeBundleQueries.cpp
32   AssumptionCache.cpp
33   BasicAliasAnalysis.cpp
34   BlockFrequencyInfo.cpp
35   BlockFrequencyInfoImpl.cpp
36   BranchProbabilityInfo.cpp
37   CFG.cpp
38   CFGPrinter.cpp
39   CFGSCCPrinter.cpp
40   CGSCCPassManager.cpp
41   CallGraph.cpp
42   CallGraphSCCPass.cpp
43   CallPrinter.cpp
44   CaptureTracking.cpp
45   CmpInstAnalysis.cpp
46   CostModel.cpp
47   CodeMetrics.cpp
48   ConstantFolding.cpp
49   CycleAnalysis.cpp
50   DDG.cpp
51   DDGPrinter.cpp
52   ConstraintSystem.cpp
53   Delinearization.cpp
54   DemandedBits.cpp
55   DependenceAnalysis.cpp
56   DependenceGraphBuilder.cpp
57   DevelopmentModeInlineAdvisor.cpp
58   DomConditionCache.cpp
59   DomPrinter.cpp
60   DomTreeUpdater.cpp
61   DominanceFrontier.cpp
62   FunctionPropertiesAnalysis.cpp
63   GlobalsModRef.cpp
64   GuardUtils.cpp
65   HeatUtils.cpp
66   IRSimilarityIdentifier.cpp
67   IVDescriptors.cpp
68   IVUsers.cpp
69   ImportedFunctionsInliningStatistics.cpp
70   IndirectCallPromotionAnalysis.cpp
71   InlineCost.cpp
72   InlineAdvisor.cpp
73   InlineOrder.cpp
74   InlineSizeEstimatorAnalysis.cpp
75   InstCount.cpp
76   InstructionPrecedenceTracking.cpp
77   InstructionSimplify.cpp
78   InteractiveModelRunner.cpp
79   Interval.cpp
80   IntervalPartition.cpp
81   LazyBranchProbabilityInfo.cpp
82   LazyBlockFrequencyInfo.cpp
83   LazyCallGraph.cpp
84   LazyValueInfo.cpp
85   Lint.cpp
86   Loads.cpp
87   Local.cpp
88   LoopAccessAnalysis.cpp
89   LoopAnalysisManager.cpp
90   LoopCacheAnalysis.cpp
91   LoopNestAnalysis.cpp
92   LoopUnrollAnalyzer.cpp
93   LoopInfo.cpp
94   LoopPass.cpp
95   MLInlineAdvisor.cpp
96   MemDerefPrinter.cpp
97   MemoryBuiltins.cpp
98   MemoryDependenceAnalysis.cpp
99   MemoryLocation.cpp
100   MemoryProfileInfo.cpp
101   MemorySSA.cpp
102   MemorySSAUpdater.cpp
103   ModelUnderTrainingRunner.cpp
104   ModuleDebugInfoPrinter.cpp
105   ModuleSummaryAnalysis.cpp
106   MustExecute.cpp
107   NoInferenceModelRunner.cpp
108   ObjCARCAliasAnalysis.cpp
109   ObjCARCAnalysisUtils.cpp
110   ObjCARCInstKind.cpp
111   OptimizationRemarkEmitter.cpp
112   OverflowInstAnalysis.cpp
113   PHITransAddr.cpp
114   PhiValues.cpp
115   PostDominators.cpp
116   ProfileSummaryInfo.cpp
117   PtrUseVisitor.cpp
118   RegionInfo.cpp
119   RegionPass.cpp
120   RegionPrinter.cpp
121   ReplayInlineAdvisor.cpp
122   ScalarEvolution.cpp
123   ScalarEvolutionAliasAnalysis.cpp
124   ScalarEvolutionDivision.cpp
125   ScalarEvolutionNormalization.cpp
126   StackLifetime.cpp
127   StackSafetyAnalysis.cpp
128   StructuralHash.cpp
129   SyntheticCountsUtils.cpp
130   TFLiteUtils.cpp
131   TargetLibraryInfo.cpp
132   TargetTransformInfo.cpp
133   TensorSpec.cpp
134   Trace.cpp
135   TrainingLogger.cpp
136   TypeBasedAliasAnalysis.cpp
137   TypeMetadataUtils.cpp
138   UniformityAnalysis.cpp
139   ScopedNoAliasAA.cpp
140   ValueLattice.cpp
141   ValueLatticeUtils.cpp
142   ValueTracking.cpp
143   VectorUtils.cpp
144   ${GeneratedMLSources}
146   ADDITIONAL_HEADER_DIRS
147   ${LLVM_MAIN_INCLUDE_DIR}/llvm/Analysis
149   DEPENDS
150   intrinsics_gen
151   ${MLDeps}
153   LINK_LIBS
154   ${MLLinkDeps}
156   LINK_COMPONENTS
157   BinaryFormat
158   Core
159   Object
160   ProfileData
161   Support
162   TargetParser
163   )