Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430RegisterInfo.cpp65 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
89 if (TFI->hasFP(MF)) { in getReservedRegs()
116 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex()
122 if (!TFI->hasFP(MF)) in eliminateFrameIndex()
160 return TFI->hasFP(MF) ? MSP430::FP : MSP430::SP; in getFrameRegister()
H A DMSP430FrameLowering.cpp29 bool MSP430FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in MSP430FrameLowering
56 if (hasFP(MF)) { in emitPrologue()
130 if (hasFP(MF)) { in emitEpilogue()
294 if (hasFP(MF)) { in processFunctionBeforeFrameFinalized()
H A DMSP430FrameLowering.h46 bool hasFP(const MachineFunction &MF) const override;
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp54 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in WebAssemblyFrameLowering
86 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSPForLocalFrame()
142 assert(!I->getOperand(0).getImm() && (hasFP(MF) || hasBP(MF)) && in eliminateCallFramePseudoInstr()
213 if (hasFP(MF)) { in emitPrologue()
254 .addReg(hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32) in emitEpilogue()
257 SPReg = hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32; in emitEpilogue()
H A DWebAssemblyFrameLowering.h46 bool hasFP(const MachineFunction &MF) const override;
/freebsd-12.1/contrib/llvm/lib/Target/ARC/
H A DARCFrameLowering.cpp142 if (hasFP(MF)) { in emitPrologue()
180 if (hasFP(MF)) { in emitPrologue()
201 if (hasFP(MF)) { in emitPrologue()
222 if ((hasFP(MF) && Reg == ARC::FP) || (MFI.hasCalls() && Reg == ARC::BLINK)) in emitPrologue()
249 if (hasFP(MF)) { in emitEpilogue()
295 if (hasFP(MF)) { in emitEpilogue()
333 if (hasFP(MF)) { in assignCalleeSavedSpillSlots()
449 if (!hasFP(MF)) { in eliminateCallFramePseudoInstr()
464 bool ARCFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in ARCFrameLowering
H A DARCRegisterInfo.cpp209 if (!TFI->hasFP(MF)) { in eliminateFrameIndex()
225 return TFI->hasFP(MF) ? ARC::FP : ARC::SP; in getFrameRegister()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp25 bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in RISCVFrameLowering
133 if (hasFP(MF)) in emitPrologue()
159 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
196 if (hasFP(MF)) in getFrameIndexReference()
210 if (hasFP(MF)) { in determineCalleeSaves()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h219 virtual bool hasFP(const MachineFunction &MF) const = 0;
227 return !hasFP(MF); in hasReservedCallFrame()
238 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp87 if (hasFP(MF)) in emitPrologue()
104 if (hasFP(MF)) in emitEpilogue()
174 if (hasFP(MF)) in determineCalleeSaves()
H A DMipsRegisterInfo.cpp77 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
196 if (Subtarget.getFrameLowering()->hasFP(MF)) { in getReservedRegs()
304 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
306 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
H A DMipsFrameLowering.h33 bool hasFP(const MachineFunction &MF) const override;
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp219 bool XCoreFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in XCoreFrameLowering
257 bool FP = hasFP(MF); in emitPrologue()
384 bool FP = hasFP(MF); in emitEpilogue()
436 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in spillCalleeSavedRegisters()
466 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in restoreCalleeSavedRegisters()
567 if (hasFP(MF)) in determineCalleeSaves()
587 if (XFI->isLargeFrame(MF) || hasFP(MF)) in processFunctionBeforeFrameFinalized()
589 if (XFI->isLargeFrame(MF) && !hasFP(MF)) in processFunctionBeforeFrameFinalized()
H A DXCoreRegisterInfo.cpp225 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
238 if (TFI->hasFP(MF)) { in getReservedRegs()
308 if (TFI->hasFP(MF)) { in eliminateFrameIndex()
328 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp195 if (TFI->hasFP(MF) || TT.isOSDarwin()) in getReservedRegs()
289 return TFI->hasFP(MF) ? AArch64::FP : AArch64::SP; in getFrameRegister()
310 return TFI.hasFP(MF); in useFPForScavengingIndex()
375 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
507 - (TFI->hasFP(MF) || TT.isOSDarwin()) // FP in getRegPressureLimit()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp50 return hasFP(MF) && !MFI.hasVarSizedObjects(); in hasReservedCallFrame()
60 bool HasFP = hasFP(MF); in emitPrologue()
152 if (!hasFP(MF) && !isHandler) { in emitEpilogue()
177 if (hasFP(MF)) in emitEpilogue()
228 bool AVRFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in llvm::AVRFrameLowering
H A DAVRFrameLowering.h25 bool hasFP(const MachineFunction &MF) const override;
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.h31 bool hasFP(const MachineFunction &MF) const override { in hasFP() function
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.h25 bool hasFP(const MachineFunction &MF) const override;
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFFrameLowering.cpp24 bool BPFFrameLowering::hasFP(const MachineFunction &MF) const { return true; } in hasFP() function in BPFFrameLowering
H A DBPFFrameLowering.h30 bool hasFP(const MachineFunction &MF) const override;
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp72 bool HasFP = hasFP(MF); in determineCalleeSaves()
236 bool HasFP = hasFP(MF); in restoreCalleeSavedRegisters()
353 bool HasFP = hasFP(MF); in emitPrologue()
516 bool SystemZFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in SystemZFrameLowering
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.cpp189 if (TFI->hasFP(MF)) in getReservedRegs()
265 ? TFI->hasFP(MF) : true; in getRegPressureLimit()
270 ? TFI->hasFP(MF) : true; in getRegPressureLimit()
433 if (TFI->hasFP(MF)) in getFrameRegister()
592 if (TFI->hasFP(MF) && in needsFrameBaseReg()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.h49 bool hasFP(const MachineFunction & /*MF*/) const override { return true; } in hasFP() function
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.h38 bool hasFP(const MachineFunction &MF) const override;

123