• Home
  • Raw
  • Download

Lines Matching refs:MFI

101 static inline void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx,  in AdjustStackOffset()  argument
106 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
108 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset()
120 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
124 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
125 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
138 MachineFrameInfo &MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() local
155 for (int i = MFI.getObjectIndexBegin(); i != 0; ++i) { in calculateFrameObjectOffsets()
161 FixedOff = -MFI.getObjectOffset(i); in calculateFrameObjectOffsets()
165 FixedOff = MFI.getObjectOffset(i) + MFI.getObjectSize(i); in calculateFrameObjectOffsets()
172 Align MaxAlign = MFI.getMaxAlign(); in calculateFrameObjectOffsets()
180 if (MFI.getUseLocalStackAllocationBlock()) { in calculateFrameObjectOffsets()
181 Align Alignment = MFI.getLocalFrameMaxAlign(); in calculateFrameObjectOffsets()
189 for (unsigned i = 0, e = MFI.getLocalFrameObjectCount(); i != e; ++i) { in calculateFrameObjectOffsets()
190 std::pair<int, int64_t> Entry = MFI.getLocalFrameObjectMap(i); in calculateFrameObjectOffsets()
194 MFI.setObjectOffset(Entry.first, FIOffset); in calculateFrameObjectOffsets()
197 Offset += MFI.getLocalFrameSize(); in calculateFrameObjectOffsets()
206 for (unsigned i = 0, e = MFI.getObjectIndexEnd(); i != e; ++i) { in calculateFrameObjectOffsets()
207 if (MFI.isObjectPreAllocated(i) && in calculateFrameObjectOffsets()
208 MFI.getUseLocalStackAllocationBlock()) in calculateFrameObjectOffsets()
210 if (MFI.isDeadObjectIndex(i)) in calculateFrameObjectOffsets()
213 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign); in calculateFrameObjectOffsets()
222 if (MFI.adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets()
223 Offset += MFI.getMaxCallFrameSize(); in calculateFrameObjectOffsets()
231 if (MFI.adjustsStack() || MFI.hasVarSizedObjects() || in calculateFrameObjectOffsets()
232 (RegInfo->needsStackRealignment(Fn) && MFI.getObjectIndexEnd() != 0)) in calculateFrameObjectOffsets()
244 MFI.setStackSize(StackSize); in calculateFrameObjectOffsets()