Lines Matching defs:PrevBB
1396 MachineBasicBlock &PrevBB = *std::prev(MachineFunction::iterator(MBB));
1401 TII->analyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true);
1407 DebugLoc dl = getBranchDebugLoc(PrevBB);
1408 TII->removeBranch(PrevBB);
1411 TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
1422 // This has to check PrevBB->succ_size() because EH edges are ignored by
1425 PrevBB.succ_size() == 1 && PrevBB.isSuccessor(MBB) &&
1427 LLVM_DEBUG(dbgs() << "\nMerging into block: " << PrevBB
1430 if (!PrevBB.empty()) {
1431 MachineBasicBlock::iterator PrevBBIter = PrevBB.end();
1434 // Check if DBG_VALUE at the end of PrevBB is identical to the
1436 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end()
1445 PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end());
1446 PrevBB.removeSuccessor(PrevBB.succ_begin());
1447 assert(PrevBB.succ_empty());
1448 PrevBB.transferSuccessors(MBB);
1456 TII->removeBranch(PrevBB);
1465 DebugLoc dl = getBranchDebugLoc(PrevBB);
1466 TII->removeBranch(PrevBB);
1467 TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
1479 DebugLoc dl = getBranchDebugLoc(PrevBB);
1480 TII->removeBranch(PrevBB);
1481 TII->insertBranch(PrevBB, PriorFBB, nullptr, NewPriorCond, dl);
1517 DebugLoc dl = getBranchDebugLoc(PrevBB);
1518 TII->removeBranch(PrevBB);
1519 TII->insertBranch(PrevBB, MBB, nullptr, NewPriorCond, dl);
1613 bool PredHasNoFallThrough = !PrevBB.canFallThrough();
1615 !PrevBB.isSuccessor(MBB)) {
1618 if (!PredHasNoFallThrough && PrevBB.isSuccessor(MBB) &&
1628 DebugLoc pdl = getBranchDebugLoc(PrevBB);
1629 TII->removeBranch(PrevBB);
1630 TII->insertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl);
1692 if (!PrevBB.canFallThrough()) {
1772 !TII->analyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) &&
1773 PrevBB.isSuccessor(&*FallThrough)) {