Home
last modified time | relevance | path

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

1234

/openbsd/gnu/llvm/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()
160 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()
128 if (hasFP(MF)) { in emitEpilogue()
286 if (hasFP(MF)) { in processFunctionBeforeFrameFinalized()
/openbsd/gnu/llvm/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
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp85 if (hasFP(MF)) in emitPrologue()
102 if (hasFP(MF)) in emitEpilogue()
169 if (hasFP(MF)) in determineCalleeSaves()
H A DMipsRegisterInfo.cpp76 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
191 if (Subtarget.getFrameLowering()->hasFP(MF)) { in getReservedRegs()
283 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
285 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
H A DMipsFrameLowering.h37 bool hasFP(const MachineFunction &MF) const override;
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp34 bool LoongArchFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in LoongArchFrameLowering
246 if (hasFP(MF)) { in emitPrologue()
262 if (hasFP(MF)) { in emitPrologue()
291 if (hasFP(MF)) { in emitPrologue()
346 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
406 if (hasFP(MF)) { in determineCalleeSaves()
514 if (hasFP(MF)) in getFrameIndexReference()
H A DLoongArchRegisterInfo.cpp94 if (TFI->hasFP(MF)) in getReservedRegs()
115 return TFI->hasFP(MF) ? LoongArch::R22 : LoongArch::R3; in getFrameRegister()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp101 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in WebAssemblyFrameLowering
133 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSPForLocalFrame()
241 assert(!I->getOperand(0).getImm() && (hasFP(MF) || hasBP(MF)) && in eliminateCallFramePseudoInstr()
311 if (hasFP(MF)) { in emitPrologue()
340 unsigned SPFPReg = hasFP(MF) ? getFPReg(MF) : getSPReg(MF); in emitEpilogue()
/openbsd/gnu/llvm/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()
460 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in restoreCalleeSavedRegisters()
561 if (hasFP(MF)) in determineCalleeSaves()
581 if (XFI->isLargeFrame(MF) || hasFP(MF)) in processFunctionBeforeFrameFinalized()
583 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()
323 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/openbsd/gnu/llvm/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()
278 if (IsDestroy && InternalAmt && DwarfCFI && !hasFP(MF)) in eliminateCallFramePseudoInstr()
298 if (DwarfCFI && !hasFP(MF)) { in eliminateCallFramePseudoInstr()
486 bool HasFP = hasFP(MF); in emitPrologue()
691 if (hasFP(MF)) { in emitEpilogue()
750 } else if (hasFP(MF)) { in emitEpilogue()
812 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()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h290 virtual bool hasFP(const MachineFunction &MF) const = 0;
298 return !hasFP(MF); in hasReservedCallFrame()
309 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/openbsd/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp49 return hasFP(MF) && !MFI.hasVarSizedObjects(); in hasReservedCallFrame()
60 bool HasFP = hasFP(MF); in emitPrologue()
170 if (!hasFP(MF) && !AFI->isInterruptOrSignalHandler()) { in emitEpilogue()
237 bool AVRFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in llvm::AVRFrameLowering
416 if (hasFP(MF)) { in determineCalleeSaves()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.h77 bool hasFP(const MachineFunction &MF) const override;
133 bool hasFP(const MachineFunction &MF) const override;
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp231 bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in RISCVFrameLowering
276 if (RVFI->getRVVStackSize() && (!hasFP(MF) || TRI->hasStackRealignment(MF))) { in determineFrameLayout()
516 if (hasFP(MF)) { in emitPrologue()
547 if (!hasFP(MF)) { in emitPrologue()
560 if (!hasFP(MF)) { in emitPrologue()
570 if (hasFP(MF)) { in emitPrologue()
666 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
880 if (hasFP(MF)) { in determineCalleeSaves()
1146 !(hasFP(MF) && hasRVVFrameObject(MF)); in hasReservedCallFrame()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/
H A DDirectXFrameLowering.h32 bool hasFP(const MachineFunction &) const override { return false; } in hasFP() function
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVFrameLowering.h36 bool hasFP(const MachineFunction &MF) const override { return false; } in hasFP() function
/openbsd/gnu/llvm/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;
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.h30 bool hasFP(const MachineFunction &MF) const override { in hasFP() function
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.h25 bool hasFP(const MachineFunction &MF) const override;
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.h47 bool hasFP(const MachineFunction & /*MF*/) const override { return true; } in hasFP() function

1234