Home
last modified time | relevance | path

Searched refs:TFI (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp163 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()
[all …]
DLocalStackSlotAllocation.cpp187 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() local
189 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
278 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in insertFrameReferenceRegisters() local
280 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in insertFrameReferenceRegisters()
DGCRootLowering.cpp314 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in FindStackOffsets() local
315 assert(TFI && "TargetRegisterInfo not available!"); in FindStackOffsets()
323 RI->StackOffset = TFI->getFrameIndexOffset(MF, RI->Num); in FindStackOffsets()
DMachineFunction.cpp617 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in estimateStackSize() local
641 if (adjustsStack() && TFI->hasReservedCallFrame(MF)) in estimateStackSize()
652 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
654 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
DTargetInstrInfo.cpp643 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in getSPAdjust() local
645 TFI->getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in getSPAdjust()
/external/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp52 const TargetFrameLowering &TFI = *STI.getFrameLowering(); in runOnMachineFunction() local
71 TFI.emitPrologue(MF); in runOnMachineFunction()
76 TFI.emitEpilogue(MF, *I); in runOnMachineFunction()
112 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() local
116 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
124 int LocalAreaOffset = TFI.getOffsetOfLocalArea(); in calculateFrameObjectOffsets()
199 if (!TFI.targetHandlesStackFrameRounding()) { in calculateFrameObjectOffsets()
203 if (MFI->adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets()
214 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
216 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp40 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in getCalleeSavedRegs() local
65 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
76 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs() local
89 if (TFI->hasFP(MF)) { in getReservedRegs()
112 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex() local
116 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex()
122 if (!TFI->hasFP(MF)) in eliminateFrameIndex()
159 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister() local
161 return TFI->hasFP(MF) ? MSP430::FP : MSP430::SP; in getFrameRegister()
DMSP430ISelDAGToDAG.cpp402 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i16); in Select() local
405 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select()
407 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp93 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs() local
102 if (TFI->hasFP(MF) || TT.isOSDarwin()) { in getReservedRegs()
122 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in isReservedReg() local
137 return TFI->hasFP(MF) || TT.isOSDarwin(); in isReservedReg()
216 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister() local
218 return TFI->hasFP(MF) ? AArch64::FP : AArch64::SP; in getFrameRegister()
283 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in needsFrameBaseReg() local
304 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
379 const AArch64FrameLowering *TFI = static_cast<const AArch64FrameLowering *>( in eliminateFrameIndex() local
389 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, in eliminateFrameIndex()
[all …]
DAArch64FrameLowering.cpp168 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateCallFramePseudoInstr() local
169 if (!TFI->hasReservedCallFrame(MF)) { in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp39 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs() local
41 if (TFI->hasFP(MF)) { in getReservedRegs()
67 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex() local
73 int64_t Offset = (TFI->getFrameIndexOffset(MF, FrameIndex) + in eliminateFrameIndex()
138 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister() local
139 return TFI->hasFP(MF) ? SystemZ::R11D : SystemZ::R15D; in getFrameRegister()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp130 const TargetFrameLowering *TFI = STI.getFrameLowering(); in getReservedRegs() local
138 if (TFI->hasFP(MF)) in getReservedRegs()
197 const TargetFrameLowering *TFI = STI.getFrameLowering(); in getRegPressureLimit() local
203 return TFI->hasFP(MF) ? 4 : 5; in getRegPressureLimit()
205 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
305 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in hasBasePointer() local
310 if (needsStackRealignment(MF) && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
381 const TargetFrameLowering *TFI = STI.getFrameLowering(); in getFrameRegister() local
383 if (TFI->hasFP(MF)) in getFrameRegister()
520 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in needsFrameBaseReg() local
[all …]
DARMFrameLowering.cpp1412 const TargetFrameLowering *TFI) { in estimateRSStackSizeLimit() argument
1441 if (TFI->hasFP(MF) && AFI->hasStackFrame()) in estimateRSStackSizeLimit()
DARMISelDAGToDAG.cpp2513 SDValue TFI = CurDAG->getTargetFrameIndex(FI, TLI->getPointerTy()); in Select() local
2520 return CurDAG->SelectNodeTo(N, ARM::tADDframe, MVT::i32, TFI, in Select()
2525 SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, MVT::i32), in Select()
/external/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp225 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in getCalleeSavedRegs() local
226 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
233 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs() local
239 if (TFI->hasFP(MF)) { in getReservedRegs()
273 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex() local
309 if (TFI->hasFP(MF)) { in eliminateFrameIndex()
327 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister() local
329 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp66 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit() local
67 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
265 const TargetFrameLowering *TFI = Subtarget.getFrameLowering(); in getFrameRegister() local
270 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
272 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
DMips16RegisterInfo.cpp108 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFI() local
109 if (TFI->hasFP(MF)) { in eliminateFI()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp205 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit() local
207 unsigned FPDiff = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
346 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs() local
359 if (TFI->hasFP(MF)) { in getReservedRegs()
490 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex() local
503 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
515 Offset = static_cast<const X86FrameLowering *>(TFI) in eliminateFrameIndex()
518 Offset = TFI->getFrameIndexOffset(MF, FrameIndex); in eliminateFrameIndex()
538 FIOffset = MFI->getObjectOffset(FrameIndex) - TFI->getOffsetOfLocalArea(); in eliminateFrameIndex()
540 FIOffset = TFI->getFrameIndexOffset(MF, FrameIndex); in eliminateFrameIndex()
[all …]
/external/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp137 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in Select() local
140 return CurDAG->SelectNodeTo(Node, Opc, VT, TFI); in Select()
141 return CurDAG->getMachineNode(Opc, SDLoc(Node), VT, TFI); in Select()
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp116 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex() local
117 if (!TFI->hasFP(MF)) { in eliminateFrameIndex()
230 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister() local
231 if (TFI->hasFP(MF)) { in getFrameRegister()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp260 const TargetFrameLowering *TFI = Subtarget.getFrameLowering(); in getRegPressureLimit() local
270 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
865 const TargetFrameLowering *TFI = Subtarget.getFrameLowering(); in getFrameRegister() local
868 return TFI->hasFP(MF) ? PPC::R31 : PPC::R1; in getFrameRegister()
870 return TFI->hasFP(MF) ? PPC::X31 : PPC::X1; in getFrameRegister()
DPPCISelDAGToDAG.cpp405 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0)); in getFrameIndex() local
408 return CurDAG->SelectNodeTo(SN, Opc, N->getValueType(0), TFI, in getFrameIndex()
410 return CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI, in getFrameIndex()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelDAGToDAG.cpp167 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i32); in Select() local
168 return CurDAG->SelectNodeTo(N, NewOpc, OpVT, TFI); in Select()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp521 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in constructVariableDIEImpl() local
522 int Offset = TFI->getFrameIndexReference(*Asm->MF, FI, FrameReg); in constructVariableDIEImpl()
DAsmPrinter.cpp716 const TargetFrameLowering *TFI = AP.MF->getSubtarget().getFrameLowering(); in emitDebugValueComment() local
717 Offset += TFI->getFrameIndexReference(*AP.MF, in emitDebugValueComment()

12