Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopNestAnalysis.cpp42 LoopNest::LoopNest(Loop &Root, ScalarEvolution &SE) in LoopNest() function in LoopNest
47 std::unique_ptr<LoopNest> LoopNest::getLoopNest(Loop &Root, in getLoopNest()
49 return std::make_unique<LoopNest>(Root, SE); in getLoopNest()
103 bool LoopNest::arePerfectlyNested(const Loop &OuterLoop, const Loop &InnerLoop, in arePerfectlyNested()
109 LoopNest::LoopNestEnum LoopNest::analyzeLoopNestForPerfectNest( in analyzeLoopNestForPerfectNest()
181 LoopNest::InstrVectorTy LoopNest::getInterveningInstructions( in getInterveningInstructions()
241 LoopNest::getPerfectLoops(ScalarEvolution &SE) const { in getPerfectLoops()
261 unsigned LoopNest::getMaxPerfectDepth(const Loop &Root, ScalarEvolution &SE) { in getMaxPerfectDepth()
288 const BasicBlock &LoopNest::skipEmptyBlockUntil(const BasicBlock *From, in skipEmptyBlockUntil()
363 LoopNest::skipEmptyBlockUntil(OuterLoopHeader, InnerLoopPreHeader); in checkLoopsStructure()
[all …]
H A DDependenceAnalysis.cpp886 const Loop *LoopNest) const { in isLoopInvariant()
891 if (!LoopNest) in isLoopInvariant()
896 return SE->isLoopInvariant(Expression, LoopNest->getOutermostLoop()); in isLoopInvariant()
904 const Loop *LoopNest, in collectCommonLoops() argument
906 while (LoopNest) { in collectCommonLoops()
907 unsigned Level = LoopNest->getLoopDepth(); in collectCommonLoops()
908 if (Level <= CommonLevels && !SE->isLoopInvariant(Expression, LoopNest)) in collectCommonLoops()
910 LoopNest = LoopNest->getParentLoop(); in collectCommonLoops()
989 bool DependenceInfo::checkSubscript(const SCEV *Expr, const Loop *LoopNest, in checkSubscript() argument
993 return isLoopInvariant(Expr, LoopNest); in checkSubscript()
[all …]
H A DLoopInfo.cpp404 if (&LoopNest::skipEmptyBlockUntil(ExitFromLatch, GuardOtherSucc, in getLoopGuardBranch()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopNestAnalysis.h29 class LLVM_ABI LoopNest {
34 LoopNest(Loop &Root, ScalarEvolution &SE);
36 LoopNest() = delete;
39 static std::unique_ptr<LoopNest> getLoopNest(Loop &Root, ScalarEvolution &SE);
199 LLVM_ABI raw_ostream &operator<<(raw_ostream &, const LoopNest &);
208 using Result = LoopNest;
H A DDependenceAnalysis.h560 bool isLoopInvariant(const SCEV *Expression, const Loop *LoopNest) const;
577 const Loop *LoopNest,
583 const Loop *LoopNest,
589 const Loop *LoopNest,
988 bool checkSubscript(const SCEV *Expr, const Loop *LoopNest,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DLoopInterchange.h18 class LoopNest; variable
21 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,
H A DLoopFlatten.h21 class LoopNest; variable
27 PreservedAnalyses run(LoopNest &LN, LoopAnalysisManager &LAM,
H A DLoopUnrollAndJamPass.h17 class LoopNest; variable
25 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,
H A DLICM.h43 class LoopNest; variable
94 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,
H A DLoopPassManager.h120 detail::PassModel<LoopNest, PassT, LoopAnalysisManager, in addPass()
142 detail::PassConcept<LoopNest, LoopAnalysisManager,
169 static const Loop &getLoopFromIR(LoopNest &LN) { in getLoopFromIR()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp84 std::unique_ptr<LoopNest> LoopNestPtr; in runWithLoopNestPasses()
107 LoopNestPtr = LoopNest::getLoopNest(*OuterMostLoop, AR.SE); in runWithLoopNestPasses()
H A DLoopUnrollAndJamPass.cpp423 static bool tryToUnrollAndJamLoop(LoopNest &LN, DominatorTree &DT, LoopInfo &LI, in tryToUnrollAndJamLoop()
454 PreservedAnalyses LoopUnrollAndJamPass::run(LoopNest &LN, in run()
H A DLoopInterchange.cpp530 bool run(LoopNest &LN) { in run()
689 LoopNest::skipEmptyBlockUntil(InnerLoopExit, OuterLoopLatch); in tightlyNested()
1932 PreservedAnalyses LoopInterchangePass::run(LoopNest &LN, in run()
H A DLoopFlatten.cpp995 PreservedAnalyses LoopFlattenPass::run(LoopNest &LN, LoopAnalysisManager &LAM, in run()
H A DLICM.cpp331 PreservedAnalyses LNICMPass::run(LoopNest &LN, LoopAnalysisManager &AM, in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h959 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &, in run()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp5793 std::vector<CanonicalLoopInfo *> LoopNest = in unrollLoopPartial() local
5795 assert(LoopNest.size() == 2 && "Expect 2 loops after tiling"); in unrollLoopPartial()
5796 *UnrolledCLI = LoopNest[0]; in unrollLoopPartial()
5797 CanonicalLoopInfo *InnerLoop = LoopNest[1]; in unrollLoopPartial()