• Home
  • Raw
  • Download

Lines Matching refs:MFI

84 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx,  in AdjustStackOffset()  argument
89 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
91 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset()
102 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
105 MFI->setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
106 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
119 MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() local
136 for (int i = MFI->getObjectIndexBegin(); i != 0; ++i) { in calculateFrameObjectOffsets()
142 FixedOff = -MFI->getObjectOffset(i); in calculateFrameObjectOffsets()
146 FixedOff = MFI->getObjectOffset(i) + MFI->getObjectSize(i); in calculateFrameObjectOffsets()
153 unsigned MaxAlign = MFI->getMaxAlignment(); in calculateFrameObjectOffsets()
161 if (MFI->getUseLocalStackAllocationBlock()) { in calculateFrameObjectOffsets()
162 unsigned Align = MFI->getLocalFrameMaxAlign(); in calculateFrameObjectOffsets()
170 for (unsigned i = 0, e = MFI->getLocalFrameObjectCount(); i != e; ++i) { in calculateFrameObjectOffsets()
171 std::pair<int, int64_t> Entry = MFI->getLocalFrameObjectMap(i); in calculateFrameObjectOffsets()
175 MFI->setObjectOffset(Entry.first, FIOffset); in calculateFrameObjectOffsets()
178 Offset += MFI->getLocalFrameSize(); in calculateFrameObjectOffsets()
187 for (unsigned i = 0, e = MFI->getObjectIndexEnd(); i != e; ++i) { in calculateFrameObjectOffsets()
188 if (MFI->isObjectPreAllocated(i) && in calculateFrameObjectOffsets()
189 MFI->getUseLocalStackAllocationBlock()) in calculateFrameObjectOffsets()
191 if (MFI->isDeadObjectIndex(i)) in calculateFrameObjectOffsets()
194 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign); in calculateFrameObjectOffsets()
203 if (MFI->adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets()
204 Offset += MFI->getMaxCallFrameSize(); in calculateFrameObjectOffsets()
212 if (MFI->adjustsStack() || MFI->hasVarSizedObjects() || in calculateFrameObjectOffsets()
213 (RegInfo->needsStackRealignment(Fn) && MFI->getObjectIndexEnd() != 0)) in calculateFrameObjectOffsets()
227 MFI->setStackSize(StackSize); in calculateFrameObjectOffsets()