Lines Matching refs:currentLoop
184 Loop *currentLoop = nullptr; member in __anon33c827c70111::LoopUnswitch
233 BranchesInfo.forgetLoop(currentLoop); in releaseMemory()
237 loopHeader = currentLoop->getHeader(); in initLoopData()
238 loopPreheader = currentLoop->getLoopPreheader(); in initLoopData()
532 currentLoop = L; in runOnLoop()
533 Function *F = currentLoop->getHeader()->getParent(); in runOnLoop()
544 assert(currentLoop->isLCSSAForm(*DT)); in runOnLoop()
562 while (currentLoop->contains(DomBB)) { in isUnreachableDueToPreviousUnswitching()
639 if (!currentLoop->isSafeToClone()) in processCurrentLoop()
643 if (!currentLoop->hasDedicatedExits()) in processCurrentLoop()
650 currentLoop, getAnalysis<TargetTransformInfoWrapperPass>().getTTI( in processCurrentLoop()
651 *currentLoop->getHeader()->getParent()), in processCurrentLoop()
682 for (const auto BB : currentLoop->blocks()) { in processCurrentLoop()
699 FindLIVLoopCondition(Guard->getOperand(0), currentLoop, Changed).first; in processCurrentLoop()
713 for (Loop::block_iterator I = currentLoop->block_begin(), in processCurrentLoop()
714 E = currentLoop->block_end(); I != E; ++I) { in processCurrentLoop()
724 !SafetyInfo.isGuaranteedToExecute(*TI, DT, currentLoop)) in processCurrentLoop()
740 currentLoop, Changed).first; in processCurrentLoop()
752 FindLIVLoopCondition(SC, currentLoop, Changed); in processCurrentLoop()
813 currentLoop, Changed).first; in processCurrentLoop()
882 << currentLoop->getHeader()->getName() in UnswitchIfProfitable()
891 << currentLoop->getHeader()->getName() in UnswitchIfProfitable()
898 UnswitchNontrivialCondition(LoopCond, Val, currentLoop, TI); in UnswitchIfProfitable()
1055 BasicBlock *CurrentBB = currentLoop->getHeader(); in TryTrivialLoopUnswitch()
1080 if (!currentLoop->contains(CurrentBB) || !Visited.insert(CurrentBB).second) in TryTrivialLoopUnswitch()
1128 currentLoop, Changed).first; in TryTrivialLoopUnswitch()
1139 if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
1142 } else if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
1155 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()
1162 currentLoop, Changed).first; in TryTrivialLoopUnswitch()
1178 isTrivialLoopExitBlock(currentLoop, Case.getCaseSuccessor()))) { in TryTrivialLoopUnswitch()
1197 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()