Lines Matching refs:currentLoop
185 Loop *currentLoop; member in __anon1bf9f3440111::LoopUnswitch
201 currentLoop(nullptr), DT(nullptr), loopHeader(nullptr), in LoopUnswitch()
230 BranchesInfo.forgetLoop(currentLoop); in releaseMemory()
234 loopHeader = currentLoop->getHeader(); in initLoopData()
235 loopPreheader = currentLoop->getLoopPreheader(); in initLoopData()
441 currentLoop = L; in runOnLoop()
442 Function *F = currentLoop->getHeader()->getParent(); in runOnLoop()
459 assert(currentLoop->isLCSSAForm(*DT)); in runOnLoop()
481 if (!currentLoop->isSafeToClone()) in processCurrentLoop()
485 if (!currentLoop->hasDedicatedExits()) in processCurrentLoop()
492 currentLoop, getAnalysis<TargetTransformInfoWrapperPass>().getTTI( in processCurrentLoop()
493 *currentLoop->getHeader()->getParent()), in processCurrentLoop()
507 for (const auto BB : currentLoop->blocks()) { in processCurrentLoop()
535 for (Loop::block_iterator I = currentLoop->block_begin(), in processCurrentLoop()
536 E = currentLoop->block_end(); I != E; ++I) { in processCurrentLoop()
545 currentLoop, Changed); in processCurrentLoop()
554 currentLoop, Changed); in processCurrentLoop()
589 currentLoop, Changed); in processCurrentLoop()
658 << currentLoop->getHeader()->getName() in UnswitchIfProfitable()
665 UnswitchNontrivialCondition(LoopCond, Val, currentLoop, TI); in UnswitchIfProfitable()
809 BasicBlock *CurrentBB = currentLoop->getHeader(); in TryTrivialLoopUnswitch()
834 if (!currentLoop->contains(CurrentBB) || !Visited.insert(CurrentBB).second) in TryTrivialLoopUnswitch()
874 currentLoop, Changed); in TryTrivialLoopUnswitch()
885 if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
888 } else if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
898 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()
905 currentLoop, Changed); in TryTrivialLoopUnswitch()
921 if ((LoopExitCandidate = isTrivialLoopExitBlock(currentLoop, in TryTrivialLoopUnswitch()
941 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()