Lines Matching refs:PrevBB

1372   MachineBasicBlock &PrevBB = *std::prev(MachineFunction::iterator(MBB));  in OptimizeBlock()  local
1377 TII->analyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true); in OptimizeBlock()
1383 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1384 TII->removeBranch(PrevBB); in OptimizeBlock()
1387 TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1401 PrevBB.succ_size() == 1 && in OptimizeBlock()
1403 LLVM_DEBUG(dbgs() << "\nMerging into block: " << PrevBB in OptimizeBlock()
1406 if (PrevBB.begin() != PrevBB.end()) { in OptimizeBlock()
1407 MachineBasicBlock::iterator PrevBBIter = PrevBB.end(); in OptimizeBlock()
1412 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock()
1421 PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end()); in OptimizeBlock()
1422 PrevBB.removeSuccessor(PrevBB.succ_begin()); in OptimizeBlock()
1423 assert(PrevBB.succ_empty()); in OptimizeBlock()
1424 PrevBB.transferSuccessors(MBB); in OptimizeBlock()
1432 TII->removeBranch(PrevBB); in OptimizeBlock()
1441 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1442 TII->removeBranch(PrevBB); in OptimizeBlock()
1443 TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1455 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1456 TII->removeBranch(PrevBB); in OptimizeBlock()
1457 TII->insertBranch(PrevBB, PriorFBB, nullptr, NewPriorCond, dl); in OptimizeBlock()
1493 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1494 TII->removeBranch(PrevBB); in OptimizeBlock()
1495 TII->insertBranch(PrevBB, MBB, nullptr, NewPriorCond, dl); in OptimizeBlock()
1588 bool PredHasNoFallThrough = !PrevBB.canFallThrough(); in OptimizeBlock()
1590 !PrevBB.isSuccessor(MBB)) { in OptimizeBlock()
1593 if (!PredHasNoFallThrough && PrevBB.isSuccessor(MBB) && in OptimizeBlock()
1603 DebugLoc pdl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1604 TII->removeBranch(PrevBB); in OptimizeBlock()
1605 TII->insertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl); in OptimizeBlock()
1658 if (!PrevBB.canFallThrough()) { in OptimizeBlock()
1738 !TII->analyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) && in OptimizeBlock()
1739 PrevBB.isSuccessor(&*FallThrough)) { in OptimizeBlock()