Lines Matching refs:NumBytes
73 unsigned NumBytes = AFI->getLocalStackSize(); in canUseRedZone() local
78 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128) in canUseRedZone()
216 int NumBytes = (int)MFI->getStackSize(); in emitPrologue() local
221 AFI->setLocalStackSize(NumBytes); in emitPrologue()
228 if (NumBytes && !canUseRedZone(MF)) { in emitPrologue()
229 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, in emitPrologue()
234 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); in emitPrologue()
237 } else if (NumBytes) { in emitPrologue()
268 NumBytes -= 16; in emitPrologue()
270 assert(NumBytes >= 0 && "Negative stack allocation size!?"); in emitPrologue()
281 AFI->setLocalStackSize(NumBytes); in emitPrologue()
284 if (NumBytes) { in emitPrologue()
287 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, in emitPrologue()
444 int NumBytes = MFI->getStackSize(); in emitEpilogue() local
491 NumBytes += ArgumentPopSize; in emitEpilogue()
507 NumBytes -= NumRestores * 16; in emitEpilogue()
508 assert(NumBytes >= 0 && "Negative stack allocation size!?"); in emitEpilogue()
514 emitFrameOffset(MBB, LastPopI, DL, AArch64::SP, AArch64::SP, NumBytes, in emitEpilogue()
523 if (NumBytes || MFI->hasVarSizedObjects()) in emitEpilogue()