Lines Matching refs:currentLoop

138     Loop *currentLoop;  member in __anon116236aa0111::LoopUnswitch
154 currentLoop(0), DT(0), loopHeader(0), in LoopUnswitch()
180 BranchesInfo.forgetLoop(currentLoop); in releaseMemory()
193 loopHeader = currentLoop->getHeader(); in initLoopData()
194 loopPreheader = currentLoop->getLoopPreheader(); in initLoopData()
388 currentLoop = L; in runOnLoop()
389 Function *F = currentLoop->getHeader()->getParent(); in runOnLoop()
392 assert(currentLoop->isLCSSAForm(*DT)); in runOnLoop()
417 if (!currentLoop->isSafeToClone()) in processCurrentLoop()
421 if (!currentLoop->hasDedicatedExits()) in processCurrentLoop()
428 if (!BranchesInfo.countLoop(currentLoop, getAnalysis<TargetTransformInfo>())) in processCurrentLoop()
434 for (Loop::block_iterator I = currentLoop->block_begin(), in processCurrentLoop()
435 E = currentLoop->block_end(); I != E; ++I) { in processCurrentLoop()
444 currentLoop, Changed); in processCurrentLoop()
453 currentLoop, Changed); in processCurrentLoop()
488 currentLoop, Changed); in processCurrentLoop()
563 BasicBlock *Header = currentLoop->getHeader(); in IsTrivialUnswitchCondition()
578 if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in IsTrivialUnswitchCondition()
581 } else if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop, in IsTrivialUnswitchCondition()
598 if ((LoopExitCandidate = isTrivialLoopExitBlock(currentLoop, in IsTrivialUnswitchCondition()
643 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock); in UnswitchIfProfitable()
655 UnswitchNontrivialCondition(LoopCond, Val, currentLoop); in UnswitchIfProfitable()