Lines Matching refs:mbb
135 /// Coalesce copies in the specified MBB, putting
137 void copyCoalesceInMBB(MachineBasicBlock *MBB);
292 static bool isSplitEdge(const MachineBasicBlock *MBB) {
293 if (MBB->pred_size() != 1 || MBB->succ_size() != 1)
296 for (const auto &MI : *MBB) {
709 MachineBasicBlock *MBB = DefMI->getParent();
721 MBB->insert(Pos, NewMI);
722 MBB->erase(DefMI);
942 MachineBasicBlock *MBB = CopyMI->getParent();
945 TII->reMaterialize(*MBB, MII, DstReg, SrcIdx, DefMI, *TRI);
2115 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def);
2116 if (OtherLRQ.endPoint() >= Indexes->getMBBEndIdx(MBB))
2120 // being read, for example OtherVNI may be only partially redefined in MBB,
2123 // RedefVNI and WriteLanes for any later defs in MBB, and we can't compute
2186 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def);
2187 SlotIndex MBBEnd = Indexes->getMBBEndIdx(MBB);
2209 // Check for another def in the MBB.
2266 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def);
2267 MachineBasicBlock::iterator MI = MBB->begin();
2280 assert(MI != MBB->end() && "Bad LastMI");
2671 /// Information concerning MBB coalescing priority.
2673 MachineBasicBlock *MBB;
2677 MBBPriorityInfo(MachineBasicBlock *mbb, unsigned depth, bool issplit)
2678 : MBB(mbb), Depth(depth), IsSplit(issplit) {}
2683 /// block (the unsigned), and then on the MBB number.
2698 unsigned cl = LHS->MBB->pred_size() + LHS->MBB->succ_size();
2699 unsigned cr = RHS->MBB->pred_size() + RHS->MBB->succ_size();
2704 return LHS->MBB->getNumber() < RHS->MBB->getNumber() ? -1 : 1;
2805 RegisterCoalescer::copyCoalesceInMBB(MachineBasicBlock *MBB) {
2806 DEBUG(dbgs() << MBB->getName() << ":\n");
2808 // Collect all copy-like instructions in MBB. Don't start coalescing anything
2818 for (MachineBasicBlock::iterator MII = MBB->begin(), E = MBB->end();
2841 for (MachineBasicBlock::iterator MII = MBB->begin(), E = MBB->end();
2878 MachineBasicBlock *MBB = &*I;
2879 MBBs.push_back(MBBPriorityInfo(MBB, Loops->getLoopDepth(MBB),
2880 JoinSplitEdges && isSplitEdge(MBB)));
2884 // Coalesce intervals in MBB priority order.
2892 copyCoalesceInMBB(MBBs[i].MBB);