Lines Matching refs:MFI

70     void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset,
74 MachineFrameInfo *MFI, bool StackGrowsDown,
105 MachineFrameInfo *MFI = MF.getFrameInfo();
107 unsigned LocalObjectCount = MFI->getObjectIndexEnd();
115 LocalOffsets.resize(MFI->getObjectIndexEnd());
123 // Tell MFI whether any base registers were allocated. PEI will only
128 MFI->setUseLocalStackAllocationBlock(UsedBaseRegs);
134 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo *MFI,
140 Offset += MFI->getObjectSize(FrameIdx);
142 unsigned Align = MFI->getObjectAlignment(FrameIdx);
156 // And tell MFI about it for PEI to use later
157 MFI->mapLocalFrameObject(FrameIdx, LocalOffset);
160 Offset += MFI->getObjectSize(FrameIdx);
169 MachineFrameInfo *MFI,
176 AdjustStackOffset(MFI, i, Offset, StackGrowsDown, MaxAlign);
186 MachineFrameInfo *MFI = Fn.getFrameInfo();
197 if (MFI->getStackProtectorIndex() >= 0) {
202 AdjustStackOffset(MFI, MFI->getStackProtectorIndex(), Offset,
206 for (unsigned i = 0, e = MFI->getObjectIndexEnd(); i != e; ++i) {
207 if (MFI->isDeadObjectIndex(i))
209 if (MFI->getStackProtectorIndex() == (int)i)
212 switch (SP->getSSPLayout(MFI->getObjectAllocation(i))) {
228 AssignProtectedObjSet(LargeArrayObjs, ProtectedObjs, MFI, StackGrowsDown,
230 AssignProtectedObjSet(SmallArrayObjs, ProtectedObjs, MFI, StackGrowsDown,
232 AssignProtectedObjSet(AddrOfObjs, ProtectedObjs, MFI, StackGrowsDown,
238 for (unsigned i = 0, e = MFI->getObjectIndexEnd(); i != e; ++i) {
239 if (MFI->isDeadObjectIndex(i))
241 if (MFI->getStackProtectorIndex() == (int)i)
246 AdjustStackOffset(MFI, i, Offset, StackGrowsDown, MaxAlign);
250 MFI->setLocalFrameSize(Offset);
251 MFI->setLocalFrameMaxAlign(MaxAlign);
276 MachineFrameInfo *MFI = Fn.getFrameInfo();
311 if (!MFI->isObjectPreAllocated(MI->getOperand(i).getIndex()))
340 assert(MFI->isObjectPreAllocated(FrameIdx) &&
357 int64_t FrameSizeAdjust = StackGrowsDown ? MFI->getLocalFrameSize() : 0;