Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/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()
159 return TFI->hasFP(MF) ? MSP430::R4 : MSP430::SP; in getFrameRegister()
H A DMSP430FrameLowering.cpp28 bool MSP430FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in MSP430FrameLowering
55 if (hasFP(MF)) { in emitPrologue()
129 if (hasFP(MF)) { in emitEpilogue()
287 if (hasFP(MF)) { in processFunctionBeforeFrameFinalized()
H A DMSP430FrameLowering.h47 bool hasFP(const MachineFunction &MF) const override;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARC/
H A DARCFrameLowering.cpp146 if (hasFP(MF)) { in emitPrologue()
184 if (hasFP(MF)) { in emitPrologue()
205 if (hasFP(MF)) { in emitPrologue()
226 if ((hasFP(MF) && Reg == ARC::FP) || (MFI.hasCalls() && Reg == ARC::BLINK)) in emitPrologue()
253 if (hasFP(MF)) { in emitEpilogue()
311 if (hasFP(MF)) { in emitEpilogue()
354 if (hasFP(MF)) { in assignCalleeSavedSpillSlots()
476 if (!hasFP(MF)) { in eliminateCallFramePseudoInstr()
491 bool ARCFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in ARCFrameLowering
H A DARCRegisterInfo.cpp207 if (!TFI->hasFP(MF)) { in eliminateFrameIndex()
223 return TFI->hasFP(MF) ? ARC::FP : ARC::SP; in getFrameRegister()
/netbsd-src/external/apache2/llvm/dist/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()
194 assert(!I->getOperand(0).getImm() && (hasFP(MF) || hasBP(MF)) && in eliminateCallFramePseudoInstr()
264 if (hasFP(MF)) { in emitPrologue()
293 unsigned SPFPReg = hasFP(MF) ? getFPReg(MF) : getSPReg(MF); in emitEpilogue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsRegisterInfo.cpp76 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
191 if (Subtarget.getFrameLowering()->hasFP(MF)) { in getReservedRegs()
282 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
284 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
H A DMips16FrameLowering.cpp86 if (hasFP(MF)) in emitPrologue()
103 if (hasFP(MF)) in emitEpilogue()
170 if (hasFP(MF)) in determineCalleeSaves()
H A DMipsFrameLowering.h33 bool hasFP(const MachineFunction &MF) const override;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp218 bool XCoreFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in XCoreFrameLowering
256 bool FP = hasFP(MF); in emitPrologue()
383 bool FP = hasFP(MF); in emitEpilogue()
432 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in spillCalleeSavedRegisters()
459 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in restoreCalleeSavedRegisters()
559 if (hasFP(MF)) in determineCalleeSaves()
579 if (XFI->isLargeFrame(MF) || hasFP(MF)) in processFunctionBeforeFrameFinalized()
581 if (XFI->isLargeFrame(MF) && !hasFP(MF)) in processFunctionBeforeFrameFinalized()
H A DXCoreRegisterInfo.cpp224 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
237 if (TFI->hasFP(MF)) { in getReservedRegs()
302 if (TFI->hasFP(MF)) { in eliminateFrameIndex()
322 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kRegisterInfo.cpp145 if (TFI->hasFP(MF)) { in getReservedRegs()
190 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
262 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()
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()
278 if (IsDestroy && InternalAmt && DwarfCFI && !hasFP(MF)) in eliminateCallFramePseudoInstr()
298 if (DwarfCFI && !hasFP(MF)) { in eliminateCallFramePseudoInstr()
486 bool HasFP = hasFP(MF); in emitPrologue()
695 if (hasFP(MF)) { in emitEpilogue()
814 if (hasFP(MF)) { in assignCalleeSavedSpillSlots()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h271 virtual bool hasFP(const MachineFunction &MF) const = 0;
279 return !hasFP(MF); in hasReservedCallFrame()
290 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp49 return hasFP(MF) && !MFI.hasVarSizedObjects(); in hasReservedCallFrame()
59 bool HasFP = hasFP(MF); in emitPrologue()
160 if (!hasFP(MF) && !AFI->isInterruptOrSignalHandler()) { in emitEpilogue()
225 bool AVRFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in llvm::AVRFrameLowering
408 if (hasFP(MF)) { in determineCalleeSaves()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp219 bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in RISCVFrameLowering
449 if (hasFP(MF)) { in emitPrologue()
475 if (!hasFP(MF)) { in emitPrologue()
487 if (hasFP(MF)) { in emitPrologue()
573 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
710 if (hasFP(MF)) { in getFrameIndexReference()
776 if (hasFP(MF)) { in determineCalleeSaves()
892 if (RVVStackSize && !hasFP(MF) && Size % 8 != 0) { in processFunctionBeforeFrameFinalized()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.cpp199 if (TFI->hasFP(MF)) in getReservedRegs()
236 if (TFI->hasFP(MF)) in isInlineAsmReadOnlyReg()
294 ? TFI->hasFP(MF) : true; in getRegPressureLimit()
299 ? TFI->hasFP(MF) : true; in getRegPressureLimit()
470 if (TFI->hasFP(MF)) in getFrameRegister()
623 if (TFI->hasFP(MF) && in needsFrameBaseReg()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp323 if (TFI->hasFP(MF) || TT.isOSDarwin()) in getReservedRegs()
423 return TFI->hasFP(MF) ? AArch64::FP : AArch64::SP; in getFrameRegister()
451 return TFI.hasFP(MF) && !hasStackRealignment(MF) && !AFI->getStackSizeSVE(); in useFPForScavengingIndex()
516 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
745 - (TFI->hasFP(MF) || TT.isOSDarwin()) // FP in getRegPressureLimit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEFrameLowering.cpp421 bool VEFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in VEFrameLowering
453 if (!hasFP(MF)) { in getFrameIndexReference()
483 && !hasFP(MF); // Don't need %fp in isLeafProc()
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.h30 bool hasFP(const MachineFunction &MF) const override { in hasFP() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.h25 bool hasFP(const MachineFunction &MF) const override;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.h47 bool hasFP(const MachineFunction & /*MF*/) const override { return true; } in hasFP() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.h38 bool hasFP(const MachineFunction &MF) const override;

123