Lines Matching +full:tri +full:- +full:default
1 //===- TargetFrameLoweringImpl.cpp - Implement target frame interface ------==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
30 TargetFrameLowering::~TargetFrameLowering() = default;
41 !MF.getTarget().getMCAsmInfo()->usesWindowsCFI(); in enableCFIFixup()
46 /// (in output arg FrameReg). This is the default implementation which
54 // By default, assume all frame indices are referenced via whatever in getFrameIndexReference()
57 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference()
59 return StackOffset::getFixed(MFI.getObjectOffset(FI) + MFI.getStackSize() - in getFrameIndexReference()
66 /// reference point (the value of the stack-pointer at function entry) that can
67 /// be used for analysis. This is the default implementation using
74 return StackOffset::getFixed(MF.getFrameInfo().getObjectOffset(FI) - in getFrameIndexReferenceFromSP()
85 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in getCalleeSaves() local
86 CalleeSaves.resize(TRI.getNumRegs()); in getCalleeSaves()
99 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves() local
102 // SavedRegs.size() == TRI.getNumRegs() after this call even if there are no in determineCalleeSaves()
104 SavedRegs.resize(TRI.getNumRegs()); 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()