Home | History | Annotate | Download | only in MSP430

Lines Matching refs:MBB

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