Lines Matching refs:MBB
37 void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() argument
43 if (MI != MBB.end()) DL = MI->getDebugLoc(); in storeRegToStackSlot()
44 MachineFunction &MF = *MBB.getParent(); in storeRegToStackSlot()
54 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr)) in storeRegToStackSlot()
58 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr)) in storeRegToStackSlot()
65 void MSP430InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() argument
71 if (MI != MBB.end()) DL = MI->getDebugLoc(); in loadRegFromStackSlot()
72 MachineFunction &MF = *MBB.getParent(); in loadRegFromStackSlot()
82 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm)) in loadRegFromStackSlot()
85 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm)) in loadRegFromStackSlot()
91 void MSP430InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() argument
103 BuildMI(MBB, I, DL, get(Opc), DestReg) in copyPhysReg()
107 unsigned MSP430InstrInfo::RemoveBranch(MachineBasicBlock &MBB) const { in RemoveBranch()
108 MachineBasicBlock::iterator I = MBB.end(); in RemoveBranch()
111 while (I != MBB.begin()) { in RemoveBranch()
122 I = MBB.end(); in RemoveBranch()
172 bool MSP430InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() argument
179 MachineBasicBlock::iterator I = MBB.end(); in AnalyzeBranch()
180 while (I != MBB.begin()) { in AnalyzeBranch()
208 while (std::next(I) != MBB.end()) in AnalyzeBranch()
214 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in AnalyzeBranch()
217 I = MBB.end(); in AnalyzeBranch()
263 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in InsertBranch() argument
275 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(TBB); in InsertBranch()
281 BuildMI(&MBB, DL, get(MSP430::JCC)).addMBB(TBB).addImm(Cond[0].getImm()); in InsertBranch()
286 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB); in InsertBranch()