Lines Matching defs:MBB

182   /// Find the compare instruction in MBB that controls the conditional branch.
184 MachineInstr *findConvertibleCompare(MachineBasicBlock *MBB);
186 /// Return true if all non-terminator instructions in MBB can be safely
188 bool canSpeculateInstrs(MachineBasicBlock *MBB, const MachineInstr *CmpMI);
199 /// If the sub-CFG headed by MBB can be cmp-converted, initialize the
201 bool canConvert(MachineBasicBlock *MBB);
220 // PHI operands come in (VReg, MBB) pairs.
222 MachineBasicBlock *MBB = I.getOperand(oi + 1).getMBB();
224 if (MBB == Head) {
228 if (MBB == CmpBB) {
247 // PHI operands are (Reg, MBB) at (oi-2, oi-1).
298 MachineInstr *SSACCmpConv::findConvertibleCompare(MachineBasicBlock *MBB) {
299 MachineBasicBlock::iterator I = MBB->getFirstTerminator();
300 if (I == MBB->end())
318 for (MachineBasicBlock::iterator B = MBB->begin(); I != B;) {
371 DEBUG(dbgs() << "Flags not defined in BB#" << MBB->getNumber() << '\n');
375 /// Determine if all the instructions in MBB can safely
380 bool SSACCmpConv::canSpeculateInstrs(MachineBasicBlock *MBB,
384 if (!MBB->livein_empty()) {
385 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has live-ins.\n");
393 for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) {
398 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has more than "
433 /// Analyze the sub-cfg rooted in MBB, and return true if it is a potential
436 bool SSACCmpConv::canConvert(MachineBasicBlock *MBB) {
437 Head = MBB;
878 bool AArch64ConditionalCompares::tryConvert(MachineBasicBlock *MBB) {
880 while (CmpConv.canConvert(MBB) && shouldConvert()) {