Lines Matching defs:MFI
47 const MachineFrameInfo *MFI = MF.getFrameInfo();
53 MFI->hasVarSizedObjects() ||
54 MFI->isFrameAddressTaken() || MFI->hasInlineAsmWithSPAdjust() ||
314 MachineFrameInfo *MFI = MF.getFrameInfo();
320 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo();
326 int64_t Offset = MFI->getObjectOffset(I->getFrameIdx());
440 MachineFrameInfo *MFI = MF.getFrameInfo();
447 uint64_t MaxAlign = MFI->getMaxAlignment(); // Desired stack alignment.
448 uint64_t StackSize = MFI->getStackSize(); // Number of bytes to allocate.
473 if (MFI->hasCalls())
493 !MFI->hasVarSizedObjects() && // No dynamic alloca.
494 !MFI->adjustsStack() && // No calls.
501 MFI->setStackSize(StackSize);
550 MFI->setOffsetAdjustment(-NumBytes);
747 for (const CalleeSavedInfo &Info : MFI->getCalleeSavedInfo()) {
748 int offset = MFI->getObjectOffset(Info.getFrameIdx());
782 for (const CalleeSavedInfo &Info : MFI->getCalleeSavedInfo()) {
834 const MachineFrameInfo *MFI = MF.getFrameInfo();
871 uint64_t StackSize = MFI->getStackSize();
872 uint64_t MaxAlign = MFI->getMaxAlignment();
881 if (MFI->hasCalls())
923 if (NumBytes || MFI->hasVarSizedObjects())
929 if (RegInfo->needsStackRealignment(MF) || MFI->hasVarSizedObjects()) {
1033 const MachineFrameInfo *MFI = MF.getFrameInfo();
1034 int Offset = MFI->getObjectOffset(FI) - getOffsetOfLocalArea();
1035 uint64_t StackSize = MFI->getStackSize();
1043 assert((-(Offset + StackSize)) % MFI->getObjectAlignment(FI) == 0);
1051 assert((-(Offset + StackSize)) % MFI->getObjectAlignment(FI) == 0);
1091 MachineFrameInfo *MFI = MF.getFrameInfo();
1103 MFI->CreateFixedSpillStackObject(SlotSize, SpillSlotOffset);
1127 int SlotIndex = MFI->CreateFixedSpillStackObject(SlotSize, SpillSlotOffset);
1145 MFI->CreateFixedSpillStackObject(RC->getSize(), SpillSlotOffset);
1147 MFI->ensureMaxAlignment(RC->getAlignment());
1238 MachineFrameInfo *MFI = MF.getFrameInfo();
1256 MFI->CreateFixedObject(-TailCallReturnAddrDelta,
1316 MachineFrameInfo *MFI = MF.getFrameInfo();
1337 StackSize = MFI->getStackSize();
1527 MachineFrameInfo *MFI = MF.getFrameInfo();
1540 unsigned MaxStack = MFI->getStackSize() + CallerStkArity*SlotSize + SlotSize;
1552 if (MFI->hasCalls()) {