Searched refs:Loop (Results 1 - 25 of 248) sorted by relevance

12345678910

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.h33 class Loop;
42 Loop *TheLoop;
44 // Loop Info analysis.
63 VPlanHCFGBuilder(Loop *Lp, LoopInfo *LI, VPlan &P)
H A DVPlanTransforms.h28 Loop *OrigLoop, VPlanPtr &Plan,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineLoopUtils.h23 /// Peels a single block loop. Loop must have two successors, one of which
34 /// The trip count of Loop is not updated.
36 MachineBasicBlock *Loop,
42 bool isRegLiveInExitBlocks(MachineLoop *Loop, int PhysReg);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DIndVarSimplify.h22 class Loop;
27 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DLoopIdiomRecognize.h1 //===- LoopIdiomRecognize.h - Loop Idiom Recognize Pass ---------*- C++ -*-===//
23 class Loop;
26 /// Performs Loop Idiom Recognize Pass.
29 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DLoopInstSimplify.h1 //===- LoopInstSimplify.h - Loop Inst Simplify Pass -------------*- C++ -*-===//
21 class Loop;
24 /// Performs Loop Inst Simplify Pass.
27 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DLoopStrengthReduce.h1 //===- LoopStrengthReduce.h - Loop Strength Reduce Pass ---------*- C++ -*-===//
29 class Loop;
32 /// Performs Loop Strength Reduce Pass.
35 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DLoopPassManager.h1 //===- 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
66 PassManager<Loop, LoopAnalysisManager, LoopStandardAnalysisResults &,
67 LPMUpdater &>::run(Loop &InitialL, LoopAnalysisManager &AM,
70 extern template class PassManager<Loop, LoopAnalysisManager,
73 /// The Loop pass manager.
76 /// a sequence of Loop passes over each Loop that the manager is run over. This
78 typedef PassManager<Loop, LoopAnalysisManage
[all...]
H A DInductiveRangeCheckElimination.h24 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DLoopPredication.h23 /// Performs Loop Predication Pass.
26 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DLoopSimplifyCFG.h1 //===- LoopSimplifyCFG.cpp - Loop CFG Simplification Pass -------*- C++ -*-===//
9 // This file implements the Loop SimplifyCFG Pass. This pass is responsible for
28 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DGuardWidening.h29 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DIVUsersPrinter.h24 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
H A DLoopAccessAnalysisPrinter.h24 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp1 //===- LoopPassManager.cpp - Loop pass management -------------------------===//
17 template class PassManager<Loop, LoopAnalysisManager,
24 PassManager<Loop, LoopAnalysisManager, LoopStandardAnalysisResults &,
25 LPMUpdater &>::run(Loop &L, LoopAnalysisManager &AM,
30 dbgs() << "Starting Loop pass manager run.\n";
41 if (!PI.runBeforePass<Loop>(*Pass, L))
46 // do not pass deleted Loop into the instrumentation
48 PI.runAfterPassInvalidated<Loop>(*Pass);
50 PI.runAfterPass<Loop>(*Pass, L);
87 PA.preserveSet<AllAnalysesOn<Loop>>();
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSyncDependenceAnalysis.h29 class Loop;
40 void visitSuccessor(const BasicBlock &succBlock, const Loop *termLoop,
62 /// loop) caused by the divergent loop exits of\p Loop.
65 /// loop exits of \p Loop.
66 /// This treats the loop as a single node in \p Loop's parent loop.
68 const ConstBlockSet &join_blocks(const Loop &Loop);
78 std::map<const Loop *, std::unique_ptr<ConstBlockSet>> CachedLoopExitJoins;
H A DLoopPass.h33 /// to a Loop.
38 // whatever action is necessary for the specified Loop.
39 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0;
45 virtual bool doInitialization(Loop *L, LPPassManager &LPM) {
49 // Finalization hook does not supply Loop because at this time
79 virtual void cloneBasicBlockAnalysis(BasicBlock *F, BasicBlock *T, Loop *L) {}
82 virtual void deleteAnalysisValue(Value *V, Loop *L) {}
84 /// Delete analysis info associated with Loop L.
87 virtual void deleteAnalysisLoop(Loop *L) {}
93 bool skipLoop(const Loop *
[all...]
H A DScalarEvolutionNormalization.h44 class Loop;
48 typedef SmallPtrSet<const Loop *, 2> PostIncLoopSet;
H A DLoopCacheAnalysis.h31 using LoopVectorTy = SmallVector<Loop *, 8>;
80 unsigned MaxDistance, const Loop &L,
92 CacheCostTy computeRefCost(const Loop &L, unsigned CLS) const;
99 bool isLoopInvariant(const Loop &L) const;
105 bool isConsecutive(const Loop &L, unsigned CLS) const;
113 const Loop &L) const;
117 bool isSimpleAddRecurrence(const SCEV &Subscript, const Loop &L) const;
175 using LoopTripCountTy = std::pair<const Loop *, unsigned>;
176 using LoopCacheCostTy = std::pair<const Loop *, CacheCostTy>;
194 getCacheCost(Loop
[all...]
H A DDependenceAnalysis.h49 class Loop;
390 const Loop *AssociatedLoop;
435 const Loop *getAssociatedLoop() const;
438 void setPoint(const SCEV *X, const SCEV *Y, const Loop *CurrentLoop);
442 const SCEV *C, const Loop *CurrentLoop);
445 void setDistance(const SCEV *D, const Loop *CurrentLoop);
515 unsigned mapSrcLoop(const Loop *SrcLoop) const;
519 unsigned mapDstLoop(const Loop *DstLoop) const;
523 bool isLoopInvariant(const SCEV *Expression, const Loop *LoopNest) const;
540 const Loop *LoopNes
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h30 class Loop;
37 using NewLoopsMap = SmallDenseMap<const Loop *, Loop *, 4>;
48 const Loop* addClonedBlockToLoopInfo(BasicBlock *OriginalBB,
81 LoopUnrollResult UnrollLoop(Loop *L, UnrollLoopOptions ULO, LoopInfo *LI,
84 bool PreserveLCSSA, Loop **RemainderLoop = nullptr);
86 bool UnrollRuntimeLoopRemainder(Loop *L, unsigned Count,
92 Loop **ResultLoop = nullptr);
94 void computePeelCount(Loop *L, unsigned LoopSize,
98 bool canPeel(Loop *
[all...]
H A DLoopUtils.h1 //===- llvm/Transforms/Utils/LoopUtils.h - Loop utilities -------*- C++ -*-===//
41 class Loop;
53 BasicBlock *InsertPreheaderForLoop(Loop *L, DominatorTree *DT, LoopInfo *LI,
61 bool formDedicatedExitBlocks(Loop *L, DominatorTree *DT, LoopInfo *LI,
91 bool formLCSSA(Loop &L, DominatorTree &DT, LoopInfo *LI, ScalarEvolution *SE);
102 bool formLCSSARecursively(Loop &L, DominatorTree &DT, LoopInfo *LI,
118 /// DataLayout, TargetLibraryInfo, Loop, AliasSet information for all
122 TargetLibraryInfo *, TargetTransformInfo *, Loop *,
131 /// TargetLibraryInfo, Loop, AliasSet information for all instructions of the
135 TargetLibraryInfo *, Loop *, AliasSetTracke
[all...]
H A DLoopRotationUtils.h20 class Loop;
33 bool LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI,
H A DLoopVersioning.h25 class Loop;
37 /// Expects LoopAccessInfo, Loop, LoopInfo, DominatorTree as input.
41 LoopVersioning(const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI,
67 Loop *getVersionedLoop() { return VersionedLoop; }
71 Loop *getNonVersionedLoop() { return NonVersionedLoop; }
115 Loop *VersionedLoop;
118 Loop *NonVersionedLoop;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLoopUtils.cpp28 MachineBasicBlock *Loop,
31 MachineFunction &MF = *Loop->getParent();
32 MachineBasicBlock *Preheader = *Loop->pred_begin();
33 if (Preheader == Loop)
34 Preheader = *std::next(Loop->pred_begin());
35 MachineBasicBlock *Exit = *Loop->succ_begin();
36 if (Exit == Loop)
37 Exit = *std::next(Loop->succ_begin());
39 MachineBasicBlock *NewBB = MF.CreateMachineBasicBlock(Loop->getBasicBlock());
41 MF.insert(Loop
27 PeelSingleBlockLoop(LoopPeelDirection Direction, MachineBasicBlock *Loop, MachineRegisterInfo &MRI, const TargetInstrInfo *TII) argument
135 isRegLiveInExitBlocks(MachineLoop *Loop, int PhysReg) argument
[all...]

Completed in 146 milliseconds

12345678910