Searched refs:FramePtr (Results 1 - 23 of 23) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.h42 /// FramePtr - X86 physical register used as frame ptr.
44 unsigned FramePtr; member in class:llvm::final
141 Register getFramePtr() const { return FramePtr; }
H A DX86RegisterInfo.cpp65 FramePtr = Use64BitReg ? X86::RBP : X86::EBP;
70 FramePtr = X86::EBP;
657 if (!MRI->canReserveReg(FramePtr))
771 assert(BasePtr == FramePtr && "Expected the FP as base register");
795 return TFI->hasFP(MF) ? FramePtr : StackPtr;
H A DX86FrameLowering.cpp493 const unsigned FramePtr = TRI->getFrameRegister(MF);
495 STI.isTarget64BitILP32() ? unsigned(getX86SubSuperRegister(FramePtr, 64))
496 : FramePtr;
1368 Register FramePtr = TRI->getFrameRegister(MF);
1371 ? Register(getX86SubSuperRegister(FramePtr, 64)) : FramePtr;
1491 // Change the rule for the FramePtr to be an "offset" rule.
1500 .addImm(FramePtr)
1508 FramePtr)
1521 // .cv_fpo_setframe $FramePtr
[all...]
H A DX86ISelLowering.cpp[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.cpp113 unsigned FIOperandNum, int Offset, unsigned FramePtr) {
118 MI.getOperand(FIOperandNum).ChangeToRegister(FramePtr, false);
138 .addReg(FramePtr);
156 .addReg(FramePtr);
111 replaceFI(MachineFunction &MF, MachineBasicBlock::iterator II, MachineInstr &MI, const DebugLoc &dl, unsigned FIOperandNum, int Offset, unsigned FramePtr) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp49 auto *FramePtr = Builder.CreateBitCast(FrameRaw, FramePtrTy); local
50 auto *Gep = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index);
H A DCoroSplit.cpp163 const coro::Shape &Shape, Value *FramePtr,
170 Shape.emitDealloc(Builder, FramePtr, CG);
175 const coro::Shape &Shape, Value *FramePtr,
194 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG);
201 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG);
225 Value *FramePtr, bool InResume, CallGraph *CG){
238 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG);
252 Value *FramePtr, bool InResume, CallGraph *CG) {
254 replaceUnwindCoroEnd(End, Shape, FramePtr, InResume, CG);
256 replaceFallthroughCoroEnd(End, Shape, FramePtr, InResum
162 maybeFreeRetconStorage(IRBuilder< &Builder, const coro::Shape &Shape, Value *FramePtr, CallGraph *CG) argument
174 replaceFallthroughCoroEnd(CoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) argument
224 replaceUnwindCoroEnd(CoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) argument
251 replaceCoroEnd(CoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) argument
284 auto *FramePtr = Shape.FramePtr; local
[all...]
H A DCoroFrame.cpp712 // %FramePtr = bitcast i8* hdl to %f.frame*
729 auto *FramePtr = local
730 cast<Instruction>(Builder.CreateBitCast(CB, FramePtrTy, "FramePtr"));
774 return Builder.CreateInBoundsGEP(FrameTy, FramePtr, Indices);
817 InsertPt = FramePtr->getNextNode();
850 InsertPt = FramePtr->getNextNode();
856 FrameTy, FramePtr, 0, Index,
896 BasicBlock *FramePtrBB = FramePtr->getParent();
899 FramePtrBB->splitBasicBlock(FramePtr->getNextNode(), "AllocaSpillBB");
916 return FramePtr;
[all...]
H A DCoroInternal.h115 Instruction *FramePtr; member in struct:llvm::coro::Shape
H A DCoroutines.cpp232 Shape.FramePtr = nullptr;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb1FrameLowering.cpp169 Register FramePtr = RegInfo->getFrameRegister(MF); local
226 if (Reg == FramePtr)
304 BuildMI(MBB, MBBI, dl, TII.get(ARM::tADDrSPi), FramePtr)
312 nullptr, MRI->getDwarfRegNum(FramePtr, true), CFAOffset));
319 nullptr, MRI->getDwarfRegNum(FramePtr, true)));
381 if (isARMLowRegister(Reg) && !(HasFP && Reg == FramePtr)) {
488 Register FramePtr = RegInfo->getFrameRegister(MF); local
519 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::R4, FramePtr, -NumBytes,
526 .addReg(FramePtr)
536 if (isARMLowRegister(Reg) && !(HasFP && Reg == FramePtr)) {
[all...]
H A DARMFrameLowering.cpp360 Register FramePtr = RegInfo->getFrameRegister(MF); local
419 if (Reg == FramePtr)
592 dl, TII, FramePtr, ARM::SP,
597 nullptr, MRI->getDwarfRegNum(FramePtr, true),
605 nullptr, MRI->getDwarfRegNum(FramePtr, true)));
778 Register FramePtr = RegInfo->getFrameRegister(MF); local
818 emitARMRegPlusImmediate(MBB, MBBI, dl, ARM::SP, FramePtr, -NumBytes,
831 emitT2RegPlusImmediate(MBB, MBBI, dl, ARM::R4, FramePtr, -NumBytes,
842 .addReg(FramePtr)
848 .addReg(FramePtr)
1681 Register FramePtr = RegInfo->getFrameRegister(MF); local
[all...]
H A DARMAsmPrinter.cpp1093 Register FramePtr = TargetRegInfo->getFrameRegister(MF);
1227 if (DstReg == FramePtr && FramePtr != ARM::SP)
1230 ATS.emitSetFP(FramePtr, ARM::SP, -Offset);
1296 unsigned FramePtr = STI.useR7AsFramePointer() ? ARM::R7 : ARM::R11;
2042 .addReg(FramePtr)
2112 .addReg(FramePtr)
H A DARMExpandPseudoInsts.cpp2150 Register FramePtr = RI.getFrameRegister(MF); local
2156 FramePtr, -NumBytes, ARMCC::AL, 0, *TII);
2159 FramePtr, -NumBytes, *TII, RI);
2162 FramePtr, -NumBytes, ARMCC::AL, 0,
H A DARMFastISel.cpp2494 Register FramePtr = RegInfo->getFrameRegister(*(FuncInfo.MF)); local
2495 unsigned SrcReg = FramePtr;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp34 static const unsigned FramePtr = XCore::R10; variable
151 FramePtr));
307 BuildMI(MBB, MBBI, dl, TII.get(XCore::LDAWSP_ru6), FramePtr).addImm(0);
310 MRI->getDwarfRegNum(FramePtr, true));
386 BuildMI(MBB, MBBI, dl, TII.get(XCore::SETSP_1r)).addReg(FramePtr);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolRecordMapping.cpp504 case EncodedFramePtrReg::FramePtr: return RegisterId::EBP;
512 case EncodedFramePtrReg::FramePtr: return RegisterId::RBP;
537 return EncodedFramePtrReg::FramePtr;
549 return EncodedFramePtrReg::FramePtr;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp403 Value *FramePtr = Builder.CreateConstGEP2_32(doubleUnderJBufTy, JBufPtr, 0, 0, local
407 Builder.CreateStore(Val, FramePtr, /*isVolatile=*/true);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h539 FramePtr = 2, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions::PointerKind::PointerMode::PointerOptions::PointerToMemberRepresentation::VFTableSlotKind::WindowsRTClassKind::ExportFlags::EncodedFramePtrReg
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp329 Expr *FramePtr = local
338 return S.BuildCallExpr(nullptr, FromAddr.get(), Loc, FramePtr, Loc);
1333 Expr *FramePtr =
1366 buildBuiltinCall(S, Loc, Builtin::BI__builtin_coro_free, {FramePtr});
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1378 CurFn->EncodedParamFramePtrReg = EncodedFramePtrReg::FramePtr;
1385 CurFn->EncodedLocalFramePtrReg = EncodedFramePtrReg::FramePtr;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp1416 Register FramePtr = RegInfo->getFrameRegister(MF); local
1485 unsigned Reg = RegInfo->getDwarfRegNum(FramePtr, true);
H A DAArch64FastISel.cpp3485 Register FramePtr = RegInfo->getFrameRegister(*(FuncInfo.MF)); local
3488 TII.get(TargetOpcode::COPY), SrcReg).addReg(FramePtr);

Completed in 413 milliseconds