Home
last modified time | relevance | path

Searched refs:OuterLoop (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopNestAnalysis.cpp52 static CmpInst *getOuterLoopLatchCmp(const Loop &OuterLoop) { in getOuterLoopLatchCmp() argument
54 const BasicBlock *Latch = OuterLoop.getLoopLatch(); in getOuterLoopLatchCmp()
124 if (!checkLoopsStructure(OuterLoop, InnerLoop, SE)) { in analyzeLoopNestForPerfectNest()
130 auto OuterLoopLB = OuterLoop.getBounds(SE); in analyzeLoopNestForPerfectNest()
133 << OuterLoop << "\n";); in analyzeLoopNestForPerfectNest()
161 const BasicBlock *OuterLoopHeader = OuterLoop.getHeader(); in analyzeLoopNestForPerfectNest()
205 auto OuterLoopLB = OuterLoop.getBounds(SE); in getInterveningInstructions()
225 const BasicBlock *OuterLoopHeader = OuterLoop.getHeader(); in getInterveningInstructions()
318 if ((OuterLoop.getSubLoops().size() != 1) || in checkLoopsStructure()
319 (InnerLoop.getParentLoop() != &OuterLoop)) in checkLoopsStructure()
[all …]
H A DBlockFrequencyInfoImpl.cpp321 return OuterLoop && OuterLoop->isHeader(Node); in addToDist()
354 assert((!OuterLoop || !OuterLoop->isIrreducible()) && in addToDist()
365 assert(OuterLoop && OuterLoop->isIrreducible() && !isLoopHeader(Resolved) && in addToDist()
470 OuterLoop->BackedgeMass[OuterLoop->getHeaderIndex(W.TargetNode)] += Taken; in distributeMass()
653 Start = OuterLoop.getHeader(); in addNodesInLoop()
655 for (auto N : OuterLoop.Nodes) in addNodesInLoop()
675 if (OuterLoop && OuterLoop->isHeader(Succ)) in addEdge()
810 if (OuterLoop) in analyzeIrreducible()
817 OuterLoop.Exits.clear(); in updateLoopWithIrreducible()
820 auto O = OuterLoop.Nodes.begin() + 1; in updateLoopWithIrreducible()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp281 Loop *OuterLoop; member in __anon44f7b5eb0211::LoopInterchangeLegality
321 Loop *OuterLoop; member in __anon44f7b5eb0211::LoopInterchangeProfitability
350 Loop *OuterLoop; member in __anon44f7b5eb0211::LoopInterchangeTransform
619 !OuterLoop->isLoopInvariant(I)) { in isLoopStructureUnderstood()
686 if (!SE->isLoopInvariant(S, OuterLoop)) in isLoopStructureUnderstood()
776 OuterLoop->getExitingBlock() != OuterLoop->getLoopLatch() || in currentLimitations()
811 Loop *CurLevelLoop = OuterLoop; in currentLimitations()
959 for (auto *BB : OuterLoop->blocks()) in canInterchangeLoops()
1079 if (AR->getLoop() == OuterLoop) { in getInstrOrderCost()
1198 for (Loop *L : *OuterLoop) in removeChildLoop()
[all …]
H A DLoopFlatten.cpp110 Loop *OuterLoop = nullptr; // The loop pair to be flattened. member
555 for (auto *B : FI.OuterLoop->getBlocks()) { in checkOuterLoopInsts()
639 Function *F = FI.OuterLoop->getHeader()->getParent(); in checkOverflow()
709 if (!FI.OuterLoop->isLoopInvariant(FI.InnerTripCount)) { in CanFlattenLoopPair()
713 if (!FI.OuterLoop->isLoopInvariant(FI.OuterTripCount)) { in CanFlattenLoopPair()
744 Function *F = FI.OuterLoop->getHeader()->getParent(); in DoFlattenLoopPair()
757 FI.OuterLoop->getLoopPreheader()->getTerminator()); in DoFlattenLoopPair()
813 SE->forgetLoop(FI.OuterLoop); in DoFlattenLoopPair()
962 auto *OuterLoop = InnerLoop->getParentLoop(); in run() local
963 if (!OuterLoop) in run()
[all …]
H A DLoopSimplifyCFG.cpp385 if (Loop *OuterLoop = LI.getLoopFor(Preheader)) { in handleDeadExits() local
394 if (StillReachable != OuterLoop) { in handleDeadExits()
396 removeBlockFromLoops(NewPreheader, OuterLoop, StillReachable); in handleDeadExits()
398 removeBlockFromLoops(BB, OuterLoop, StillReachable); in handleDeadExits()
399 OuterLoop->removeChildLoop(&L); in handleDeadExits()
408 Loop *FixLCSSALoop = OuterLoop; in handleDeadExits()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h639 initialize(OuterLoop, addBlockEdges);
664 if (OuterLoop) {
665 addNodesInLoop(*OuterLoop);
666 for (auto N : OuterLoop->Nodes)
667 addEdges(N, OuterLoop, addBlockEdges);
688 addEdge(Irr, I.first, OuterLoop);
690 addBlockEdges(*this, Irr, OuterLoop);
1664 if (OuterLoop) dbgs()
1678 if (!OuterLoop)
1680 updateLoopWithIrreducible(*OuterLoop);
[all …]
H A DLoopNestAnalysis.h51 static bool arePerfectlyNested(const Loop &OuterLoop, const Loop &InnerLoop,
56 static InstrVectorTy getInterveningInstructions(const Loop &OuterLoop,
193 static LoopNestEnum analyzeLoopNestForPerfectNest(const Loop &OuterLoop,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp160 static bool doesContainLoop(const Loop *L, const Loop *OuterLoop) { in doesContainLoop() argument
161 if (L->getLoopDepth() < OuterLoop->getLoopDepth()) in doesContainLoop()
165 if (P == OuterLoop) in doesContainLoop()
H A DLoopVectorize.cpp1960 Loop *OuterLoop = nullptr; member in __anona898e7630711::GeneratedRTChecks
2060 OuterLoop = L->getParentLoop(); in Create()
2099 if (OuterLoop) { in getCost()
2106 if (SE->isLoopInvariant(Cond, OuterLoop)) { in getCost()
2113 if (unsigned SmallTC = SE->getSmallConstantTripCount(OuterLoop)) in getCost()
2117 if (auto EstimatedTC = getLoopEstimatedTripCount(OuterLoop)) in getCost()
2197 if (OuterLoop) in emitSCEVChecks()
2198 OuterLoop->addBasicBlockToLoop(SCEVCheckBlock, *LI); in emitSCEVChecks()
2232 if (OuterLoop) in emitMemRuntimeChecks()
2233 OuterLoop->addBasicBlockToLoop(MemCheckBlock, *LI); in emitMemRuntimeChecks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1685 const Loop *OuterLoop = TheLoop->getParentLoop(); in expandBounds() local
1688 HighAR->getLoop() == OuterLoop && LowAR->getLoop() == OuterLoop) { in expandBounds()
1689 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in expandBounds()
1691 Exp.getSE()->getExitCount(OuterLoop, OuterLoopLatch); in expandBounds()