Lines Matching refs:TFI

163   const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering();  in runOnMachineFunction()  local
177 TFI->processFunctionBeforeCalleeSavedScan(Fn, RS); in runOnMachineFunction()
193 TFI->processFunctionBeforeFrameFinalized(Fn, RS); in runOnMachineFunction()
238 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallsInformation() local
282 if (TFI->canSimplifyCallFramePseudos(Fn)) in calculateCallsInformation()
283 TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I); in calculateCallsInformation()
292 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in calculateCalleeSavedRegisters() local
320 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in calculateCalleeSavedRegisters()
328 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in calculateCalleeSavedRegisters()
353 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters()
390 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in insertCSRSpillsAndRestores() local
396 if (!TFI->spillCalleeSavedRegisters(*EntryBlock, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
429 if (!TFI->restoreCalleeSavedRegisters(*MBB, I, CSI, TRI)) { in insertCSRSpillsAndRestores()
497 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() local
501 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
509 int LocalAreaOffset = TFI.getOffsetOfLocalArea(); in calculateFrameObjectOffsets()
568 bool EarlyScavengingSlots = (TFI.hasFP(Fn) && in calculateFrameObjectOffsets()
569 TFI.isFPCloseToIncomingSP() && in calculateFrameObjectOffsets()
685 if (!TFI.targetHandlesStackFrameRounding()) { in calculateFrameObjectOffsets()
689 if (MFI->adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets()
700 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
702 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
721 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in insertPrologEpilogCode() local
724 TFI.emitPrologue(Fn); in insertPrologEpilogCode()
730 TFI.emitEpilogue(Fn, *I); in insertPrologEpilogCode()
738 TFI.adjustForSegmentedStacks(Fn); in insertPrologEpilogCode()
746 TFI.adjustForHiPEPrologue(Fn); in insertPrologEpilogCode()
753 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in replaceFrameIndices() local
754 if (!TFI.needsFrameIndexResolution(Fn)) return; in replaceFrameIndices()
765 FuncInfo.UnwindHelpFrameOffset = TFI.getFrameIndexReferenceFromSP( in replaceFrameIndices()
772 TFI.getFrameIndexReferenceFromSP(Fn, I->second, FrameReg); in replaceFrameIndices()
812 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in replaceFrameIndices() local
829 TFI->eliminateCallFramePseudoInstr(Fn, *BB, I); in replaceFrameIndices()
854 TFI->getFrameIndexReference( in replaceFrameIndices()
872 TFI->getFrameIndexReferenceFromSP(Fn, MI->getOperand(i).getIndex(), in replaceFrameIndices()