Lines Matching refs:Latch
373 if (MachineBasicBlock *Latch = L->getLoopLatch()) { in getExitingBlock() local
374 if (L->isLoopExiting(Latch)) in getExitingBlock()
375 return Latch; in getExitingBlock()
389 MachineBasicBlock *Latch = L->getLoopLatch(); in findInductionRegister() local
391 if (!Header || !Preheader || !Latch || !ExitingBlock) in findInductionRegister()
415 if (Phi->getOperand(i+1).getMBB() != Latch) in findInductionRegister()
573 MachineBasicBlock *Latch = L->getLoopLatch(); in getLoopTripCount() local
578 else if (MBB == Latch) in getLoopTripCount()
595 if (ExitingBlock != Latch && (TB == Latch || FB == Latch)) { in getLoopTripCount()
598 bool NotAnalyzed = TII->analyzeBranch(*Latch, LTB, LFB, LCond, false); in getLoopTripCount()
601 if (TB == Latch) in getLoopTripCount()
1571 MachineBasicBlock *Latch = L->getLoopLatch(); in fixupInductionVariable() local
1574 if (!(Header && Latch && ExitingBlock)) in fixupInductionVariable()
1596 if (Phi->getOperand(i+1).getMBB() != Latch) in fixupInductionVariable()
1628 if (ExitingBlock != Latch && (TB == Latch || FB == Latch)) { in fixupInductionVariable()
1631 bool NotAnalyzed = TII->analyzeBranch(*Latch, LTB, LFB, LCond, false); in fixupInductionVariable()
1637 if (TB == Latch) in fixupInductionVariable()
1820 MachineBasicBlock *Latch = L->getLoopLatch(); in createPreheaderForLoop() local
1830 if (!Latch || !ExitingBlock || Header->hasAddressTaken()) in createPreheaderForLoop()
1880 if (PredB == Latch) in createPreheaderForLoop()
1893 if (PredB != Latch) { in createPreheaderForLoop()
1915 if (MO.getMBB() != Latch) in createPreheaderForLoop()
1931 if (PB != Latch) { in createPreheaderForLoop()
1945 bool LatchNotAnalyzed = TII->analyzeBranch(*Latch, TB, FB, Tmp2, false); in createPreheaderForLoop()
1949 TII->InsertBranch(*Latch, Header, nullptr, EmptyCond, DL); in createPreheaderForLoop()