Lines Matching full:mbb
254 // When new basic blocks are inserted and the edges from MBB to its successors
259 MachineBasicBlock *MBB) const {
468 const MachineBasicBlock *MBB = I;
469 for (MachineBasicBlock::const_iterator II = MBB->begin(), IE = MBB->end();
588 BlockNumber = FuncInfo->MBB->getNumber();
590 FuncInfo->MBB->getBasicBlock()->getName().str();
704 Scheduler->Run(CurDAG, FuncInfo->MBB);
711 MachineBasicBlock *FirstMBB = FuncInfo->MBB, *LastMBB;
717 LastMBB = FuncInfo->MBB = Scheduler->EmitSchedule(FuncInfo->InsertPt);
757 << FuncInfo->MBB->getNumber()
758 << " '" << FuncInfo->MBB->getName() << "'\n");
820 MachineBasicBlock *MBB = FuncInfo->MBB;
824 MCSymbol *Label = MF->getMMI().addLandingPad(MBB);
827 MF->getMMI().setCallSiteLandingPad(Label, SDB->LPadToCallSiteMap[MBB]);
830 BuildMI(*MBB, FuncInfo->InsertPt, SDB->getCurDebugLoc(), II)
837 FuncInfo->ExceptionPointerVirtReg = MBB->addLiveIn(Reg, PtrRC);
841 FuncInfo->ExceptionSelectorVirtReg = MBB->addLiveIn(Reg, PtrRC);
975 FuncInfo->MBB = FuncInfo->MBBMap[LLVMBB];
976 FuncInfo->InsertPt = FuncInfo->MBB->getFirstNonPHI();
981 if (FuncInfo->MBB->isLandingPad())
1010 if (FuncInfo->InsertPt != FuncInfo->MBB->begin())
1081 FastIS->removeDeadCode(SavedInsertPt, FuncInfo->MBB->end());
1155 // Next, now that we know what the last MBB the LLVM BB expanded is, update
1164 if (!FuncInfo->MBB->isSuccessor(PHI->getParent()))
1166 PHI.addReg(FuncInfo->PHINodesToUpdate[i].second).addMBB(FuncInfo->MBB);
1174 // Set the current basic block to the mbb we wish to insert the code into
1175 FuncInfo->MBB = SDB->BitTestCases[i].Parent;
1176 FuncInfo->InsertPt = FuncInfo->MBB->end();
1178 SDB->visitBitTestHeader(SDB->BitTestCases[i], FuncInfo->MBB);
1190 // Set the current basic block to the mbb we wish to insert the code into
1191 FuncInfo->MBB = SDB->BitTestCases[i].Cases[j].ThisBB;
1192 FuncInfo->InsertPt = FuncInfo->MBB->end();
1200 FuncInfo->MBB);
1207 FuncInfo->MBB);
1242 // whether the PHI is a successor of the range check MBB or the jump table MBB
1246 // Set the current basic block to the mbb we wish to insert the code into
1247 FuncInfo->MBB = SDB->JTCases[i].first.HeaderBB;
1248 FuncInfo->InsertPt = FuncInfo->MBB->end();
1251 FuncInfo->MBB);
1257 // Set the current basic block to the mbb we wish to insert the code into
1258 FuncInfo->MBB = SDB->JTCases[i].second.MBB;
1259 FuncInfo->InsertPt = FuncInfo->MBB->end();
1278 if (FuncInfo->MBB->isSuccessor(PHIBB))
1279 PHI.addReg(FuncInfo->PHINodesToUpdate[pi].second).addMBB(FuncInfo->MBB);
1290 if (FuncInfo->MBB->isSuccessor(PHI->getParent()))
1291 PHI.addReg(FuncInfo->PHINodesToUpdate[i].second).addMBB(FuncInfo->MBB);
1297 // Set the current basic block to the mbb we wish to insert the code into
1298 FuncInfo->MBB = SDB->SwitchCases[i].ThisBB;
1299 FuncInfo->InsertPt = FuncInfo->MBB->end();
1307 // Emit the code. Note that this could result in FuncInfo->MBB being split.
1308 SDB->visitSwitchCase(SDB->SwitchCases[i], FuncInfo->MBB);
1315 MachineBasicBlock *ThisBB = FuncInfo->MBB;
1322 FuncInfo->MBB = Succs[i];
1323 FuncInfo->InsertPt = FuncInfo->MBB->end();
1324 // FuncInfo->MBB may have been removed from the CFG if a branch was
1326 if (ThisBB->isSuccessor(FuncInfo->MBB)) {
1328 MBBI = FuncInfo->MBB->begin(), MBBE = FuncInfo->MBB->end();