Lines Matching refs:NumBytes
197 unsigned NumBytes = AFI->getLocalStackSize(); in canUseRedZone() local
199 return !(MFI.hasCalls() || hasFP(MF) || NumBytes > 128); in canUseRedZone()
851 int NumBytes = IsFunclet ? (int)getWinEHFuncletFrameSize(MF) in emitPrologue() local
853 if (!AFI->hasStackFrame() && !windowsRequiresStackProbe(MF, NumBytes)) { in emitPrologue()
856 AFI->setLocalStackSize(NumBytes); in emitPrologue()
857 if (!NumBytes) in emitPrologue()
865 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, in emitPrologue()
872 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); in emitPrologue()
895 AFI->setLocalStackSize(NumBytes - PrologueSaveSize); in emitPrologue()
896 bool CombineSPBump = shouldCombineCSRLocalStackBump(MF, NumBytes); in emitPrologue()
898 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, in emitPrologue()
900 NumBytes = 0; in emitPrologue()
904 NumBytes -= PrologueSaveSize; in emitPrologue()
906 assert(NumBytes >= 0 && "Negative stack allocation size!?"); in emitPrologue()
944 if (windowsRequiresStackProbe(MF, NumBytes)) { in emitPrologue()
945 uint32_t NumWords = NumBytes >> 4; in emitPrologue()
952 if (NumBytes >= (1 << 28)) in emitPrologue()
1024 .addImm(NumBytes) in emitPrologue()
1026 NumBytes = 0; in emitPrologue()
1030 if (NumBytes) { in emitPrologue()
1044 emitFrameOffset(MBB, MBBI, DL, scratchSPReg, AArch64::SP, -NumBytes, TII, in emitPrologue()
1070 .addImm(NumBytes & andMaskEncoded) in emitPrologue()
1249 int NumBytes = IsFunclet ? (int)getWinEHFuncletFrameSize(MF) in emitEpilogue() local
1319 AFI->setLocalStackSize(NumBytes - PrologueSaveSize); in emitEpilogue()
1320 bool CombineSPBump = shouldCombineCSRLocalStackBump(MF, NumBytes); in emitEpilogue()
1365 NumBytes + AfterCSRPopSize, TII, MachineInstr::FrameDestroy, in emitEpilogue()
1374 NumBytes -= PrologueSaveSize; in emitEpilogue()
1375 assert(NumBytes >= 0 && "Negative stack allocation size!?"); in emitEpilogue()
1385 int StackRestoreBytes = RedZone ? 0 : NumBytes; in emitEpilogue()
1408 NumBytes = 0; in emitEpilogue()
1419 else if (NumBytes) in emitEpilogue()
1420 emitFrameOffset(MBB, LastPopI, DL, AArch64::SP, AArch64::SP, NumBytes, TII, in emitEpilogue()