Lines Matching refs:NumBytes
69 const ThumbRegisterInfo &MRI, int NumBytes, in emitPrologueEpilogueSPUpdate() argument
73 if (std::abs(NumBytes) > 508 * 3) { in emitPrologueEpilogueSPUpdate()
85 .addImm(NumBytes).setMIFlags(MIFlags); in emitPrologueEpilogueSPUpdate()
87 MRI.emitLoadConstPool(MBB, MBBI, dl, ScratchReg, 0, NumBytes, ARMCC::AL, in emitPrologueEpilogueSPUpdate()
99 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitPrologueEpilogueSPUpdate()
107 const ThumbRegisterInfo &MRI, int NumBytes, in emitCallSPUpdate() argument
109 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitCallSPUpdate()
159 unsigned NumBytes = MFI.getStackSize(); in emitPrologue() local
160 assert(NumBytes >= ArgRegsSaveSize && in emitPrologue()
173 NumBytes = (NumBytes + 3) & ~3; in emitPrologue()
174 MFI.setStackSize(NumBytes); in emitPrologue()
193 if (NumBytes - ArgRegsSaveSize != 0) { in emitPrologue()
195 -(NumBytes - ArgRegsSaveSize), in emitPrologue()
197 CFAOffset += NumBytes - ArgRegsSaveSize; in emitPrologue()
283 unsigned DPRCSOffset = NumBytes - ArgRegsSaveSize - in emitPrologue()
290 NumBytes); in emitPrologue()
296 NumBytes = DPRCSOffset; in emitPrologue()
301 tryFoldSPUpdateIntoPushPop(STI, MF, &*(GPRCS1Push), NumBytes)) { in emitPrologue()
302 FramePtrOffsetInBlock = NumBytes; in emitPrologue()
303 adjustedGPRCS1Size += NumBytes; in emitPrologue()
304 NumBytes = 0; in emitPrologue()
343 if (NumBytes > 508) in emitPrologue()
415 if (NumBytes) { in emitPrologue()
429 emitPrologueEpilogueSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes, in emitPrologue()
432 CFAOffset += NumBytes; in emitPrologue()
512 int NumBytes = (int)MFI.getStackSize(); in emitEpilogue() local
513 assert((unsigned)NumBytes >= ArgRegsSaveSize && in emitEpilogue()
518 if (NumBytes - ArgRegsSaveSize != 0) in emitEpilogue()
520 NumBytes - ArgRegsSaveSize, ARM::NoRegister, in emitEpilogue()
533 NumBytes -= (AFI->getFrameRecordSavedAreaSize() + in emitEpilogue()
552 NumBytes = AFI->getFramePtrSpillOffset() - NumBytes; in emitEpilogue()
556 if (NumBytes) { in emitEpilogue()
559 emitThumbRegPlusImmediate(MBB, MBBI, dl, ScratchRegister, FramePtr, -NumBytes, in emitEpilogue()
574 if (!tryFoldSPUpdateIntoPushPop(STI, MF, &*PMBBI, NumBytes)) in emitEpilogue()
575 emitPrologueEpilogueSPUpdate(MBB, PMBBI, TII, dl, *RegInfo, NumBytes, in emitEpilogue()
577 } else if (!tryFoldSPUpdateIntoPushPop(STI, MF, &*MBBI, NumBytes)) in emitEpilogue()
578 emitPrologueEpilogueSPUpdate(MBB, MBBI, TII, dl, *RegInfo, NumBytes, in emitEpilogue()