Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:MBB

360 void ExeDepsFix::enterBasicBlock(MachineBasicBlock *MBB) {
371 // Set up LiveRegs to represent registers entering MBB.
382 if (MBB->pred_empty()) {
383 for (const auto &LI : MBB->liveins()) {
391 DEBUG(dbgs() << "BB#" << MBB->getNumber() << ": entry\n");
396 for (MachineBasicBlock::const_pred_iterator pi = MBB->pred_begin(),
397 pe = MBB->pred_end(); pi != pe; ++pi) {
433 DEBUG(dbgs() << "BB#" << MBB->getNumber()
437 void ExeDepsFix::leaveBasicBlock(MachineBasicBlock *MBB) {
439 // Save live registers at end of MBB - used by enterBasicBlock().
441 bool First = LiveOuts.insert(std::make_pair(MBB, LiveRegs)).second;
555 void ExeDepsFix::processUndefReads(MachineBasicBlock *MBB) {
563 LiveRegSet.addLiveOutsNoPristines(*MBB);
568 for (MachineInstr &I : make_range(MBB->rbegin(), MBB->rend())) {
768 MachineBasicBlock *MBB = *MBBI;
769 enterBasicBlock(MBB);
771 Loops.push_back(MBB);
772 for (MachineInstr &MI : *MBB)
774 processUndefReads(MBB);
775 leaveBasicBlock(MBB);
780 for (MachineBasicBlock *MBB : Loops) {
781 enterBasicBlock(MBB);
782 for (MachineInstr &MI : *MBB)
785 processUndefReads(MBB);
786 leaveBasicBlock(MBB);