• Home
  • Raw
  • Download

Lines Matching refs:currentLoop

187     Loop *currentLoop;  member in __anonbcfadd0d0111::LoopUnswitch
206 currentLoop(nullptr), DT(nullptr), loopHeader(nullptr), in LoopUnswitch()
226 BranchesInfo.forgetLoop(currentLoop); in releaseMemory()
230 loopHeader = currentLoop->getHeader(); in initLoopData()
231 loopPreheader = currentLoop->getLoopPreheader(); in initLoopData()
453 currentLoop = L; in runOnLoop()
454 Function *F = currentLoop->getHeader()->getParent(); in runOnLoop()
475 assert(currentLoop->isLCSSAForm(*DT)); in runOnLoop()
497 if (!currentLoop->isSafeToClone()) in processCurrentLoop()
501 if (!currentLoop->hasDedicatedExits()) in processCurrentLoop()
508 currentLoop, getAnalysis<TargetTransformInfoWrapperPass>().getTTI( in processCurrentLoop()
509 *currentLoop->getHeader()->getParent()), in processCurrentLoop()
534 for (const auto BB : currentLoop->blocks()) { in processCurrentLoop()
567 FindLIVLoopCondition(Guard->getOperand(0), currentLoop, Changed); in processCurrentLoop()
581 for (Loop::block_iterator I = currentLoop->block_begin(), in processCurrentLoop()
582 E = currentLoop->block_end(); I != E; ++I) { in processCurrentLoop()
592 !isGuaranteedToExecute(*TI, DT, currentLoop, &SafetyInfo)) in processCurrentLoop()
602 currentLoop, Changed); in processCurrentLoop()
611 currentLoop, Changed); in processCurrentLoop()
646 currentLoop, Changed); in processCurrentLoop()
715 << currentLoop->getHeader()->getName() in UnswitchIfProfitable()
722 UnswitchNontrivialCondition(LoopCond, Val, currentLoop, TI); in UnswitchIfProfitable()
866 BasicBlock *CurrentBB = currentLoop->getHeader(); in TryTrivialLoopUnswitch()
891 if (!currentLoop->contains(CurrentBB) || !Visited.insert(CurrentBB).second) in TryTrivialLoopUnswitch()
931 currentLoop, Changed); in TryTrivialLoopUnswitch()
942 if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
945 } else if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
955 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()
962 currentLoop, Changed); in TryTrivialLoopUnswitch()
978 if ((LoopExitCandidate = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
998 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()