Lines Matching refs:FrameIdx
360 int FrameIdx; in assignCalleeSavedSpillSlots() local
361 if (RegInfo->hasReservedSpillSlot(F, Reg, FrameIdx)) { in assignCalleeSavedSpillSlots()
362 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
382 FrameIdx = MFI->CreateStackObject(RC->getSize(), Align, true); in assignCalleeSavedSpillSlots()
383 if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
384 if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
387 FrameIdx = in assignCalleeSavedSpillSlots()
391 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
554 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, in AdjustStackOffset() argument
559 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
561 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset()
571 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset << "]\n"); in AdjustStackOffset()
572 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
574 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset << "]\n"); in AdjustStackOffset()
575 MFI->setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
576 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
624 static inline bool scavengeStackSlot(MachineFrameInfo *MFI, int FrameIdx, in scavengeStackSlot() argument
627 if (MFI->isVariableSizedObjectIndex(FrameIdx)) in scavengeStackSlot()
637 unsigned ObjAlign = MFI->getObjectAlignment(FrameIdx); in scavengeStackSlot()
641 int64_t ObjSize = MFI->getObjectSize(FrameIdx); in scavengeStackSlot()
669 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") scavenged at SP[" << ObjStart in scavengeStackSlot()
671 MFI->setObjectOffset(FrameIdx, ObjStart); in scavengeStackSlot()
673 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") scavenged at SP[" << FreeStart in scavengeStackSlot()
675 MFI->setObjectOffset(FrameIdx, FreeStart); in scavengeStackSlot()