Home
last modified time | relevance | path

Searched refs:LoopNest (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopNestAnalysis.cpp43 LoopNest::LoopNest(Loop &Root, ScalarEvolution &SE) in LoopNest() function in LoopNest
48 std::unique_ptr<LoopNest> LoopNest::getLoopNest(Loop &Root, in getLoopNest()
50 return std::make_unique<LoopNest>(Root, SE); in getLoopNest()
53 bool LoopNest::arePerfectlyNested(const Loop &OuterLoop, const Loop &InnerLoop, in arePerfectlyNested()
161 LoopNest::getPerfectLoops(ScalarEvolution &SE) const { in getPerfectLoops()
181 unsigned LoopNest::getMaxPerfectDepth(const Loop &Root, ScalarEvolution &SE) { in getMaxPerfectDepth()
208 const BasicBlock &LoopNest::skipEmptyBlockUntil(const BasicBlock *From, in skipEmptyBlockUntil()
283 LoopNest::skipEmptyBlockUntil(OuterLoopHeader, InnerLoopPreHeader); in checkLoopsStructure()
304 &LoopNest::skipEmptyBlockUntil(Succ, InnerLoopPreHeader); in checkLoopsStructure()
306 &LoopNest::skipEmptyBlockUntil(Succ, OuterLoopLatch); in checkLoopsStructure()
[all …]
H A DDependenceAnalysis.cpp792 const Loop *LoopNest) const { in isLoopInvariant()
793 if (!LoopNest) in isLoopInvariant()
795 return SE->isLoopInvariant(Expression, LoopNest) && in isLoopInvariant()
796 isLoopInvariant(Expression, LoopNest->getParentLoop()); in isLoopInvariant()
804 const Loop *LoopNest, in collectCommonLoops() argument
806 while (LoopNest) { in collectCommonLoops()
807 unsigned Level = LoopNest->getLoopDepth(); in collectCommonLoops()
808 if (Level <= CommonLevels && !SE->isLoopInvariant(Expression, LoopNest)) in collectCommonLoops()
810 LoopNest = LoopNest->getParentLoop(); in collectCommonLoops()
889 bool DependenceInfo::checkSubscript(const SCEV *Expr, const Loop *LoopNest, in checkSubscript() argument
[all …]
H A DLoopInfo.cpp402 if (&LoopNest::skipEmptyBlockUntil(ExitFromLatch, GuardOtherSucc, in getLoopGuardBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DLoopNestAnalysis.h27 class LoopNest {
30 LoopNest(Loop &Root, ScalarEvolution &SE);
32 LoopNest() = delete;
33 LoopNest &operator=(const LoopNest &) = delete;
36 static std::unique_ptr<LoopNest> getLoopNest(Loop &Root, ScalarEvolution &SE);
156 raw_ostream &operator<<(raw_ostream &, const LoopNest &);
165 using Result = LoopNest;
H A DDependenceAnalysis.h524 bool isLoopInvariant(const SCEV *Expression, const Loop *LoopNest) const;
541 const Loop *LoopNest,
547 const Loop *LoopNest,
553 const Loop *LoopNest,
952 bool checkSubscript(const SCEV *Expr, const Loop *LoopNest,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp66 std::unique_ptr<LoopNest> LoopNestPtr; in runWithLoopNestPasses()
82 LoopNestPtr = LoopNest::getLoopNest(L, AR.SE); in runWithLoopNestPasses()
244 assert(any_isa<const Loop *>(IR) || any_isa<const LoopNest *>(IR)); in run()
247 : &any_cast<const LoopNest *>(IR)->getOutermostLoop(); in run()
H A DLoopUnrollAndJamPass.cpp427 static bool tryToUnrollAndJamLoop(LoopNest &LN, DominatorTree &DT, LoopInfo &LI, in tryToUnrollAndJamLoop()
520 PreservedAnalyses LoopUnrollAndJamPass::run(LoopNest &LN, in run()
H A DLoopInterchange.cpp446 bool run(LoopNest &LN) { in run()
621 LoopNest::skipEmptyBlockUntil(InnerLoopExit, OuterLoopLatch); in tightlyNested()
1764 PreservedAnalyses LoopInterchangePass::run(LoopNest &LN, in run()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DLoopPassManager.h117 detail::PassModel<LoopNest, PassT, PreservedAnalyses, in addPass()
142 detail::PassModel<LoopNest, RepeatedPass<PassT>, PreservedAnalyses, in addPass()
162 detail::PassConcept<LoopNest, LoopAnalysisManager,
H A DLoopInterchange.h18 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,
H A DLoopUnrollAndJamPass.h24 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,