Lines Matching refs:TB
459 MachineBasicBlock *TB = nullptr, *FB = nullptr; in findInductionRegister() local
460 bool NotAnalyzed = TII->analyzeBranch(*ExitingBlock, TB, FB, Cond, false); in findInductionRegister()
621 MachineBasicBlock *TB = nullptr, *FB = nullptr; in getLoopTripCount() local
622 bool NotAnalyzed = TII->analyzeBranch(*ExitingBlock, TB, FB, Cond, false); in getLoopTripCount()
630 assert (TB && "Exit block without a branch?"); in getLoopTripCount()
631 if (ExitingBlock != Latch && (TB == Latch || FB == Latch)) { in getLoopTripCount()
637 if (TB == Latch) in getLoopTripCount()
638 TB = (LTB == Header) ? LTB : LFB; in getLoopTripCount()
642 assert ((!FB || TB == Header || FB == Header) && "Branches not to header?"); in getLoopTripCount()
643 if (!TB || (FB && TB != Header && FB != Header)) in getLoopTripCount()
650 bool Negated = TII->predOpcodeHasNot(Cond) ^ (TB != Header); in getLoopTripCount()
1225 MachineBasicBlock *TB = nullptr, *FB = nullptr; in convertToHardwareLoop() local
1228 if (TII->analyzeBranch(*ExitingBlock, TB, FB, Cond, false)) in convertToHardwareLoop()
1231 if (L->contains(TB)) in convertToHardwareLoop()
1232 LoopStart = TB; in convertToHardwareLoop()
1642 MachineBasicBlock *TB = nullptr, *FB = nullptr; in fixupInductionVariable() local
1645 bool NotAnalyzed = TII->analyzeBranch(*ExitingBlock, TB, FB, Cond, false); in fixupInductionVariable()
1649 if (ExitingBlock != Latch && (TB == Latch || FB == Latch)) { in fixupInductionVariable()
1658 if (TB == Latch) in fixupInductionVariable()
1659 TB = (LTB == Header) ? LTB : LFB; in fixupInductionVariable()
1663 if (TB != Header) { in fixupInductionVariable()
1674 if (MDT->dominates(TB, FB)) in fixupInductionVariable()
1860 MachineBasicBlock *TB = nullptr, *FB = nullptr; in createPreheaderForLoop() local
1862 if (TII->analyzeBranch(*ExitingBlock, TB, FB, Tmp1, false)) in createPreheaderForLoop()
1866 bool NotAnalyzed = TII->analyzeBranch(*PB, TB, FB, Tmp1, false); in createPreheaderForLoop()
1945 TB = FB = nullptr; in createPreheaderForLoop()
1950 bool NotAnalyzed = TII->analyzeBranch(*PB, TB, FB, Tmp2, false); in createPreheaderForLoop()
1953 if (TB != Header && (Tmp2.empty() || FB != Header)) in createPreheaderForLoop()
1961 TB = FB = nullptr; in createPreheaderForLoop()
1962 bool LatchNotAnalyzed = TII->analyzeBranch(*Latch, TB, FB, Tmp2, false); in createPreheaderForLoop()
1965 if (!TB && !FB) in createPreheaderForLoop()