Lines Matching refs:MBBI

65                   MachineBasicBlock::iterator MBBI,
68 void ExpandVLD(MachineBasicBlock::iterator &MBBI);
69 void ExpandVST(MachineBasicBlock::iterator &MBBI);
70 void ExpandLaneOp(MachineBasicBlock::iterator &MBBI);
71 void ExpandVTBL(MachineBasicBlock::iterator &MBBI,
73 void ExpandMQQPRLoadStore(MachineBasicBlock::iterator &MBBI);
75 MachineBasicBlock::iterator &MBBI);
77 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
81 MachineBasicBlock::iterator MBBI);
83 MachineBasicBlock::iterator MBBI,
86 MachineBasicBlock::iterator MBBI,
89 MachineBasicBlock::iterator MBBI, DebugLoc &DL,
93 MachineBasicBlock::iterator MBBI, DebugLoc &DL,
97 MachineBasicBlock::iterator MBBI, DebugLoc &DL,
100 MachineBasicBlock::iterator MBBI, DebugLoc &DL,
103 MachineBasicBlock::iterator MBBI, DebugLoc &DL,
106 MachineBasicBlock::iterator MBBI, DebugLoc &DL,
109 MachineBasicBlock::iterator MBBI, unsigned LdrexOp,
114 MachineBasicBlock::iterator MBBI,
567 void ARMExpandPseudo::ExpandVLD(MachineBasicBlock::iterator &MBBI) { in ExpandVLD() argument
568 MachineInstr &MI = *MBBI; in ExpandVLD()
577 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVLD()
688 void ARMExpandPseudo::ExpandVST(MachineBasicBlock::iterator &MBBI) { in ExpandVST() argument
689 MachineInstr &MI = *MBBI; in ExpandVST()
698 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVST()
764 void ARMExpandPseudo::ExpandLaneOp(MachineBasicBlock::iterator &MBBI) { in ExpandLaneOp() argument
765 MachineInstr &MI = *MBBI; in ExpandLaneOp()
775 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandLaneOp()
854 void ARMExpandPseudo::ExpandVTBL(MachineBasicBlock::iterator &MBBI, in ExpandVTBL() argument
856 MachineInstr &MI = *MBBI; in ExpandVTBL()
860 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc)); in ExpandVTBL()
891 void ARMExpandPseudo::ExpandMQQPRLoadStore(MachineBasicBlock::iterator &MBBI) { in ExpandMQQPRLoadStore() argument
892 MachineInstr &MI = *MBBI; in ExpandMQQPRLoadStore()
899 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)); in ExpandMQQPRLoadStore()
972 MachineBasicBlock::iterator &MBBI) { in ExpandMOV32BitImm() argument
973 MachineInstr &MI = *MBBI; in ExpandMOV32BitImm()
995 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVi), DstReg); in ExpandMOV32BitImm()
996 HI16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::ORRri)) in ExpandMOV32BitImm()
1002 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MVNi), DstReg); in ExpandMOV32BitImm()
1003 HI16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::SUBri)) in ExpandMOV32BitImm()
1038 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(LO16Opc), DstReg); in ExpandMOV32BitImm()
1039 HI16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(HI16Opc)) in ExpandMOV32BitImm()
1077 finalizeBundle(MBB, LO16->getIterator(), MBBI->getIterator()); in ExpandMOV32BitImm()
1107 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, in CMSEClearGPRegs() argument
1114 BuildMI(MBB, MBBI, DL, TII->get(ARM::t2CLRM)).add(predOps(ARMCC::AL)); in CMSEClearGPRegs()
1125 BuildMI(MBB, MBBI, DL, TII->get(ARM::tMOVr), Reg) in CMSEClearGPRegs()
1130 BuildMI(MBB, MBBI, DL, TII->get(ARM::t2MSR_M)) in CMSEClearGPRegs()
1172 MachineBasicBlock::iterator MBBI) { in CMSEClearFPRegs() argument
1174 (void)determineFPRegsToClear(*MBBI, ClearRegs); in CMSEClearFPRegs()
1177 return CMSEClearFPRegsV81(MBB, MBBI, ClearRegs); in CMSEClearFPRegs()
1179 return CMSEClearFPRegsV8(MBB, MBBI, ClearRegs); in CMSEClearFPRegs()
1186 MachineBasicBlock::iterator MBBI, in CMSEClearFPRegsV8() argument
1191 auto &RetI = *MBBI; in CMSEClearFPRegsV8()
1208 DoneBB->splice(DoneBB->end(), &MBB, MBBI, MBB.end()); in CMSEClearFPRegsV8()
1295 MachineBasicBlock::iterator MBBI, in CMSEClearFPRegsV81() argument
1297 auto &RetI = *MBBI; in CMSEClearFPRegsV81()
1310 BuildMI(MBB, MBBI, RetI.getDebugLoc(), TII->get(ARM::VSCCLRMS)) in CMSEClearFPRegsV81()
1321 BuildMI(MBB, MBBI, RetI.getDebugLoc(), TII->get(ARM::VSCCLRMS)) in CMSEClearFPRegsV81()
1332 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc &DL, in CMSESaveClearFPRegs() argument
1335 CMSESaveClearFPRegsV81(MBB, MBBI, DL, LiveRegs); in CMSESaveClearFPRegs()
1337 CMSESaveClearFPRegsV8(MBB, MBBI, DL, LiveRegs, ScratchRegs); in CMSESaveClearFPRegs()
1342 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc &DL, in CMSESaveClearFPRegsV8() argument
1350 BuildMI(MBB, MBBI, DL, TII->get(ARM::tSUBspi), ARM::SP) in CMSESaveClearFPRegsV8()
1358 for (const MachineOperand &Op : MBBI->operands()) { in CMSESaveClearFPRegsV8()
1371 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVRRD)) in CMSESaveClearFPRegsV8()
1385 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVRS), SaveReg) in CMSESaveClearFPRegsV8()
1402 MachineInstrBuilder VLSTM = BuildMI(MBB, MBBI, DL, TII->get(ARM::VLSTM)) in CMSESaveClearFPRegsV8()
1415 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVDRR), Reg) in CMSESaveClearFPRegsV8()
1420 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVSR), Reg) in CMSESaveClearFPRegsV8()
1428 BuildMI(MBB, MBBI, DL, TII->get(ARM::VLDRD), Reg) in CMSESaveClearFPRegsV8()
1436 BuildMI(MBB, MBBI, DL, TII->get(ARM::VLDRS), SReg0) in CMSESaveClearFPRegsV8()
1440 BuildMI(MBB, MBBI, DL, TII->get(ARM::VLDRS), SReg0 + 1) in CMSESaveClearFPRegsV8()
1446 BuildMI(MBB, MBBI, DL, TII->get(ARM::VLDRS), Reg) in CMSESaveClearFPRegsV8()
1455 BuildMI(MBB, MBBI, DL, TII->get(ARM::tLDRspi), SpareReg) in CMSESaveClearFPRegsV8()
1459 BuildMI(MBB, MBBI, DL, TII->get(ARM::t2BICri), SpareReg) in CMSESaveClearFPRegsV8()
1464 BuildMI(MBB, MBBI, DL, TII->get(ARM::t2BICri), SpareReg) in CMSESaveClearFPRegsV8()
1469 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMSR)) in CMSESaveClearFPRegsV8()
1474 finalizeBundle(MBB, VLSTM->getIterator(), MBBI->getIterator()); in CMSESaveClearFPRegsV8()
1479 MachineBasicBlock::iterator MBBI, in CMSESaveClearFPRegsV81() argument
1483 bool DefFP = determineFPRegsToClear(*MBBI, ClearRegs); in CMSESaveClearFPRegsV81()
1490 BuildMI(MBB, MBBI, DL, TII->get(ARM::tSUBspi), ARM::SP) in CMSESaveClearFPRegsV81()
1496 MachineInstrBuilder VLSTM = BuildMI(MBB, MBBI, DL, TII->get(ARM::VLSTM)) in CMSESaveClearFPRegsV81()
1506 BuildMI(MBB, MBBI, DL, TII->get(ARM::VSTMSDB_UPD), ARM::SP) in CMSESaveClearFPRegsV81()
1513 (void)CMSEClearFPRegsV81(MBB, MBBI, ClearRegs); in CMSESaveClearFPRegsV81()
1516 BuildMI(MBB, MBBI, DL, TII->get(ARM::VSTR_FPCXTS_pre), ARM::SP) in CMSESaveClearFPRegsV81()
1525 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc &DL, in CMSERestoreFPRegs() argument
1528 CMSERestoreFPRegsV81(MBB, MBBI, DL, AvailableRegs); in CMSERestoreFPRegs()
1530 CMSERestoreFPRegsV8(MBB, MBBI, DL, AvailableRegs); in CMSERestoreFPRegs()
1534 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc &DL, in CMSERestoreFPRegsV8() argument
1545 for (const MachineOperand &Op : MBBI->operands()) { in CMSERestoreFPRegsV8()
1558 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVRRD)) in CMSERestoreFPRegsV8()
1572 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVRS), SaveReg) in CMSERestoreFPRegsV8()
1590 BuildMI(MBB, MBBI, DL, TII->get(ARM::VSTRD)) in CMSERestoreFPRegsV8()
1596 BuildMI(MBB, MBBI, DL, TII->get(ARM::VSTRS)) in CMSERestoreFPRegsV8()
1605 MachineInstrBuilder VLLDM = BuildMI(MBB, MBBI, DL, TII->get(ARM::VLLDM)) in CMSERestoreFPRegsV8()
1646 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVDRR), Reg) in CMSERestoreFPRegsV8()
1651 BuildMI(MBB, MBBI, DL, TII->get(ARM::VMOVSR), Reg) in CMSERestoreFPRegsV8()
1657 BuildMI(MBB, MBBI, DL, TII->get(ARM::tADDspi), ARM::SP) in CMSERestoreFPRegsV8()
1677 MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc &DL, in CMSERestoreFPRegsV81() argument
1679 if (!definesOrUsesFPReg(*MBBI)) { in CMSERestoreFPRegsV81()
1681 BuildMI(MBB, MBBI, DL, TII->get(ARM::VSCCLRMS)) in CMSERestoreFPRegsV81()
1687 BuildMI(MBB, MBBI, DL, TII->get(ARM::VLLDM)) in CMSERestoreFPRegsV81()
1692 BuildMI(MBB, MBBI, DL, TII->get(ARM::tADDspi), ARM::SP) in CMSERestoreFPRegsV81()
1698 BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(ARM::VLDR_FPCXTS_post), in CMSERestoreFPRegsV81()
1706 BuildMI(MBB, MBBI, DL, TII->get(ARM::VLDMSIA_UPD), ARM::SP) in CMSERestoreFPRegsV81()
1718 MachineBasicBlock::iterator MBBI, in ExpandCMP_SWAP() argument
1724 MachineInstr &MI = *MBBI; in ExpandCMP_SWAP()
1755 BuildMI(MBB, MBBI, DL, TII->get(UxtOp), DesiredReg) in ExpandCMP_SWAP()
1850 MachineBasicBlock::iterator MBBI, in ExpandCMP_SWAP_64() argument
1854 MachineInstr &MI = *MBBI; in ExpandCMP_SWAP_64()
1956 MachineBasicBlock::iterator MBBI, int JumpReg, in CMSEPushCalleeSaves() argument
1958 const DebugLoc &DL = MBBI->getDebugLoc(); in CMSEPushCalleeSaves()
1961 BuildMI(MBB, MBBI, DL, TII.get(ARM::tPUSH)).add(predOps(ARMCC::AL)); in CMSEPushCalleeSaves()
1977 BuildMI(MBB, MBBI, DL, TII.get(ARM::tMOVr), LoReg) in CMSEPushCalleeSaves()
1983 BuildMI(MBB, MBBI, DL, TII.get(ARM::tPUSH)).add(predOps(ARMCC::AL)); in CMSEPushCalleeSaves()
1995 BuildMI(MBB, MBBI, DL, TII.get(ARM::tMOVr), LoReg) in CMSEPushCalleeSaves()
1998 BuildMI(MBB, MBBI, DL, TII.get(ARM::tPUSH)) in CMSEPushCalleeSaves()
2004 BuildMI(MBB, MBBI, DL, TII.get(ARM::t2STMDB_UPD), ARM::SP) in CMSEPushCalleeSaves()
2016 MachineBasicBlock::iterator MBBI, int JumpReg, in CMSEPopCalleeSaves() argument
2018 const DebugLoc &DL = MBBI->getDebugLoc(); in CMSEPopCalleeSaves()
2021 BuildMI(MBB, MBBI, DL, TII.get(ARM::tPOP)).add(predOps(ARMCC::AL)); in CMSEPopCalleeSaves()
2024 BuildMI(MBB, MBBI, DL, TII.get(ARM::tMOVr), ARM::R8 + R) in CMSEPopCalleeSaves()
2029 BuildMI(MBB, MBBI, DL, TII.get(ARM::tPOP)).add(predOps(ARMCC::AL)); in CMSEPopCalleeSaves()
2034 BuildMI(MBB, MBBI, DL, TII.get(ARM::t2LDMIA_UPD), ARM::SP) in CMSEPopCalleeSaves()
2043 MachineBasicBlock::iterator MBBI, in ExpandMI() argument
2045 MachineInstr &MI = *MBBI; in ExpandMI()
2057 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)) in ExpandMI()
2067 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)) in ExpandMI()
2078 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)) in ExpandMI()
2088 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(MoveOpc)) in ExpandMI()
2096 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)) in ExpandMI()
2113 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); in ExpandMI() local
2114 if (MBBI->getOpcode() == ARM::SEH_EpilogEnd) in ExpandMI()
2115 MBBI--; in ExpandMI()
2116 if (MBBI->getOpcode() == ARM::SEH_Nop_Ret) in ExpandMI()
2117 MBBI--; in ExpandMI()
2118 assert(MBBI->isReturn() && in ExpandMI()
2120 unsigned RetOpcode = MBBI->getOpcode(); in ExpandMI()
2121 DebugLoc dl = MBBI->getDebugLoc(); in ExpandMI()
2126 MBBI = MBB.getLastNonDebugInstr(); in ExpandMI()
2127 if (MBBI->getOpcode() == ARM::SEH_EpilogEnd) in ExpandMI()
2128 MBBI--; in ExpandMI()
2129 if (MBBI->getOpcode() == ARM::SEH_Nop_Ret) in ExpandMI()
2130 MBBI--; in ExpandMI()
2131 MachineOperand &JumpTarget = MBBI->getOperand(0); in ExpandMI()
2143 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII.get(TCOpcode)); in ExpandMI()
2160 BuildMI(MBB, MBBI, dl, in ExpandMI()
2165 auto NewMI = std::prev(MBBI); in ExpandMI()
2166 for (unsigned i = 2, e = MBBI->getNumOperands(); i != e; ++i) in ExpandMI()
2167 NewMI->addOperand(MBBI->getOperand(i)); in ExpandMI()
2173 MBB.erase(MBBI); in ExpandMI()
2175 MBBI = NewMI; in ExpandMI()
2182 BuildMI(MBB, MBBI, DebugLoc(), TII->get(ARM::t2AUT)); in ExpandMI()
2184 MachineBasicBlock &AfterBB = CMSEClearFPRegs(MBB, MBBI); in ExpandMI()
2188 BuildMI(MBB, MBBI, MBBI->getDebugLoc(), in ExpandMI()
2199 assert(llvm::all_of(MBBI->operands(), [](const MachineOperand &Op) { in ExpandMI()
2204 *MBBI, {ARM::R0, ARM::R1, ARM::R2, ARM::R3, ARM::R12}, ClearRegs); in ExpandMI()
2205 CMSEClearGPRegs(AfterBB, AfterBB.end(), MBBI->getDebugLoc(), ClearRegs, in ExpandMI()
2209 BuildMI(AfterBB, AfterBB.end(), MBBI->getDebugLoc(), in ExpandMI()
2219 DebugLoc DL = MBBI->getDebugLoc(); in ExpandMI()
2220 Register JumpReg = MBBI->getOperand(0).getReg(); in ExpandMI()
2228 for (const MachineInstr &MI : make_range(MBB.rbegin(), MBBI.getReverse())) in ExpandMI()
2230 LiveRegs.stepBackward(*MBBI); in ExpandMI()
2232 CMSEPushCalleeSaves(*TII, MBB, MBBI, JumpReg, LiveRegs, in ExpandMI()
2236 determineGPRegsToClear(*MBBI, in ExpandMI()
2249 BuildMI(MBB, MBBI, DL, TII->get(ARM::t2BICri), JumpReg) in ExpandMI()
2258 BuildMI(MBB, MBBI, DL, TII->get(ARM::tMOVi8), ScratchReg) in ExpandMI()
2262 BuildMI(MBB, MBBI, DL, TII->get(ARM::tBIC), JumpReg) in ExpandMI()
2269 CMSESaveClearFPRegs(MBB, MBBI, DL, LiveRegs, in ExpandMI()
2271 CMSEClearGPRegs(MBB, MBBI, DL, ClearRegs, JumpReg); in ExpandMI()
2274 BuildMI(MBB, MBBI, DL, TII->get(ARM::tBLXNSr)) in ExpandMI()
2283 CMSERestoreFPRegs(MBB, MBBI, DL, OriginalClearRegs); // restore FP registers in ExpandMI()
2285 CMSEPopCalleeSaves(*TII, MBB, MBBI, JumpReg, AFI->isThumb1OnlyFunction()); in ExpandMI()
2294 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(newOpc), in ExpandMI()
2307 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc), in ExpandMI()
2319 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVsi), in ExpandMI()
2332 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVsr), in ExpandMI()
2348 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc), in ExpandMI()
2360 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc), in ExpandMI()
2374 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc), in ExpandMI()
2397 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc), in ExpandMI()
2423 emitT2RegPlusImmediate(MBB, MBBI, MI.getDebugLoc(), ARM::R6, in ExpandMI()
2426 emitThumbRegPlusImmediate(MBB, MBBI, MI.getDebugLoc(), ARM::R6, in ExpandMI()
2429 emitARMRegPlusImmediate(MBB, MBBI, MI.getDebugLoc(), ARM::R6, in ExpandMI()
2445 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(bicOpc), ARM::R6) in ExpandMI()
2459 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVsi), in ExpandMI()
2472 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVsi), in ExpandMI()
2496 BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
2504 BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
2510 MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
2532 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewLdOpc), DstReg) in ExpandMI()
2537 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::tPICADD)) in ExpandMI()
2588 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(LDRLITOpc), DstReg) in ExpandMI()
2596 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(PICAddOpc)) in ExpandMI()
2626 MachineInstrBuilder MIB1 = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
2631 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(HI16Opc), DstReg) in ExpandMI()
2636 MachineInstrBuilder MIB3 = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
2654 ExpandMOV32BitImm(MBB, MBBI); in ExpandMI()
2659 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::SUBri), ARM::PC) in ExpandMI()
2672 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)); in ExpandMI()
2703 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)); in ExpandMI()
2862 ExpandVLD(MBBI); in ExpandMI()
2952 ExpandVST(MBBI); in ExpandMI()
3027 ExpandLaneOp(MBBI); in ExpandMI()
3030 case ARM::VTBL3Pseudo: ExpandVTBL(MBBI, ARM::VTBL3, false); return true; in ExpandMI()
3031 case ARM::VTBL4Pseudo: ExpandVTBL(MBBI, ARM::VTBL4, false); return true; in ExpandMI()
3032 case ARM::VTBX3Pseudo: ExpandVTBL(MBBI, ARM::VTBX3, true); return true; in ExpandMI()
3033 case ARM::VTBX4Pseudo: ExpandVTBL(MBBI, ARM::VTBX4, true); return true; in ExpandMI()
3039 ExpandMQQPRLoadStore(MBBI); in ExpandMI()
3044 return ExpandCMP_SWAP(MBB, MBBI, ARM::t2LDREXB, ARM::t2STREXB, ARM::tUXTB, in ExpandMI()
3048 return ExpandCMP_SWAP(MBB, MBBI, ARM::t2LDREXH, ARM::t2STREXH, ARM::tUXTH, in ExpandMI()
3052 return ExpandCMP_SWAP(MBB, MBBI, ARM::t2LDREX, ARM::t2STREX, 0, NextMBBI); in ExpandMI()
3056 return ExpandCMP_SWAP(MBB, MBBI, ARM::LDREXB, ARM::STREXB, ARM::UXTB, in ExpandMI()
3060 return ExpandCMP_SWAP(MBB, MBBI, ARM::LDREXH, ARM::STREXH, ARM::UXTH, in ExpandMI()
3064 return ExpandCMP_SWAP(MBB, MBBI, ARM::LDREX, ARM::STREX, 0, NextMBBI); in ExpandMI()
3067 return ExpandCMP_SWAP_64(MBB, MBBI, NextMBBI); in ExpandMI()
3077 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::tPUSH)) in ExpandMI()
3082 MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::tBL)); in ExpandMI()
3085 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::STMDB_UPD)) in ExpandMI()
3092 MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::BL)); in ExpandMI()
3121 BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
3140 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in ExpandMBB() local
3141 while (MBBI != E) { in ExpandMBB()
3142 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in ExpandMBB()
3143 Modified |= ExpandMI(MBB, MBBI, NMBBI); in ExpandMBB()
3144 MBBI = NMBBI; in ExpandMBB()