Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp42 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in WebAssemblyFrameLowering
67 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSP()
111 assert(!I->getOperand(0).getImm() && hasFP(MF) && in eliminateCallFramePseudoInstr()
167 if (hasFP(MF)) { in emitPrologue()
208 .addReg(hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32) in emitEpilogue()
211 SPReg = hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32; in emitEpilogue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp64 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
88 if (TFI->hasFP(MF)) { in getReservedRegs()
115 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex()
121 if (!TFI->hasFP(MF)) in eliminateFrameIndex()
159 return TFI->hasFP(MF) ? MSP430::FP : MSP430::SP; in getFrameRegister()
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()
293 if (hasFP(MF)) { in processFunctionBeforeFrameFinalized()
/external/llvm/lib/Target/MSP430/
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()
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()
295 if (hasFP(MF)) { in processFunctionBeforeFrameFinalized()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp53 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in WebAssemblyFrameLowering
85 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSPForLocalFrame()
141 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.cpp147 if (hasFP(MF)) { in emitPrologue()
185 if (hasFP(MF)) { in emitPrologue()
206 if (hasFP(MF)) { in emitPrologue()
227 if ((hasFP(MF) && Reg == ARC::FP) || (MFI.hasCalls() && Reg == ARC::BLINK)) in emitPrologue()
254 if (hasFP(MF)) { in emitEpilogue()
312 if (hasFP(MF)) { in emitEpilogue()
355 if (hasFP(MF)) { in assignCalleeSavedSpillSlots()
478 if (!hasFP(MF)) { in eliminateCallFramePseudoInstr()
493 bool ARCFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in ARCFrameLowering
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp26 bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in RISCVFrameLowering
176 if (hasFP(MF)) { in emitPrologue()
201 if (!hasFP(MF)) { in emitPrologue()
210 if (hasFP(MF)) { in emitPrologue()
281 assert(hasFP(MF) && "frame pointer should not have been eliminated"); in emitEpilogue()
345 if (hasFP(MF)) in getFrameIndexReference()
359 if (hasFP(MF)) { in determineCalleeSaves()
DRISCVRegisterInfo.cpp83 if (TFI->hasFP(MF)) in getReservedRegs()
152 return TFI->hasFP(MF) ? RISCV::X8 : RISCV::X2; in getFrameRegister()
/external/llvm/include/llvm/Target/
DTargetFrameLowering.h216 virtual bool hasFP(const MachineFunction &MF) const = 0;
224 return !hasFP(MF); in hasReservedCallFrame()
235 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp76 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
191 if (Subtarget.getFrameLowering()->hasFP(MF)) { in getReservedRegs()
288 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
290 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
DMips16FrameLowering.cpp86 if (hasFP(MF)) in emitPrologue()
103 if (hasFP(MF)) in emitEpilogue()
173 if (hasFP(MF)) in determineCalleeSaves()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp126 if (TFI->hasFP(MF) || TT.isOSDarwin()) { in getReservedRegs()
161 return TFI->hasFP(MF) || TT.isOSDarwin(); in isReservedReg()
214 return TFI->hasFP(MF) ? AArch64::FP : AArch64::SP; in getFrameRegister()
298 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
423 - (TFI->hasFP(MF) || TT.isOSDarwin()) // FP in getRegPressureLimit()
/external/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp80 if (hasFP(MF)) in emitPrologue()
98 if (hasFP(MF)) in emitEpilogue()
169 if (hasFP(MF)) in determineCalleeSaves()
DMipsRegisterInfo.cpp80 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
198 if (Subtarget.getFrameLowering()->hasFP(MF)) { in getReservedRegs()
302 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
304 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetFrameLowering.h228 virtual bool hasFP(const MachineFunction &MF) const = 0;
236 return !hasFP(MF); in hasReservedCallFrame()
247 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
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()
435 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in spillCalleeSavedRegisters()
465 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in restoreCalleeSavedRegisters()
566 if (hasFP(MF)) in determineCalleeSaves()
586 if (XFI->isLargeFrame(MF) || hasFP(MF)) in processFunctionBeforeFrameFinalized()
588 if (XFI->isLargeFrame(MF) && !hasFP(MF)) in processFunctionBeforeFrameFinalized()
DXCoreRegisterInfo.cpp224 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
237 if (TFI->hasFP(MF)) { in getReservedRegs()
307 if (TFI->hasFP(MF)) { in eliminateFrameIndex()
327 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp217 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()
434 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in spillCalleeSavedRegisters()
464 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in restoreCalleeSavedRegisters()
566 if (hasFP(MF)) in determineCalleeSaves()
583 if (XFI->isLargeFrame(MF) || hasFP(MF)) in processFunctionBeforeFrameFinalized()
587 if (XFI->isLargeFrame(MF) && !hasFP(MF)) in processFunctionBeforeFrameFinalized()
DXCoreRegisterInfo.cpp226 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
239 if (TFI->hasFP(MF)) { in getReservedRegs()
309 if (TFI->hasFP(MF)) { in eliminateFrameIndex()
329 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp205 if (TFI->hasFP(MF) || TT.isOSDarwin()) in getReservedRegs()
296 return TFI->hasFP(MF) ? AArch64::FP : AArch64::SP; in getFrameRegister()
317 return TFI.hasFP(MF); in useFPForScavengingIndex()
382 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
556 - (TFI->hasFP(MF) || TT.isOSDarwin()) // FP in getRegPressureLimit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
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
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp173 return TFI->hasFP(MF) && TFI->Uses64BitFramePtr in getPointerRegClass()
227 unsigned FPDiff = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
447 if (TFI->hasFP(MF)) { in getReservedRegs()
595 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
659 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp49 if (TFI->hasFP(MF)) { in getReservedRegs()
153 return TFI->hasFP(MF) ? SystemZ::R11D : SystemZ::R15D; in getFrameRegister()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUFrameLowering.h39 bool hasFP(const MachineFunction &MF) const override { in hasFP() function

12345