Lines Matching full:mbb
139 /// Return true if all non-terminator instructions in MBB can be safely
141 bool canSpeculateInstrs(MachineBasicBlock *MBB);
164 /// canConvertIf - If the sub-CFG headed by MBB can be if-converted,
166 bool canConvertIf(MachineBasicBlock *MBB);
175 /// canSpeculateInstrs - Returns true if all the instructions in MBB can safely
183 bool SSAIfConv::canSpeculateInstrs(MachineBasicBlock *MBB) {
186 if (!MBB->livein_empty()) {
187 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has live-ins.\n");
195 for (MachineBasicBlock::iterator I = MBB->begin(),
196 E = MBB->getFirstTerminator(); I != E; ++I) {
201 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has more than "
248 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " depends on " << *DefMI);
336 /// canConvertIf - analyze the sub-cfg rooted in MBB, and return true if it is
339 bool SSAIfConv::canConvertIf(MachineBasicBlock *MBB) {
340 Head = MBB;
348 // Canonicalize so Succ0 has MBB as its single predecessor.
489 MachineBasicBlock *MBB = PI.PHI->getOperand(i-1).getMBB();
490 if (MBB == getTPred()) {
493 } else if (MBB == getFPred()) {
759 /// Attempt repeated if-conversion on MBB, return true if successful.
761 bool EarlyIfConverter::tryConvertIf(MachineBasicBlock *MBB) {
763 while (IfConv.canConvertIf(MBB) && shouldConvertIf()) {
764 // If-convert MBB and update analyses.