Lines Matching refs:MBB
328 // When new basic blocks are inserted and the edges from MBB to its successors
333 MachineBasicBlock *MBB) const {
587 for (const auto &MBB : *MF) {
591 for (const auto &MI : MBB) {
720 FuncInfo->MBB->getBasicBlock()->getName().str());
728 BlockNumber = FuncInfo->MBB->getNumber();
730 (MF->getName() + ":" + FuncInfo->MBB->getBasicBlock()->getName()).str();
851 Scheduler->Run(CurDAG, FuncInfo->MBB);
858 MachineBasicBlock *FirstMBB = FuncInfo->MBB, *LastMBB;
864 LastMBB = FuncInfo->MBB = Scheduler->EmitSchedule(FuncInfo->InsertPt);
904 << FuncInfo->MBB->getNumber()
905 << " '" << FuncInfo->MBB->getName() << "'\n");
979 MachineBasicBlock *MBB = FuncInfo->MBB;
981 const BasicBlock *LLVMBB = MBB->getBasicBlock();
993 MBB->addLiveIn(EHPhysReg);
995 BuildMI(*MBB, FuncInfo->InsertPt, SDB->getCurDebugLoc(),
1007 MCSymbol *Label = MF->getMMI().addLandingPad(MBB);
1010 MF->getMMI().setCallSiteLandingPad(Label, SDB->LPadToCallSiteMap[MBB]);
1013 BuildMI(*MBB, FuncInfo->InsertPt, SDB->getCurDebugLoc(), II)
1018 FuncInfo->ExceptionPointerVirtReg = MBB->addLiveIn(Reg, PtrRC);
1022 FuncInfo->ExceptionSelectorVirtReg = MBB->addLiveIn(Reg, PtrRC);
1189 FuncInfo->MBB = FuncInfo->MBBMap[LLVMBB];
1190 if (!FuncInfo->MBB)
1191 continue; // Some blocks like catchpads have no code or MBB.
1192 FuncInfo->InsertPt = FuncInfo->MBB->getFirstNonPHI();
1227 if (FuncInfo->InsertPt != FuncInfo->MBB->begin())
1303 FastIS->removeDeadCode(SavedInsertPt, FuncInfo->MBB->end());
1382 // of our mbb. We want to include said debug info in our terminator
1462 // Next, now that we know what the last MBB the LLVM BB expanded is, update
1468 if (!FuncInfo->MBB->isSuccessor(PHI->getParent()))
1470 PHI.addReg(FuncInfo->PHINodesToUpdate[i].second).addMBB(FuncInfo->MBB);
1478 // Find the split point to split the parent mbb. At the same time copy all
1479 // physical registers used in the tail of parent mbb into virtual registers
1482 // register allocation issues caused by us splitting the parent mbb. The
1493 FuncInfo->MBB = ParentMBB;
1500 // CodeGen Failure MBB if we have not codegened it yet.
1503 FuncInfo->MBB = FailureMBB;
1518 // Set the current basic block to the mbb we wish to insert the code into
1519 FuncInfo->MBB = SDB->BitTestCases[i].Parent;
1520 FuncInfo->InsertPt = FuncInfo->MBB->end();
1522 SDB->visitBitTestHeader(SDB->BitTestCases[i], FuncInfo->MBB);
1531 // Set the current basic block to the mbb we wish to insert the code into
1532 FuncInfo->MBB = SDB->BitTestCases[i].Cases[j].ThisBB;
1533 FuncInfo->InsertPt = FuncInfo->MBB->end();
1553 FuncInfo->MBB);
1590 // whether the PHI is a successor of the range check MBB or the jump table MBB
1594 // Set the current basic block to the mbb we wish to insert the code into
1595 FuncInfo->MBB = SDB->JTCases[i].first.HeaderBB;
1596 FuncInfo->InsertPt = FuncInfo->MBB->end();
1599 FuncInfo->MBB);
1605 // Set the current basic block to the mbb we wish to insert the code into
1606 FuncInfo->MBB = SDB->JTCases[i].second.MBB;
1607 FuncInfo->InsertPt = FuncInfo->MBB->end();
1626 if (FuncInfo->MBB->isSuccessor(PHIBB))
1627 PHI.addReg(FuncInfo->PHINodesToUpdate[pi].second).addMBB(FuncInfo->MBB);
1635 // Set the current basic block to the mbb
1636 FuncInfo->MBB = SDB->SwitchCases[i].ThisBB;
1637 FuncInfo->InsertPt = FuncInfo->MBB->end();
1645 // Emit the code. Note that this could result in FuncInfo->MBB being split.
1646 SDB->visitSwitchCase(SDB->SwitchCases[i], FuncInfo->MBB);
1653 MachineBasicBlock *ThisBB = FuncInfo->MBB;
1660 FuncInfo->MBB = Succs[i];
1661 FuncInfo->InsertPt = FuncInfo->MBB->end();
1662 // FuncInfo->MBB may have been removed from the CFG if a branch was
1664 if (ThisBB->isSuccessor(FuncInfo->MBB)) {
1666 MBBI = FuncInfo->MBB->begin(), MBBE = FuncInfo->MBB->end();