Lines Matching refs:TFI
175 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in runOnMachineFunction() local
195 TFI->processFunctionBeforeFrameFinalized(Fn, RS); in runOnMachineFunction()
244 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallFrameInfo() local
288 if (TFI->canSimplifyCallFramePseudos(Fn)) in calculateCallFrameInfo()
289 TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I); in calculateCallFrameInfo()
342 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots() local
344 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots()
352 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in assignCalleeSavedSpillSlots()
376 unsigned StackAlign = TFI->getStackAlignment(); in assignCalleeSavedSpillSlots()
473 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in insertCSRSpillsAndRestores() local
480 if (!TFI->spillCalleeSavedRegisters(*SaveBlock, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
510 if (!TFI->restoreCalleeSavedRegisters(*MBB, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
536 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in doSpillCalleeSavedRegs() local
542 TFI->determineCalleeSaves(Fn, SavedRegs, RS); in doSpillCalleeSavedRegs()
702 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() local
706 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
714 int LocalAreaOffset = TFI.getOffsetOfLocalArea(); in calculateFrameObjectOffsets()
722 unsigned Skew = TFI.getStackAlignmentSkew(Fn); in calculateFrameObjectOffsets()
780 bool EarlyScavengingSlots = (TFI.hasFP(Fn) && in calculateFrameObjectOffsets()
781 TFI.isFPCloseToIncomingSP() && in calculateFrameObjectOffsets()
905 TFI.orderFrameObjects(Fn, ObjectsToAllocate); in calculateFrameObjectOffsets()
914 MFI->getStackProtectorIndex() < 0 && TFI.enableStackSlotScavenging(Fn)) in calculateFrameObjectOffsets()
934 if (!TFI.targetHandlesStackFrameRounding()) { in calculateFrameObjectOffsets()
938 if (MFI->adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets()
949 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
951 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
970 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in insertPrologEpilogCode() local
974 TFI.emitPrologue(Fn, *SaveBlock); in insertPrologEpilogCode()
978 TFI.emitEpilogue(Fn, *RestoreBlock); in insertPrologEpilogCode()
981 TFI.inlineStackProbe(Fn, *SaveBlock); in insertPrologEpilogCode()
989 TFI.adjustForSegmentedStacks(Fn, *SaveBlock); in insertPrologEpilogCode()
999 TFI.adjustForHiPEPrologue(Fn, *SaveBlock); in insertPrologEpilogCode()
1006 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in replaceFrameIndices() local
1007 if (!TFI.needsFrameIndexResolution(Fn)) return; in replaceFrameIndices()
1046 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in replaceFrameIndices() local
1061 I = TFI->eliminateCallFramePseudoInstr(Fn, *BB, I); in replaceFrameIndices()
1082 TFI->getFrameIndexReference(Fn, MI.getOperand(0).getIndex(), Reg)); in replaceFrameIndices()
1098 int refOffset = TFI->getFrameIndexReferencePreferSP( in replaceFrameIndices()