• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/

Lines Matching refs:CurrentLoop

184     Loop *CurrentLoop = nullptr;
232 void releaseMemory() override { BranchesInfo.forgetLoop(CurrentLoop); }
235 LoopHeader = CurrentLoop->getHeader();
236 LoopPreheader = CurrentLoop->getLoopPreheader();
531 CurrentLoop = L;
532 Function *F = CurrentLoop->getHeader()->getParent();
543 assert(CurrentLoop->isLCSSAForm(*DT));
561 while (CurrentLoop->contains(DomBB)) {
638 if (!CurrentLoop->isSafeToClone())
642 if (!CurrentLoop->hasDedicatedExits())
649 CurrentLoop,
651 *CurrentLoop->getHeader()->getParent()),
682 for (const auto BB : CurrentLoop->blocks()) {
699 Value *LoopCond = findLIVLoopCondition(Guard->getOperand(0), CurrentLoop,
715 for (Loop::block_iterator I = CurrentLoop->block_begin(),
716 E = CurrentLoop->block_end();
727 !SafetyInfo.isGuaranteedToExecute(*TI, DT, CurrentLoop))
742 Value *LoopCond = findLIVLoopCondition(BI->getCondition(), CurrentLoop,
756 findLIVLoopCondition(SC, CurrentLoop, Changed, MSSAU.get());
816 Value *LoopCond = findLIVLoopCondition(SI->getCondition(), CurrentLoop,
879 /// We have found that we can unswitch CurrentLoop when LoopCond == Val to
887 << CurrentLoop->getHeader()->getName()
896 << CurrentLoop->getHeader()->getName()
903 unswitchNontrivialCondition(LoopCond, Val, CurrentLoop, TI);
1035 BasicBlock *CurrentBB = CurrentLoop->getHeader();
1060 if (!CurrentLoop->contains(CurrentBB) || !Visited.insert(CurrentBB).second)
1107 Value *LoopCond = findLIVLoopCondition(BI->getCondition(), CurrentLoop,
1121 isTrivialLoopExitBlock(CurrentLoop, BI->getSuccessor(0)))) {
1124 isTrivialLoopExitBlock(CurrentLoop, BI->getSuccessor(1)))) {
1136 unswitchTrivialCondition(CurrentLoop, LoopCond, CondVal, LoopExitBB,
1142 Value *LoopCond = findLIVLoopCondition(SI->getCondition(), CurrentLoop,
1160 isTrivialLoopExitBlock(CurrentLoop, Case.getCaseSuccessor()))) {
1179 unswitchTrivialCondition(CurrentLoop, LoopCond, CondVal, LoopExitBB,