Lines Matching refs:PrevBB

1275   MachineBasicBlock &PrevBB = *std::prev(MachineFunction::iterator(MBB));  in OptimizeBlock()  local
1280 TII->analyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true); in OptimizeBlock()
1283 MadeChange |= PrevBB.CorrectExtraCFGEdges(PriorTBB, PriorFBB, in OptimizeBlock()
1290 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1291 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1294 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1308 PrevBB.succ_size() == 1 && in OptimizeBlock()
1310 DEBUG(dbgs() << "\nMerging into block: " << PrevBB in OptimizeBlock()
1313 if (PrevBB.begin() != PrevBB.end()) { in OptimizeBlock()
1314 MachineBasicBlock::iterator PrevBBIter = PrevBB.end(); in OptimizeBlock()
1319 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock()
1328 PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end()); in OptimizeBlock()
1329 PrevBB.removeSuccessor(PrevBB.succ_begin()); in OptimizeBlock()
1330 assert(PrevBB.succ_empty()); in OptimizeBlock()
1331 PrevBB.transferSuccessors(MBB); in OptimizeBlock()
1339 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1348 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1349 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1350 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1362 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1363 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1364 TII->InsertBranch(PrevBB, PriorFBB, nullptr, NewPriorCond, dl); in OptimizeBlock()
1400 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1401 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1402 TII->InsertBranch(PrevBB, MBB, nullptr, NewPriorCond, dl); in OptimizeBlock()
1464 bool PredHasNoFallThrough = !PrevBB.canFallThrough(); in OptimizeBlock()
1466 !PrevBB.isSuccessor(MBB)) { in OptimizeBlock()
1469 if (!PredHasNoFallThrough && PrevBB.isSuccessor(MBB) && in OptimizeBlock()
1479 DebugLoc pdl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1480 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1481 TII->InsertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl); in OptimizeBlock()
1535 if (!PrevBB.canFallThrough()) { in OptimizeBlock()
1607 !TII->analyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) && in OptimizeBlock()
1608 PrevBB.isSuccessor(&*FallThrough)) { in OptimizeBlock()