Home
last modified time | relevance | path

Searched refs:hasFP (Results 1 – 25 of 83) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430RegisterInfo.cpp64 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
88 if (TFI->hasFP(MF)) { in getReservedRegs()
115 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::R4 : MSP430::SP); in eliminateFrameIndex()
121 if (!TFI->hasFP(MF)) in eliminateFrameIndex()
163 return TFI->hasFP(MF) ? MSP430::R4 : MSP430::SP;
H A DMSP430FrameLowering.cpp33 bool MSP430FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in MSP430FrameLowering
99 if (hasFP(MF)) { in emitPrologue()
150 if (!hasFP(MF)) { in emitPrologue()
181 if (!hasFP(MF)) { in emitPrologue()
217 if (hasFP(MF)) { in emitEpilogue()
285 if (!hasFP(MF)) { in emitEpilogue()
294 if (!hasFP(MF)) { in emitEpilogue()
411 if (!hasFP(MF)) { in eliminateCallFramePseudoInstr()
430 if (hasFP(MF)) { in processFunctionBeforeFrameFinalized()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCFrameLowering.cpp145 if (hasFP(MF)) { in emitPrologue()
183 if (hasFP(MF)) { in emitPrologue()
204 if (hasFP(MF)) { in emitPrologue()
225 if ((hasFP(MF) && Reg == ARC::FP) || (MFI.hasCalls() && Reg == ARC::BLINK)) in emitPrologue()
252 if (hasFP(MF)) { in emitEpilogue()
310 if (hasFP(MF)) { in emitEpilogue()
353 if (hasFP(MF)) { in assignCalleeSavedSpillSlots()
475 if (!hasFP(MF)) { in eliminateCallFramePseudoInstr()
490 bool ARCFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in ARCFrameLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp34 bool LoongArchFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in LoongArchFrameLowering
244 if (hasFP(MF)) { in emitPrologue()
266 if (!hasFP(MF)) { in emitPrologue()
278 if (hasFP(MF)) { in emitPrologue()
330 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
383 if (hasFP(MF)) { in determineCalleeSaves()
491 if (hasFP(MF)) in getFrameIndexReference()
H A DLoongArchRegisterInfo.cpp95 if (TFI->hasFP(MF)) in getReservedRegs()
109 return TFI->hasFP(MF) ? LoongArch::R22 : LoongArch::R3; in getFrameRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp83 if (hasFP(MF)) in emitPrologue()
100 if (hasFP(MF)) in emitEpilogue()
167 if (hasFP(MF)) in determineCalleeSaves()
H A DMipsRegisterInfo.cpp76 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
191 if (Subtarget.getFrameLowering()->hasFP(MF)) { in getReservedRegs()
278 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
280 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp101 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in WebAssemblyFrameLowering
140 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF) || in needsPrologForEH()
249 assert(!I->getOperand(0).getImm() && (hasFP(MF) || hasBP(MF)) && in eliminateCallFramePseudoInstr()
319 if (hasFP(MF)) { in emitPrologue()
348 unsigned SPFPReg = hasFP(MF) ? getFPReg(MF) : getSPReg(MF); in emitEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp218 bool XCoreFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in XCoreFrameLowering
255 bool FP = hasFP(MF); in emitPrologue()
382 bool FP = hasFP(MF); in emitEpilogue()
431 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in spillCalleeSavedRegisters()
459 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in restoreCalleeSavedRegisters()
560 if (hasFP(MF)) in determineCalleeSaves()
580 if (XFI->isLargeFrame(MF) || hasFP(MF)) in processFunctionBeforeFrameFinalized()
582 if (XFI->isLargeFrame(MF) && !hasFP(MF)) in processFunctionBeforeFrameFinalized()
H A DXCoreRegisterInfo.cpp227 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
240 if (TFI->hasFP(MF)) { in getReservedRegs()
305 if (TFI->hasFP(MF)) { in eliminateFrameIndex()
326 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaFrameLowering.cpp30 bool XtensaFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in XtensaFrameLowering
110 if (hasFP(MF)) { in emitPrologue()
147 if (hasFP(MF)) { in emitEpilogue()
254 if (hasFP(MF)) in determineCalleeSaves()
H A DXtensaRegisterInfo.cpp51 if (TFI->hasFP(MF)) { in getReservedRegs()
132 return TFI->hasFP(MF) ? Xtensa::A15 : Xtensa::SP; in getFrameRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp43 bool M68kFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in M68kFrameLowering
61 (hasFP(MF) && !TRI->hasStackRealignment(MF)) || in canSimplifyCallFramePseudos()
97 bool HasFP = hasFP(MF); in getFrameIndexReference()
276 if (IsDestroy && InternalAmt && DwarfCFI && !hasFP(MF)) in eliminateCallFramePseudoInstr()
296 if (DwarfCFI && !hasFP(MF)) { in eliminateCallFramePseudoInstr()
483 bool HasFP = hasFP(MF); in emitPrologue()
688 if (hasFP(MF)) { in emitEpilogue()
747 } else if (hasFP(MF)) { in emitEpilogue()
809 if (hasFP(MF)) { in assignCalleeSavedSpillSlots()
H A DM68kRegisterInfo.cpp146 if (TFI->hasFP(MF)) { in getReservedRegs()
191 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
264 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h289 virtual bool hasFP(const MachineFunction &MF) const = 0;
297 return !hasFP(MF); in hasReservedCallFrame()
308 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp47 return hasFP(MF) && !MFI.hasVarSizedObjects(); in hasReservedCallFrame()
58 bool HasFP = hasFP(MF); in emitPrologue()
168 if (!hasFP(MF) && !AFI->isInterruptOrSignalHandler()) { in emitEpilogue()
235 bool AVRFrameLowering::hasFP(const MachineFunction &MF) const {
424 if (hasFP(MF)) { in determineCalleeSaves()
237 bool AVRFrameLowering::hasFP(const MachineFunction &MF) const { hasFP() function in llvm::AVRFrameLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.h89 bool hasFP(const MachineFunction &MF) const override;
150 bool hasFP(const MachineFunction &MF) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYFrameLowering.cpp36 bool CSKYFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in CSKYFrameLowering
150 if (hasFP(MF)) { in emitPrologue()
260 if (hasFP(MF)) { in emitEpilogue()
368 if (hasFP(MF)) in determineCalleeSaves()
603 assert(hasFP(MF)); in getFrameIndexReference()
612 if (MFI.isFixedObjectIndex(FI) && hasFP(MF)) { in getFrameIndexReference()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXFrameLowering.h32 bool hasFP(const MachineFunction &) const override { return false; } in hasFP() function
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVFrameLowering.h36 bool hasFP(const MachineFunction &MF) const override { return false; } in hasFP() function
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFFrameLowering.cpp23 bool BPFFrameLowering::hasFP(const MachineFunction &MF) const { return true; } in hasFP() function in BPFFrameLowering
H A DBPFFrameLowering.h29 bool hasFP(const MachineFunction &MF) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.h30 bool hasFP(const MachineFunction &MF) const override { in hasFP() function
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.h25 bool hasFP(const MachineFunction &MF) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp312 bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in RISCVFrameLowering
357 if (RVFI->getRVVStackSize() && (!hasFP(MF) || TRI->hasStackRealignment(MF))) { in determineFrameLayout()
662 if (hasFP(MF)) { in emitPrologue()
693 if (!hasFP(MF)) { in emitPrologue()
706 if (!hasFP(MF)) { in emitPrologue()
716 emitCalleeSavedRVVPrologCFI(MBB, MBBI, hasFP(MF)); in emitPrologue()
719 if (hasFP(MF)) { in emitPrologue()
815 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
1040 if (hasFP(MF)) { in determineCalleeSaves()
1285 !(hasFP(MF) && hasRVVFrameObject(MF)); in hasReservedCallFrame()

1234