Home
last modified time | relevance | path

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

1234

/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/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/lib/Target/MSP430/
DMSP430RegisterInfo.cpp68 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
92 if (TFI->hasFP(MF)) in getReservedRegs()
181 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW); in eliminateFrameIndex()
187 if (!TFI->hasFP(MF)) in eliminateFrameIndex()
228 if (TFI->hasFP(MF)) { in processFunctionBeforeFrameFinalized()
239 return TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW; in getFrameRegister()
DMSP430FrameLowering.cpp29 bool MSP430FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in MSP430FrameLowering
55 if (hasFP(MF)) { in emitPrologue()
129 if (hasFP(MF)) { in emitEpilogue()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetFrameLowering.h146 virtual bool hasFP(const MachineFunction &MF) const = 0;
154 return !hasFP(MF); in hasReservedCallFrame()
165 return hasReservedCallFrame(MF) || hasFP(MF); in canSimplifyCallFramePseudos()
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinFrameLowering.cpp28 bool BlackfinFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in BlackfinFrameLowering
60 if (!hasFP(MF)) { in emitPrologue()
105 if (!hasFP(MF)) { in emitEpilogue()
/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/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()
DAArch64FrameLowering.cpp131 return !(MFI->hasCalls() || hasFP(MF) || NumBytes > 128); in canUseRedZone()
136 bool AArch64FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in AArch64FrameLowering
418 bool HasFP = hasFP(MF); in emitPrologue()
741 if (!hasFP(MF)) { in emitEpilogue()
812 UseFP = hasFP(MF); in resolveFrameIndexReference()
813 } else if (hasFP(MF) && !RegInfo->hasBasePointer(MF) && in resolveFrameIndexReference()
1095 if (hasFP(MF)) { in determineCalleeSaves()
/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/lib/Target/Alpha/
DAlphaRegisterInfo.cpp89 if (TFI->hasFP(MF)) { in eliminateCallFramePseudoInstr()
139 bool FP = TFI->hasFP(MF); in eliminateFrameIndex()
182 return TFI->hasFP(MF) ? Alpha::R15 : Alpha::R30; in getFrameRegister()
DAlphaFrameLowering.cpp41 bool AlphaFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in AlphaFrameLowering
53 bool FP = hasFP(MF); in emitPrologue()
115 bool FP = hasFP(MF); in emitEpilogue()
/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/lib/Target/Mips/
DMipsFrameLowering.cpp85 bool MipsFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in MipsFrameLowering
242 if (hasFP(MF)) { in emitPrologue()
284 if (hasFP(MF)) { in emitEpilogue()
318 if (hasFP(MF)) in processFunctionBeforeCalleeSavedScan()
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreRegisterInfo.cpp94 if (TFI->hasFP(MF)) { in getReservedRegs()
105 return TFI->hasFP(MF); in requiresRegisterScavenging()
217 bool FP = TFI->hasFP(MF); in eliminateFrameIndex()
326 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
DXCoreFrameLowering.cpp86 bool XCoreFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in XCoreFrameLowering
102 bool FP = hasFP(MF); in emitPrologue()
222 bool FP = hasFP(MF); in emitEpilogue()
368 if (hasFP(MF)) { in processFunctionBeforeCalleeSavedScan()
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp57 if (TFI->hasFP(MF)) { in getReservedRegs()
111 unsigned BasePtr = (TFI->hasFP(MF) ? SystemZ::R11D : SystemZ::R15D); in eliminateFrameIndex()
/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/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFrameLowering.cpp33 bool ARMFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in ARMFrameLowering
202 bool HasFP = hasFP(MF); in emitPrologue()
252 if (STI.isTargetELF() && hasFP(MF)) in emitPrologue()
487 assert (hasFP(MF) && "dynamic stack realignment without a FP!"); in ResolveFrameIndexReference()
500 if (hasFP(MF) && AFI->hasStackFrame()) { in ResolveFrameIndexReference()
836 if (TFI->hasFP(MF) && AFI->hasStackFrame()) in estimateRSStackSizeLimit()
997 (estimateStackSize(MF) + ((hasFP(MF) && AFI->hasStackFrame()) ? 4:0) >= in processFunctionBeforeCalleeSavedScan()
1017 if (hasFP(MF)) { in processFunctionBeforeCalleeSavedScan()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUFrameLowering.h39 bool hasFP(const MachineFunction &MF) const override { in hasFP() function
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeFrameLowering.cpp337 bool MBlazeFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() function in MBlazeFrameLowering
376 if (hasFP(MF)) { in emitPrologue()
404 if (hasFP(MF)) { in emitEpilogue()
443 if (hasFP(MF)) { in processFunctionBeforeCalleeSavedScan()

1234