Lines Matching refs:AFI
128 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in canUseRedZone() local
129 unsigned NumBytes = AFI->getLocalStackSize(); in canUseRedZone()
288 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in shouldCombineCSRLocalStackBump() local
293 if (AFI->getLocalStackSize() == 0) in shouldCombineCSRLocalStackBump()
416 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in emitPrologue() local
430 if (!AFI->hasStackFrame()) { in emitPrologue()
434 AFI->setLocalStackSize(NumBytes); in emitPrologue()
458 auto CSStackSize = AFI->getCalleeSavedStackSize(); in emitPrologue()
460 AFI->setLocalStackSize(NumBytes - CSStackSize); in emitPrologue()
480 fixupCalleeSaveRestoreStackOffset(*MBBI, AFI->getLocalStackSize()); in emitPrologue()
487 FPOffset += AFI->getLocalStackSize(); in emitPrologue()
535 AFI->setStackRealigned(true); in emitPrologue()
659 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in emitEpilogue() local
681 ArgumentPopSize = AFI->getArgumentStackToRestore(); in emitEpilogue()
711 auto CSStackSize = AFI->getCalleeSavedStackSize(); in emitEpilogue()
727 fixupCalleeSaveRestoreStackOffset(*LastPopI, AFI->getLocalStackSize()); in emitEpilogue()
765 if (MFI->hasVarSizedObjects() || AFI->isStackRealigned()) in emitEpilogue()
796 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in resolveFrameIndexReference() local
806 if (AFI->hasStackFrame()) { in resolveFrameIndexReference()
848 Offset -= AFI->getLocalStackSize(); in resolveFrameIndexReference()
890 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in computeCalleeSaveRegisterPairs() local
901 unsigned Offset = AFI->getCalleeSavedStackSize(); in computeCalleeSaveRegisterPairs()
940 if (Count * 8 != AFI->getCalleeSavedStackSize() && !RPI.isPaired()) { in computeCalleeSaveRegisterPairs()
946 AFI->setCalleeSaveStackHasFreeSpace(true); in computeCalleeSaveRegisterPairs()
1090 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in determineCalleeSaves() local
1157 AFI->setHasStackFrame(true); in determineCalleeSaves()
1192 AFI->setCalleeSavedStackSize(alignTo(8 * NumRegsSpilled, 16)); in determineCalleeSaves()
1197 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in enableStackSlotScavenging() local
1198 return AFI->hasCalleeSaveStackFreeSpace(); in enableStackSlotScavenging()