Lines Matching refs:currentLoop
138 Loop *currentLoop;
154 currentLoop(NULL), DT(NULL), loopHeader(NULL),
180 BranchesInfo.forgetLoop(currentLoop);
193 loopHeader = currentLoop->getHeader();
194 loopPreheader = currentLoop->getLoopPreheader();
390 currentLoop = L;
391 Function *F = currentLoop->getHeader()->getParent();
394 assert(currentLoop->isLCSSAForm(*DT));
419 if (!currentLoop->isSafeToClone())
423 if (!currentLoop->hasDedicatedExits())
430 if (!BranchesInfo.countLoop(currentLoop, getAnalysis<TargetTransformInfo>()))
436 for (Loop::block_iterator I = currentLoop->block_begin(),
437 E = currentLoop->block_end(); I != E; ++I) {
446 currentLoop, Changed);
455 currentLoop, Changed);
490 currentLoop, Changed);
564 BasicBlock *Header = currentLoop->getHeader();
579 if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop,
582 } else if ((LoopExitBB = isTrivialLoopExitBlock(currentLoop,
599 if ((LoopExitCandidate = isTrivialLoopExitBlock(currentLoop,
633 /// UnswitchIfProfitable - We have found that we can unswitch currentLoop when
644 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock);
656 UnswitchNontrivialCondition(LoopCond, Val, currentLoop);
1012 if (currentLoop == BBLoop) {
1013 currentLoop = 0;