• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/

Lines Matching refs:Loop

1 //===- LoopPassManager.h - Loop pass management -----------------*- C++ -*-===//
17 /// 3) A collection of Loop-specific analysis results are available:
23 /// 5) Loop passes run over each loop in the loop nest from the innermost to
68 PassManager<Loop, LoopAnalysisManager, LoopStandardAnalysisResults &,
69 LPMUpdater &>::run(Loop &InitialL, LoopAnalysisManager &AM,
72 extern template class PassManager<Loop, LoopAnalysisManager,
75 /// The Loop pass manager.
78 /// a sequence of Loop passes over each Loop that the manager is run over. This
80 typedef PassManager<Loop, LoopAnalysisManager, LoopStandardAnalysisResults &,
88 struct RequireAnalysisPass<AnalysisT, Loop, LoopAnalysisManager,
91 RequireAnalysisPass<AnalysisT, Loop, LoopAnalysisManager,
93 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
103 RequireAnalysisPass<AnalysisT, Loop, LoopAnalysisManager,
112 /// Loop pass, and Loop passes should use it to update LPM infrastructure if
124 /// Loop passes should use this method to indicate they have deleted a loop
134 void markLoopAsDeleted(Loop &L, llvm::StringRef Name) {
143 /// Loop passes should use this method to indicate they have added new child
149 void addChildLoops(ArrayRef<Loop *> NewChildLoops) {
155 for (Loop *NewL : NewChildLoops)
168 /// Loop passes should use this method to indicate they have added new
174 void addSiblingLoops(ArrayRef<Loop *> NewSibLoops) {
176 for (Loop *NewL : NewSibLoops)
189 /// Loop passes should call this method to indicate the current loop has been
204 SmallPriorityWorklist<Loop *, 4> &Worklist;
209 Loop *CurrentL;
215 Loop *ParentL;
218 LPMUpdater(SmallPriorityWorklist<Loop *, 4> &Worklist,
289 SmallPriorityWorklist<Loop *, 4> Worklist;
300 Loop *L = Worklist.pop_back_val();
318 if (!PI.runBeforePass<Loop>(Pass, *L))
327 // Do not pass deleted Loop into the instrumentation.
329 PI.runAfterPassInvalidated<Loop>(Pass);
331 PI.runAfterPass<Loop>(Pass, *L);
333 // FIXME: We should verify the set of analyses relevant to Loop passes
352 PA.preserveSet<AllAnalysesOn<Loop>>();
396 PreservedAnalyses run(Loop &L, LoopAnalysisManager &,