Lines Matching refs:TFI
219 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction() local
245 TFI->processFunctionBeforeFrameFinalized(MF, RS); in runOnMachineFunction()
264 TFI->processFunctionBeforeFrameIndicesReplaced(MF, RS); in runOnMachineFunction()
304 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in calculateCallFrameInfo() local
348 if (TFI->canSimplifyCallFramePseudos(MF)) in calculateCallFrameInfo()
349 TFI->eliminateCallFramePseudoInstr(MF, *I->getParent(), I); in calculateCallFrameInfo()
402 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots() local
404 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots()
412 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in assignCalleeSavedSpillSlots()
445 Alignment = std::min(Alignment, TFI->getStackAlign()); in assignCalleeSavedSpillSlots()
540 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves() local
544 if (!TFI->spillCalleeSavedRegisters(SaveBlock, I, CSI, TRI)) { in insertCSRSaves()
567 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRRestores() local
574 if (!TFI->restoreCalleeSavedRegisters(RestoreBlock, I, CSI, TRI)) { in insertCSRRestores()
602 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in spillCalleeSavedRegs() local
609 TFI->determineCalleeSaves(MF, SavedRegs, RS); in spillCalleeSavedRegs()
786 const TargetFrameLowering &TFI = *MF.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() local
789 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
797 int LocalAreaOffset = TFI.getOffsetOfLocalArea(); in calculateFrameObjectOffsets()
805 unsigned Skew = TFI.getStackAlignmentSkew(MF); in calculateFrameObjectOffsets()
884 bool EarlyScavengingSlots = (TFI.hasFP(MF) && in calculateFrameObjectOffsets()
885 TFI.isFPCloseToIncomingSP() && in calculateFrameObjectOffsets()
1029 TFI.orderFrameObjects(MF, ObjectsToAllocate); in calculateFrameObjectOffsets()
1038 MFI.getStackProtectorIndex() < 0 && TFI.enableStackSlotScavenging(MF)) in calculateFrameObjectOffsets()
1058 if (!TFI.targetHandlesStackFrameRounding()) { in calculateFrameObjectOffsets()
1062 if (MFI.adjustsStack() && TFI.hasReservedCallFrame(MF)) in calculateFrameObjectOffsets()
1073 StackAlign = TFI.getStackAlign(); in calculateFrameObjectOffsets()
1075 StackAlign = TFI.getTransientStackAlign(); in calculateFrameObjectOffsets()
1093 const TargetFrameLowering &TFI = *MF.getSubtarget().getFrameLowering(); in insertPrologEpilogCode() local
1097 TFI.emitPrologue(MF, *SaveBlock); in insertPrologEpilogCode()
1101 TFI.emitEpilogue(MF, *RestoreBlock); in insertPrologEpilogCode()
1104 TFI.inlineStackProbe(MF, *SaveBlock); in insertPrologEpilogCode()
1112 TFI.adjustForSegmentedStacks(MF, *SaveBlock); in insertPrologEpilogCode()
1126 TFI.adjustForHiPEPrologue(MF, *SaveBlock); in insertPrologEpilogCode()
1133 const TargetFrameLowering &TFI = *ST.getFrameLowering(); in replaceFrameIndices() local
1134 if (!TFI.needsFrameIndexResolution(MF)) in replaceFrameIndices()
1180 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in replaceFrameIndices() local
1191 I = TFI->eliminateCallFramePseudoInstr(MF, *BB, I); in replaceFrameIndices()
1213 TFI->getFrameIndexReference(MF, FrameIdx, Reg); in replaceFrameIndices()
1257 StackOffset refOffset = TFI->getFrameIndexReferencePreferSP( in replaceFrameIndices()