• Home
  • Raw
  • Download

Lines Matching refs:MBBI

133                           MachineBasicBlock::iterator MBBI,  in spillCalleeSavedRegisters()  argument
184 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::STMG)); in spillCalleeSavedRegisters()
212 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters()
222 MachineBasicBlock::iterator MBBI, in restoreCalleeSavedRegisters() argument
232 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in restoreCalleeSavedRegisters()
238 TII->loadRegFromStackSlot(MBB, MBBI, Reg, CSI[I].getFrameIdx(), in restoreCalleeSavedRegisters()
254 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::LMG)); in restoreCalleeSavedRegisters()
294 MachineBasicBlock::iterator &MBBI, in emitIncrement() argument
313 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII->get(Opcode), Reg) in emitIncrement()
328 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
343 if (MBBI != MBB.end() && MBBI->getOpcode() == SystemZ::STMG) in emitPrologue()
344 ++MBBI; in emitPrologue()
355 BuildMI(MBB, MBBI, DL, ZII->get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
369 BuildMI(MBB, MBBI, DL, ZII->get(SystemZ::LGR)) in emitPrologue()
374 emitIncrement(MBB, MBBI, DL, SystemZ::R15D, Delta, ZII); in emitPrologue()
379 BuildMI(MBB, MBBI, DL, ZII->get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
384 BuildMI(MBB, MBBI, DL, ZII->get(SystemZ::STG)) in emitPrologue()
390 BuildMI(MBB, MBBI, DL, ZII->get(SystemZ::LGR), SystemZ::R11D) in emitPrologue()
397 BuildMI(MBB, MBBI, DL, ZII->get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
412 if (MBBI != MBB.end() && in emitPrologue()
413 (MBBI->getOpcode() == SystemZ::STD || in emitPrologue()
414 MBBI->getOpcode() == SystemZ::STDY)) in emitPrologue()
415 ++MBBI; in emitPrologue()
433 BuildMI(MBB, MBBI, DL, ZII->get(TargetOpcode::CFI_INSTRUCTION)) in emitPrologue()
440 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); in emitEpilogue() local
446 assert(MBBI->isReturn() && "Can only insert epilogue into returning blocks"); in emitEpilogue()
450 --MBBI; in emitEpilogue()
451 unsigned Opcode = MBBI->getOpcode(); in emitEpilogue()
456 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue()
457 uint64_t Offset = StackSize + MBBI->getOperand(AddrOpNo + 1).getImm(); in emitEpilogue()
464 emitIncrement(MBB, MBBI, DL, MBBI->getOperand(AddrOpNo).getReg(), in emitEpilogue()
471 MBBI->setDesc(ZII->get(NewOpcode)); in emitEpilogue()
472 MBBI->getOperand(AddrOpNo + 1).ChangeToImmediate(Offset); in emitEpilogue()
474 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue()
475 emitIncrement(MBB, MBBI, DL, SystemZ::R15D, StackSize, ZII); in emitEpilogue()