Lines Matching refs:Latch
409 MachineBasicBlock *Latch = L->getLoopLatch(); in findInductionRegister() local
411 if (!Header || !Preheader || !Latch || !ExitingBlock) in findInductionRegister()
436 if (Phi->getOperand(i+1).getMBB() != Latch) in findInductionRegister()
606 MachineBasicBlock *Latch = L->getLoopLatch(); in getLoopTripCount() local
611 else if (MBB == Latch) in getLoopTripCount()
628 if (ExitingBlock != Latch && (TB == Latch || FB == Latch)) { in getLoopTripCount()
631 bool NotAnalyzed = TII->analyzeBranch(*Latch, LTB, LFB, LCond, false); in getLoopTripCount()
634 if (TB == Latch) in getLoopTripCount()
1592 MachineBasicBlock *Latch = L->getLoopLatch(); in fixupInductionVariable() local
1595 if (!(Header && Latch && ExitingBlock)) in fixupInductionVariable()
1618 if (Phi->getOperand(i+1).getMBB() != Latch) in fixupInductionVariable()
1648 if (ExitingBlock != Latch && (TB == Latch || FB == Latch)) { in fixupInductionVariable()
1651 bool NotAnalyzed = TII->analyzeBranch(*Latch, LTB, LFB, LCond, false); in fixupInductionVariable()
1657 if (TB == Latch) in fixupInductionVariable()
1840 MachineBasicBlock *Latch = L->getLoopLatch(); in createPreheaderForLoop() local
1850 if (!Latch || !ExitingBlock || Header->hasAddressTaken()) in createPreheaderForLoop()
1900 if (PredB == Latch) in createPreheaderForLoop()
1913 if (PredB != Latch) { in createPreheaderForLoop()
1934 if (MO.getMBB() != Latch) in createPreheaderForLoop()
1949 if (PB != Latch) { in createPreheaderForLoop()
1963 bool LatchNotAnalyzed = TII->analyzeBranch(*Latch, TB, FB, Tmp2, false); in createPreheaderForLoop()
1967 TII->insertBranch(*Latch, Header, nullptr, EmptyCond, DL); in createPreheaderForLoop()