reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/PrologEpilogInserter.cpp
  817   for (int i = MFI.getObjectIndexBegin(); i != 0; ++i) {
  818     if (MFI.getStackID(i) !=
  827       FixedOff = -MFI.getObjectOffset(i);
  831       FixedOff = MFI.getObjectOffset(i) + MFI.getObjectSize(i);
  831       FixedOff = MFI.getObjectOffset(i) + MFI.getObjectSize(i);
  840       if (MFI.getStackID(i) !=
  846       Offset += MFI.getObjectSize(i);
  848       unsigned Align = MFI.getObjectAlignment(i);
  853       MFI.setObjectOffset(i, -Offset);        // Set the computed offset
  858       if (MFI.getStackID(i) !=
  862       if (MFI.isDeadObjectIndex(i))
  865       unsigned Align = MFI.getObjectAlignment(i);
  870       MFI.setObjectOffset(i, Offset);
  871       Offset += MFI.getObjectSize(i);
  878   unsigned MaxAlign = MFI.getMaxAlignment();
  893       AdjustStackOffset(MFI, *I, StackGrowsDown, Offset, MaxAlign, Skew);
  900   if (MFI.getUseLocalStackAllocationBlock()) {
  901     unsigned Align = MFI.getLocalFrameMaxAlign().value();
  909     for (unsigned i = 0, e = MFI.getLocalFrameObjectCount(); i != e; ++i) {
  910       std::pair<int, int64_t> Entry = MFI.getLocalFrameObjectMap(i);
  914       MFI.setObjectOffset(Entry.first, FIOffset);
  917     Offset += MFI.getLocalFrameSize();
  930   if (MFI.hasStackProtectorIndex()) {
  931     int StackProtectorFI = MFI.getStackProtectorIndex();
  940     if (!MFI.getUseLocalStackAllocationBlock())
  941       AdjustStackOffset(MFI, StackProtectorFI, StackGrowsDown, Offset, MaxAlign,
  943     else if (!MFI.isObjectPreAllocated(MFI.getStackProtectorIndex()))
  943     else if (!MFI.isObjectPreAllocated(MFI.getStackProtectorIndex()))
  948     for (unsigned i = 0, e = MFI.getObjectIndexEnd(); i != e; ++i) {
  949       if (MFI.isObjectPreAllocated(i) && MFI.getUseLocalStackAllocationBlock())
  949       if (MFI.isObjectPreAllocated(i) && MFI.getUseLocalStackAllocationBlock())
  955       if (MFI.isDeadObjectIndex(i))
  959       if (MFI.getStackID(i) !=
  963       switch (MFI.getObjectSSPLayout(i)) {
  982     if (MFI.getUseLocalStackAllocationBlock() &&
  988     AssignProtectedObjSet(LargeArrayObjs, ProtectedObjs, MFI, StackGrowsDown,
  990     AssignProtectedObjSet(SmallArrayObjs, ProtectedObjs, MFI, StackGrowsDown,
  992     AssignProtectedObjSet(AddrOfObjs, ProtectedObjs, MFI, StackGrowsDown,
 1000   for (unsigned i = 0, e = MFI.getObjectIndexEnd(); i != e; ++i) {
 1001     if (MFI.isObjectPreAllocated(i) && MFI.getUseLocalStackAllocationBlock())
 1001     if (MFI.isObjectPreAllocated(i) && MFI.getUseLocalStackAllocationBlock())
 1007     if (MFI.isDeadObjectIndex(i))
 1009     if (MFI.getStackProtectorIndex() == (int)i || EHRegNodeFrameIndex == (int)i)
 1013     if (MFI.getStackID(i) !=
 1023     AdjustStackOffset(MFI, EHRegNodeFrameIndex, StackGrowsDown, Offset,
 1038       MFI.getStackProtectorIndex() < 0 && TFI.enableStackSlotScavenging(MF))
 1039     computeFreeStackSlots(MFI, StackGrowsDown, MinCSFrameIndex, MaxCSFrameIndex,
 1044     if (!scavengeStackSlot(MFI, Object, StackGrowsDown, MaxAlign,
 1046       AdjustStackOffset(MFI, Object, StackGrowsDown, Offset, MaxAlign, Skew);
 1055       AdjustStackOffset(MFI, *I, StackGrowsDown, Offset, MaxAlign, Skew);
 1062     if (MFI.adjustsStack() && TFI.hasReservedCallFrame(MF))
 1063       Offset += MFI.getMaxCallFrameSize();
 1071     if (MFI.adjustsStack() || MFI.hasVarSizedObjects() ||
 1071     if (MFI.adjustsStack() || MFI.hasVarSizedObjects() ||
 1072         (RegInfo->needsStackRealignment(MF) && MFI.getObjectIndexEnd() != 0))
 1085   MFI.setStackSize(StackSize);