Lines Matching refs:PrevBB
1224 MachineBasicBlock &PrevBB = *std::prev(MachineFunction::iterator(MBB)); in OptimizeBlock() local
1229 TII->AnalyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true); in OptimizeBlock()
1232 MadeChange |= PrevBB.CorrectExtraCFGEdges(PriorTBB, PriorFBB, in OptimizeBlock()
1239 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1240 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1243 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1257 PrevBB.succ_size() == 1 && in OptimizeBlock()
1259 DEBUG(dbgs() << "\nMerging into block: " << PrevBB in OptimizeBlock()
1262 if (PrevBB.begin() != PrevBB.end()) { in OptimizeBlock()
1263 MachineBasicBlock::iterator PrevBBIter = PrevBB.end(); in OptimizeBlock()
1268 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end() in OptimizeBlock()
1277 PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end()); in OptimizeBlock()
1278 PrevBB.removeSuccessor(PrevBB.succ_begin()); in OptimizeBlock()
1279 assert(PrevBB.succ_empty()); in OptimizeBlock()
1280 PrevBB.transferSuccessors(MBB); in OptimizeBlock()
1288 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1297 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1298 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1299 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1311 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1312 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1313 TII->InsertBranch(PrevBB, PriorFBB, nullptr, NewPriorCond, dl); in OptimizeBlock()
1349 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1350 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1351 TII->InsertBranch(PrevBB, MBB, nullptr, NewPriorCond, dl); in OptimizeBlock()
1421 bool PredHasNoFallThrough = !PrevBB.canFallThrough(); in OptimizeBlock()
1423 !PrevBB.isSuccessor(MBB)) { in OptimizeBlock()
1426 if (!PredHasNoFallThrough && PrevBB.isSuccessor(MBB) && in OptimizeBlock()
1436 DebugLoc pdl = getBranchDebugLoc(PrevBB); in OptimizeBlock()
1437 TII->RemoveBranch(PrevBB); in OptimizeBlock()
1438 TII->InsertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl); in OptimizeBlock()
1492 if (!PrevBB.canFallThrough()) { in OptimizeBlock()
1562 !TII->AnalyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) && in OptimizeBlock()
1563 PrevBB.isSuccessor(FallThrough)) { in OptimizeBlock()