Lines Matching +full:csr +full:- +full:offset
1 //===- TargetFrameLoweringImpl.cpp - Implement target frame interface ------==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
41 !MF.getTarget().getMCAsmInfo()->usesWindowsCFI(); in enableCFIFixup()
57 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
59 return StackOffset::getFixed(MFI.getObjectOffset(FI) + MFI.getStackSize() - in getFrameIndexReference()
64 /// Returns the offset from the stack pointer to the slot of the specified
65 /// index. This function serves to provide a comparable offset from a single
66 /// reference point (the value of the stack-pointer at function entry) that can
72 // To display the true offset from SP, we need to subtract the offset to the in getFrameIndexReferenceFromSP()
74 return StackOffset::getFixed(MF.getFrameInfo().getObjectOffset(FI) - in getFrameIndexReferenceFromSP()
124 // Noreturn+nounwind functions never restore CSR, so no saves are needed. in determineCalleeSaves()
126 // save CSR for caller exception handlers. in determineCalleeSaves()
129 // execution we do not need the CSR spills either: setjmp stores all CSRs in determineCalleeSaves()
153 return RegInfo->useFPForScavengingIndex(MF) && in allocateScavengingFrameIndexesNearIncomingSP()
154 !RegInfo->hasStackRealignment(MF); in allocateScavengingFrameIndexesNearIncomingSP()
164 if (CB->isTailCall()) in isSafeForNoCSROpt()
181 return DwarfFrameBase{DwarfFrameBase::Register, {RI->getFrameRegister(MF)}}; in getDwarfFrameBase()