Lines Matching defs:MBB
140 /// Return true if all non-terminator instructions in MBB can be safely
142 bool canSpeculateInstrs(MachineBasicBlock *MBB);
165 /// canConvertIf - If the sub-CFG headed by MBB can be if-converted,
167 bool canConvertIf(MachineBasicBlock *MBB);
176 /// canSpeculateInstrs - Returns true if all the instructions in MBB can safely
184 bool SSAIfConv::canSpeculateInstrs(MachineBasicBlock *MBB) {
187 if (!MBB->livein_empty()) {
188 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has live-ins.\n");
196 for (MachineBasicBlock::iterator I = MBB->begin(),
197 E = MBB->getFirstTerminator(); I != E; ++I) {
202 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has more than "
249 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " depends on " << *DefMI);
337 /// canConvertIf - analyze the sub-cfg rooted in MBB, and return true if it is
340 bool SSAIfConv::canConvertIf(MachineBasicBlock *MBB) {
341 Head = MBB;
349 // Canonicalize so Succ0 has MBB as its single predecessor.
499 MachineBasicBlock *MBB = PI.PHI->getOperand(i-1).getMBB();
500 if (MBB == getTPred()) {
503 } else if (MBB == getFPred()) {
769 /// Attempt repeated if-conversion on MBB, return true if successful.
771 bool EarlyIfConverter::tryConvertIf(MachineBasicBlock *MBB) {
773 while (IfConv.canConvertIf(MBB) && shouldConvertIf()) {
774 // If-convert MBB and update analyses.