Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/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()
128 if (hasFP(MF)) { in emitEpilogue()
286 if (hasFP(MF)) { in processFunctionBeforeFrameFinalized()
/llvm-project-15.0.7/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp33 bool LoongArchFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in LoongArchFrameLowering
140 if (hasFP(MF)) { in emitPrologue()
172 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
187 if (hasFP(MF)) { in determineCalleeSaves()
217 if ((FI >= MinCSFI && FI <= MaxCSFI) || !hasFP(MF)) { in getFrameIndexReference()
H A DLoongArchRegisterInfo.cpp88 if (TFI->hasFP(MF)) in getReservedRegs()
106 return TFI->hasFP(MF) ? LoongArch::R22 : LoongArch::R3; in getFrameRegister()
/llvm-project-15.0.7/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
/llvm-project-15.0.7/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()
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 DMipsFrameLowering.h33 bool hasFP(const MachineFunction &MF) const override;
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp102 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in WebAssemblyFrameLowering
134 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSPForLocalFrame()
242 assert(!I->getOperand(0).getImm() && (hasFP(MF) || hasBP(MF)) && in eliminateCallFramePseudoInstr()
312 if (hasFP(MF)) { in emitPrologue()
341 unsigned SPFPReg = hasFP(MF) ? getFPReg(MF) : getSPReg(MF); in emitEpilogue()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kRegisterInfo.cpp146 if (TFI->hasFP(MF)) { in getReservedRegs()
191 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
263 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()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h285 virtual bool hasFP(const MachineFunction &MF) const = 0;
293 return !hasFP(MF); in hasReservedCallFrame()
304 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp49 return hasFP(MF) && !MFI.hasVarSizedObjects(); in hasReservedCallFrame()
59 bool HasFP = hasFP(MF); in emitPrologue()
159 if (!hasFP(MF) && !AFI->isInterruptOrSignalHandler()) { in emitEpilogue()
226 bool AVRFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in llvm::AVRFrameLowering
405 if (hasFP(MF)) { in determineCalleeSaves()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.h77 bool hasFP(const MachineFunction &MF) const override;
133 bool hasFP(const MachineFunction &MF) const override;
/llvm-project-15.0.7/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()
601 assert(hasFP(MF)); in getFrameIndexReference()
610 if (MFI.isFixedObjectIndex(FI) && hasFP(MF)) { in getFrameIndexReference()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDirectXFrameLowering.h32 bool hasFP(const MachineFunction &) const override { return false; } in hasFP() function
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVFrameLowering.h36 bool hasFP(const MachineFunction &MF) const override { return false; } in hasFP() function
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.h30 bool hasFP(const MachineFunction &MF) const override { in hasFP() function
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp229 bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in RISCVFrameLowering
274 if (RVFI->getRVVStackSize() && (!hasFP(MF) || TRI->hasStackRealignment(MF))) { in determineFrameLayout()
513 if (hasFP(MF)) { in emitPrologue()
541 if (!hasFP(MF)) { in emitPrologue()
555 if (hasFP(MF)) { in emitPrologue()
651 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
862 if (hasFP(MF)) { in determineCalleeSaves()
1079 !(hasFP(MF) && hasRVVFrameObject(MF)); in hasReservedCallFrame()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.h25 bool hasFP(const MachineFunction &MF) const override;
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.h47 bool hasFP(const MachineFunction & /*MF*/) const override { return true; } in hasFP() function

1234