Lines Matching refs:NumBytes
128 unsigned NumBytes = AFI->getLocalStackSize(); in canUseRedZone() local
133 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128) in canUseRedZone()
272 int NumBytes = (int)MFI->getStackSize(); in emitPrologue() local
277 AFI->setLocalStackSize(NumBytes); in emitPrologue()
284 if (NumBytes && !canUseRedZone(MF)) { in emitPrologue()
285 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, in emitPrologue()
290 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); in emitPrologue()
294 } else if (NumBytes) { in emitPrologue()
325 NumBytes -= 16; in emitPrologue()
327 assert(NumBytes >= 0 && "Negative stack allocation size!?"); in emitPrologue()
338 AFI->setLocalStackSize(NumBytes); in emitPrologue()
353 if (NumBytes && !canUseRedZone(MF)) in emitPrologue()
357 emitFrameOffset(MBB, MBBI, DL, scratchSPReg, AArch64::SP, -NumBytes, TII, in emitPrologue()
360 assert(!(NeedsRealignment && NumBytes==0) && in emitPrologue()
363 if (NumBytes && NeedsRealignment) { in emitPrologue()
542 int NumBytes = MFI->getStackSize(); in emitEpilogue() local
594 NumBytes += ArgumentPopSize; in emitEpilogue()
610 NumBytes -= NumRestores * 16; in emitEpilogue()
611 assert(NumBytes >= 0 && "Negative stack allocation size!?"); in emitEpilogue()
617 emitFrameOffset(MBB, LastPopI, DL, AArch64::SP, AArch64::SP, NumBytes, in emitEpilogue()
626 if (NumBytes || MFI->hasVarSizedObjects()) in emitEpilogue()