Lines Matching refs:MBB
170 void PPCInstrInfo::insertNoop(MachineBasicBlock &MBB,
173 BuildMI(MBB, MI, DL, get(PPC::NOP));
178 bool PPCInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
183 MachineBasicBlock::iterator I = MBB.end();
184 if (I == MBB.begin())
188 if (I == MBB.begin())
199 if (I == MBB.begin() || !isUnpredicatedTerminator(--I)) {
222 if (SecondLastInst && I != MBB.begin() &&
256 unsigned PPCInstrInfo::RemoveBranch(MachineBasicBlock &MBB) const {
257 MachineBasicBlock::iterator I = MBB.end();
258 if (I == MBB.begin()) return 0;
261 if (I == MBB.begin())
271 I = MBB.end();
273 if (I == MBB.begin()) return 1;
284 PPCInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
296 BuildMI(&MBB, DL, get(PPC::B)).addMBB(TBB);
298 BuildMI(&MBB, DL, get(PPC::BCC))
304 BuildMI(&MBB, DL, get(PPC::BCC))
306 BuildMI(&MBB, DL, get(PPC::B)).addMBB(FBB);
310 void PPCInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
332 BuildMI(MBB, I, DL, MCID, DestReg)
335 BuildMI(MBB, I, DL, MCID, DestReg).addReg(SrcReg, getKillRegState(KillSrc));
479 PPCInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
484 MachineFunction &MF = *MBB.getParent();
493 MBB.insert(MI, NewMIs[i]);
604 PPCInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
609 MachineFunction &MF = *MBB.getParent();
612 if (MI != MBB.end()) DL = MI->getDebugLoc();
615 MBB.insert(MI, NewMIs[i]);