Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
109 LoopNest::LoopNestEnum LoopNest::analyzeLoopNestForPerfectNest( in analyzeLoopNestForPerfectNest()
181 LoopNest::InstrVectorTy LoopNest::getInterveningInstructions( in getInterveningInstructions()
241 LoopNest::getPerfectLoops(ScalarEvolution &SE) const { in getPerfectLoops()
386 &LoopNest::skipEmptyBlockUntil(Succ, OuterLoopLatch); in checkLoopsStructure()
421 &LoopNest::skipEmptyBlockUntil(InnerLoop.getExitBlock(), in checkLoopsStructure()
423 (&LoopNest::skipEmptyBlockUntil(InnerLoop.getExitBlock(), in checkLoopsStructure()
437 raw_ostream &llvm::operator<<(raw_ostream &OS, const LoopNest &LN) { in operator <<()
[all …]
H A DDependenceAnalysis.cpp864 if (!LoopNest) in isLoopInvariant()
877 const Loop *LoopNest, in collectCommonLoops() argument
879 while (LoopNest) { in collectCommonLoops()
880 unsigned Level = LoopNest->getLoopDepth(); in collectCommonLoops()
883 LoopNest = LoopNest->getParentLoop(); in collectCommonLoops()
966 return isLoopInvariant(Expr, LoopNest); in checkSubscript()
973 const Loop *L = LoopNest; in checkSubscript()
989 if (!isLoopInvariant(Step, LoopNest)) in checkSubscript()
995 return checkSubscript(Start, LoopNest, Loops, IsSrc); in checkSubscript()
1002 return checkSubscript(Src, LoopNest, Loops, true); in checkSrcSubscript()
[all …]
H A DLoopInfo.cpp403 if (&LoopNest::skipEmptyBlockUntil(ExitFromLatch, GuardOtherSucc, in getLoopGuardBranch()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DLoopNestAnalysis.h28 class LLVM_EXTERNAL_VISIBILITY LoopNest {
33 LoopNest(Loop &Root, ScalarEvolution &SE);
35 LoopNest() = delete;
38 static std::unique_ptr<LoopNest> getLoopNest(Loop &Root, ScalarEvolution &SE);
198 raw_ostream &operator<<(raw_ostream &, const LoopNest &);
207 using Result = LoopNest;
H A DDependenceAnalysis.h545 bool isLoopInvariant(const SCEV *Expression, const Loop *LoopNest) const;
562 const Loop *LoopNest,
568 const Loop *LoopNest,
574 const Loop *LoopNest,
973 bool checkSubscript(const SCEV *Expr, const Loop *LoopNest,
/openbsd/gnu/llvm/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.h123 detail::PassModel<LoopNest, PassT, PreservedAnalyses, in addPass()
156 detail::PassModel<LoopNest, RepeatedPass<PassT>, PreservedAnalyses, in addPass()
178 detail::PassConcept<LoopNest, LoopAnalysisManager,
205 static const Loop &getLoopFromIR(LoopNest &LN) { in getLoopFromIR()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp85 std::unique_ptr<LoopNest> LoopNestPtr; in runWithLoopNestPasses()
108 LoopNestPtr = LoopNest::getLoopNest(*OuterMostLoop, AR.SE); in runWithLoopNestPasses()
272 assert(any_cast<const Loop *>(&IR) || any_cast<const LoopNest *>(&IR)); in run()
276 L = &any_cast<const LoopNest *>(IR)->getOutermostLoop(); in run()
H A DLoopUnrollAndJamPass.cpp435 static bool tryToUnrollAndJamLoop(LoopNest &LN, DominatorTree &DT, LoopInfo &LI, in tryToUnrollAndJamLoop()
533 PreservedAnalyses LoopUnrollAndJamPass::run(LoopNest &LN, in run()
H A DLoopFlatten.cpp921 bool Flatten(LoopNest &LN, DominatorTree *DT, LoopInfo *LI, ScalarEvolution *SE, in Flatten()
935 PreservedAnalyses LoopFlattenPass::run(LoopNest &LN, LoopAnalysisManager &LAM, in run()
1017 auto LN = LoopNest::getLoopNest(*L, *SE); in runOnFunction()
H A DLoopInterchange.cpp390 bool run(LoopNest &LN) { in run()
590 LoopNest::skipEmptyBlockUntil(InnerLoopExit, OuterLoopLatch); in tightlyNested()
1765 PreservedAnalyses LoopInterchangePass::run(LoopNest &LN, in run()
H A DLICM.cpp301 PreservedAnalyses LNICMPass::run(LoopNest &LN, LoopAnalysisManager &AM, in run()
/openbsd/gnu/llvm/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp3375 std::vector<CanonicalLoopInfo *> LoopNest = in unrollLoopPartial() local
3377 assert(LoopNest.size() == 2 && "Expect 2 loops after tiling"); in unrollLoopPartial()
3378 *UnrolledCLI = LoopNest[0]; in unrollLoopPartial()
3379 CanonicalLoopInfo *InnerLoop = LoopNest[1]; in unrollLoopPartial()
/openbsd/gnu/llvm/llvm/lib/Passes/
H A DPassBuilder.cpp341 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &, in run()