Home
last modified time | relevance | path

Searched refs:FPOffset (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFrameLowering.cpp472 int FPOffset = Offset - AFI->getFramePtrSpillOffset(); in ResolveFrameIndexReference() local
490 Offset = FPOffset; in ResolveFrameIndexReference()
506 return FPOffset; in ResolveFrameIndexReference()
513 if (FPOffset >= -255 && FPOffset < 0) { in ResolveFrameIndexReference()
515 return FPOffset; in ResolveFrameIndexReference()
526 if (FPOffset >= -255 && FPOffset < 0) { in ResolveFrameIndexReference()
528 return FPOffset; in ResolveFrameIndexReference()
530 } else if (Offset > (FPOffset < 0 ? -FPOffset : FPOffset)) { in ResolveFrameIndexReference()
533 return FPOffset; in ResolveFrameIndexReference()
DARMBaseRegisterInfo.cpp991 int64_t FPOffset = Offset - 8; in needsFrameBaseReg() local
994 FPOffset -= 80; in needsFrameBaseReg()
1013 if (isFrameOffsetLegal(MI, FPOffset)) in needsFrameBaseReg()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCFrameLowering.cpp299 int FPOffset = 0; in emitPrologue() local
305 FPOffset = FFI->getObjectOffset(FPIndex); in emitPrologue()
307 FPOffset = PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI); in emitPrologue()
318 .addImm(FPOffset/4) in emitPrologue()
333 .addImm(FPOffset) in emitPrologue()
442 MachineLocation FPDst(MachineLocation::VirtualFP, FPOffset); in emitPrologue()
542 int FPOffset = 0; in emitEpilogue() local
548 FPOffset = FFI->getObjectOffset(FPIndex); in emitEpilogue()
550 FPOffset = PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI); in emitEpilogue()
639 .addImm(FPOffset/4).addReg(PPC::X1); in emitEpilogue()
[all …]
DPPCISelLowering.cpp3537 int FPOffset = PPCFrameLowering::getFramePointerSaveOffset(isPPC64, in getFramePointerFrameIndex() local
3541 FPSI = MF.getFrameInfo()->CreateFixedObject(isPPC64? 8 : 4, FPOffset, true); in getFramePointerFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp801 int FPOffset = 0; in emitPrologue() local
807 FPOffset = MFI.getObjectOffset(FPIndex); in emitPrologue()
809 FPOffset = getFramePointerSaveOffset(); in emitPrologue()
894 .addImm(FPOffset) in emitPrologue()
1021 .addImm(FPOffset-LastOffset); in emitPrologue()
1022 LastOffset = FPOffset; in emitPrologue()
1064 .addImm(FPOffset) in emitPrologue()
1089 .addImm(FrameSize + FPOffset) in emitPrologue()
1132 MCCFIInstruction::createOffset(nullptr, Reg, FPOffset)); in emitPrologue()
1279 int FPOffset = 0; in emitEpilogue() local
[all …]
DPPCISelLowering.cpp6726 int FPOffset = Subtarget.getFrameLowering()->getFramePointerSaveOffset(); in getFramePointerFrameIndex() local
6728 FPSI = MF.getFrameInfo().CreateFixedObject(isPPC64? 8 : 4, FPOffset, true); in getFramePointerFrameIndex()
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp485 int FPOffset = CSStackSize - 16; in emitPrologue() local
487 FPOffset += AFI->getLocalStackSize(); in emitPrologue()
493 emitFrameOffset(MBB, MBBI, DL, AArch64::FP, AArch64::SP, FPOffset, TII, in emitPrologue()
797 int FPOffset = MFI->getObjectOffset(FI) + 16; in resolveFrameIndexReference() local
824 if (PreferFP || MFI->hasVarSizedObjects() || FPOffset >= 0 || in resolveFrameIndexReference()
825 (FPOffset >= -256 && Offset > -FPOffset)) in resolveFrameIndexReference()
836 return FPOffset; in resolveFrameIndexReference()
DAArch64RegisterInfo.cpp283 int64_t FPOffset = Offset - 16 * 20; in needsFrameBaseReg() local
298 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMFrameLowering.cpp463 int FPOffset = MFI.getObjectOffset(FramePtrSpillFI); in emitPrologue() local
464 assert(getMaxFPOffset(MF.getFunction(), *AFI) <= FPOffset && in emitPrologue()
466 FramePtrOffsetInPush = FPOffset + ArgRegsSaveSize; in emitPrologue()
891 int FPOffset = Offset - AFI->getFramePtrSpillOffset(); in ResolveFrameIndexReference() local
907 Offset = FPOffset; in ResolveFrameIndexReference()
922 return FPOffset; in ResolveFrameIndexReference()
929 if (FPOffset >= -255 && FPOffset < 0) { in ResolveFrameIndexReference()
931 return FPOffset; in ResolveFrameIndexReference()
944 if (AFI->isThumb2Function() && FPOffset >= -255 && FPOffset < 0) { in ResolveFrameIndexReference()
946 return FPOffset; in ResolveFrameIndexReference()
[all …]
DARMBaseRegisterInfo.cpp568 int64_t FPOffset = Offset - 8; in needsFrameBaseReg() local
571 FPOffset -= 80; in needsFrameBaseReg()
589 if (isFrameOffsetLegal(MI, getFrameRegister(MF), FPOffset)) in needsFrameBaseReg()
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeFrameLowering.cpp363 int FPOffset = MBlazeFI->getFPStackOffset(); in emitPrologue() local
379 .addReg(MBlaze::R19).addReg(MBlaze::R1).addImm(FPOffset); in emitPrologue()
401 int FPOffset = MBlazeFI->getFPStackOffset(); in emitEpilogue() local
411 .addReg(MBlaze::R1).addImm(FPOffset); in emitEpilogue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp638 int FPOffset = AFI->getCalleeSavedStackSize() - 16; in emitPrologue() local
640 FPOffset += AFI->getLocalStackSize(); in emitPrologue()
646 emitFrameOffset(MBB, MBBI, DL, AArch64::FP, AArch64::SP, FPOffset, TII, in emitPrologue()
1038 int FPOffset = MFI.getObjectOffset(FI) + FixedObject + 16; in resolveFrameIndexReference() local
1067 bool FPOffsetFits = FPOffset >= -256; in resolveFrameIndexReference()
1068 PreferFP |= Offset > -FPOffset; in resolveFrameIndexReference()
1082 } else if (FPOffset >= 0) { in resolveFrameIndexReference()
1101 return FPOffset; in resolveFrameIndexReference()
DAArch64RegisterInfo.cpp311 int64_t FPOffset = Offset - 16 * 20; in needsFrameBaseReg() local
326 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
/external/llvm/lib/Target/ARM/
DARMFrameLowering.cpp819 int FPOffset = Offset - AFI->getFramePtrSpillOffset(); in ResolveFrameIndexReference() local
835 Offset = FPOffset; in ResolveFrameIndexReference()
850 return FPOffset; in ResolveFrameIndexReference()
857 if (FPOffset >= -255 && FPOffset < 0) { in ResolveFrameIndexReference()
859 return FPOffset; in ResolveFrameIndexReference()
870 if (FPOffset >= -255 && FPOffset < 0) { in ResolveFrameIndexReference()
872 return FPOffset; in ResolveFrameIndexReference()
874 } else if (Offset > (FPOffset < 0 ? -FPOffset : FPOffset)) { in ResolveFrameIndexReference()
877 return FPOffset; in ResolveFrameIndexReference()
DARMBaseRegisterInfo.cpp546 int64_t FPOffset = Offset - 8; in needsFrameBaseReg() local
549 FPOffset -= 80; in needsFrameBaseReg()
567 if (isFrameOffsetLegal(MI, getFrameRegister(MF), FPOffset)) in needsFrameBaseReg()
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp791 int FPOffset = 0; in emitPrologue() local
797 FPOffset = FFI->getObjectOffset(FPIndex); in emitPrologue()
799 FPOffset = getFramePointerSaveOffset(); in emitPrologue()
884 .addImm(FPOffset) in emitPrologue()
1003 MCCFIInstruction::createOffset(nullptr, Reg, FPOffset)); in emitPrologue()
1149 int FPOffset = 0; in emitEpilogue() local
1164 FPOffset = FFI->getObjectOffset(FPIndex); in emitEpilogue()
1166 FPOffset = getFramePointerSaveOffset(); in emitEpilogue()
1282 .addImm(FPOffset) in emitEpilogue()
1400 int FPOffset = getFramePointerSaveOffset(); in determineCalleeSaves() local
[all …]
DPPCISelLowering.cpp6171 int FPOffset = Subtarget.getFrameLowering()->getFramePointerSaveOffset(); in getFramePointerFrameIndex() local
6173 FPSI = MF.getFrameInfo()->CreateFixedObject(isPPC64? 8 : 4, FPOffset, true); in getFramePointerFrameIndex()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp613 int64_t FPOffset; // Offset: (final frame pointer) - (initial $sp) member in __anon2a1facbf0111::ARMELFStreamer
1129 FPOffset = 0; in EHReset()
1224 UnwindOpAsm.EmitSPOffset(LastRegSaveSPOffset - FPOffset); in FlushUnwindOpcodes()
1300 FPOffset = SPOffset + Offset; in emitSetFP()
1302 FPOffset += Offset; in emitSetFP()
1313 FPOffset = SPOffset + Offset; in emitMovSP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp699 int64_t FPOffset; // Offset: (final frame pointer) - (initial $sp) member in __anonf511ea170111::ARMELFStreamer
1241 FPOffset = 0; in EHReset()
1336 UnwindOpAsm.EmitSPOffset(LastRegSaveSPOffset - FPOffset); in FlushUnwindOpcodes()
1412 FPOffset = SPOffset + Offset; in emitSetFP()
1414 FPOffset += Offset; in emitSetFP()
1425 FPOffset = SPOffset + Offset; in emitMovSP()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dwineh-coreclr.ll35 ; CHECK: leaq [[FPOffset:[0-9]+]](%rsp), %rbp
62 ; CHECK: leaq [[FPOffset]](%rcx), %rbp
85 ; CHECK: leaq [[FPOffset]](%rcx), %rbp
114 ; CHECK: leaq [[FPOffset]](%rcx), %rbp
137 ; CHECK: leaq [[FPOffset]](%rcx), %rbp
/external/llvm/test/CodeGen/X86/
Dwineh-coreclr.ll35 ; CHECK: leaq [[FPOffset:[0-9]+]](%rsp), %rbp
62 ; CHECK: leaq [[FPOffset]](%rcx), %rbp
85 ; CHECK: leaq [[FPOffset]](%rcx), %rbp
114 ; CHECK: leaq [[FPOffset]](%rcx), %rbp
137 ; CHECK: leaq [[FPOffset]](%rcx), %rbp