Lines Matching refs:MBB
37 void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
43 if (MI != MBB.end()) DL = MI->getDebugLoc();
44 MachineFunction &MF = *MBB.getParent();
53 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr))
57 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr))
64 void MSP430InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
70 if (MI != MBB.end()) DL = MI->getDebugLoc();
71 MachineFunction &MF = *MBB.getParent();
80 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm))
83 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm))
89 void MSP430InstrInfo::copyPhysReg(MachineBasicBlock &MBB,
101 BuildMI(MBB, I, DL, get(Opc), DestReg)
105 unsigned MSP430InstrInfo::RemoveBranch(MachineBasicBlock &MBB) const {
106 MachineBasicBlock::iterator I = MBB.end();
109 while (I != MBB.begin()) {
120 I = MBB.end();
170 bool MSP430InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,
177 MachineBasicBlock::iterator I = MBB.end();
178 while (I != MBB.begin()) {
206 while (std::next(I) != MBB.end())
212 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) {
215 I = MBB.end();
261 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
273 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(TBB);
279 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm());
284 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB);