Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp49 const TargetFrameLowering &TFI = *TM.getFrameLowering(); in runOnMachineFunction() local
68 TFI.emitPrologue(MF); in runOnMachineFunction()
73 TFI.emitEpilogue(MF, *I); in runOnMachineFunction()
109 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering(); in calculateFrameObjectOffsets() local
113 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
121 int LocalAreaOffset = TFI.getOffsetOfLocalArea(); in calculateFrameObjectOffsets()
196 if (!TFI.targetHandlesStackFrameRounding()) { in calculateFrameObjectOffsets()
200 if (MFI->adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets()
211 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
213 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp63 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
71 if (TFI->hasFP(MF)) { in getReservedRegs()
89 const AArch64FrameLowering *TFI = in eliminateFrameIndex() local
111 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, SPAdj, in eliminateFrameIndex()
158 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
160 if (TFI->hasFP(MF)) in getFrameRegister()
168 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in useFPForScavengingIndex() local
170 = static_cast<const AArch64FrameLowering*>(TFI); in useFPForScavengingIndex()
DAArch64ISelDAGToDAG.cpp478 SDValue TFI = CurDAG->getTargetFrameIndex(FI, PtrTy); in Select() local
480 TFI, CurDAG->getTargetConstant(0, PtrTy)); in Select()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp42 const TargetFrameLowering *TFI = MF->getTarget().getFrameLowering(); in getCalleeSavedRegs() local
67 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
78 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
91 if (TFI->hasFP(MF)) in getReservedRegs()
112 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
116 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW); in eliminateFrameIndex()
122 if (!TFI->hasFP(MF)) in eliminateFrameIndex()
159 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
161 return TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW; in getFrameRegister()
DMSP430ISelDAGToDAG.cpp407 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i16); in Select() local
410 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select()
412 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select()
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp75 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in runOnMachineFunction() local
89 TFI->processFunctionBeforeCalleeSavedScan(Fn, RS); in runOnMachineFunction()
110 TFI->processFunctionBeforeFrameFinalized(Fn, RS); in runOnMachineFunction()
155 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in calculateCallsInformation() local
199 if (TFI->canSimplifyCallFramePseudos(Fn)) in calculateCallsInformation()
200 TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I); in calculateCallsInformation()
209 const TargetFrameLowering *TFI = F.getTarget().getFrameLowering(); in calculateCalleeSavedRegisters() local
243 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in calculateCalleeSavedRegisters()
268 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters()
303 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in insertCSRSpillsAndRestores() local
[all …]
DLocalStackSlotAllocation.cpp154 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering(); in calculateFrameObjectOffsets() local
156 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
222 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering(); in insertFrameReferenceRegisters() local
224 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in insertFrameReferenceRegisters()
DGCStrategy.cpp388 const TargetFrameLowering *TFI = TM->getFrameLowering(); in FindStackOffsets() local
389 assert(TFI && "TargetRegisterInfo not available!"); in FindStackOffsets()
397 RI->StackOffset = TFI->getFrameIndexOffset(MF, RI->Num); in FindStackOffsets()
DMachineFunction.cpp596 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in estimateStackSize() local
620 if (adjustsStack() && TFI->hasReservedCallFrame(MF)) in estimateStackSize()
631 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
633 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp40 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
42 if (TFI->hasFP(MF)) { in getReservedRegs()
66 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
72 int64_t Offset = (TFI->getFrameIndexOffset(MF, FrameIndex) + in eliminateFrameIndex()
137 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
138 return TFI->hasFP(MF) ? SystemZ::R11D : SystemZ::R15D; in getFrameRegister()
/external/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp74 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
80 if (TFI->hasFP(MF)) { in getReservedRegs()
88 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in requiresRegisterScavenging() local
91 return TFI->hasFP(MF); in requiresRegisterScavenging()
116 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
151 bool FP = TFI->hasFP(MF); in eliminateFrameIndex()
258 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
260 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp103 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
111 if (TFI->hasFP(MF)) in getReservedRegs()
169 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local
175 return TFI->hasFP(MF) ? 4 : 5; in getRegPressureLimit()
177 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
291 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in hasBasePointer() local
296 if (needsStackRealignment(MF) && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
367 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
369 if (TFI->hasFP(MF)) in getFrameRegister()
514 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in needsFrameBaseReg() local
[all …]
DARMFrameLowering.cpp1048 const TargetFrameLowering *TFI) { in estimateRSStackSizeLimit() argument
1077 if (TFI->hasFP(MF) && AFI->hasStackFrame()) in estimateRSStackSizeLimit()
DARMISelDAGToDAG.cpp2663 SDValue TFI = CurDAG->getTargetFrameIndex(FI, in Select() local
2666 SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, MVT::i32), in Select()
2672 SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, MVT::i32), in Select()
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp60 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local
61 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
210 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
214 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
216 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
DMips16RegisterInfo.cpp109 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFI() local
110 if (TFI->hasFP(MF)) { in eliminateFI()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp218 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local
220 unsigned FPDiff = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
315 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
328 if (TFI->hasFP(MF)) { in getReservedRegs()
450 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in hasReservedSpillSlot() local
452 if (Reg == FramePtr && TFI->hasFP(MF)) { in hasReservedSpillSlot()
467 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
480 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
491 FIOffset = MFI->getObjectOffset(FrameIndex) - TFI->getOffsetOfLocalArea(); in eliminateFrameIndex()
493 FIOffset = TFI->getFrameIndexOffset(MF, FrameIndex); in eliminateFrameIndex()
[all …]
DX86FrameLowering.cpp1345 const TargetFrameLowering &TFI = *MF.getTarget().getFrameLowering(); in processFunctionBeforeCalleeSavedScan() local
1350 TFI.getOffsetOfLocalArea() + in processFunctionBeforeCalleeSavedScan()
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp137 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
138 if (!TFI->hasFP(MF)) { in eliminateFrameIndex()
282 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
283 if (TFI->hasFP(MF)) { in getFrameRegister()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp216 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local
226 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
684 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
687 return TFI->hasFP(MF) ? PPC::R31 : PPC::R1; in getFrameRegister()
689 return TFI->hasFP(MF) ? PPC::X31 : PPC::X1; in getFrameRegister()
DPPCISelDAGToDAG.cpp967 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0)); in Select() local
970 return CurDAG->SelectNodeTo(N, Opc, N->getValueType(0), TFI, in Select()
972 return CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI, in Select()
/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/chromium_org/third_party/mesa/src/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.cpp1621 const TargetFrameLowering *TFI = Asm->TM.getFrameLowering(); in constructVariableDIE() local
1623 TFI->getFrameIndexReference(*Asm->MF, FI, FrameReg); in constructVariableDIE()
DAsmPrinter.cpp603 const TargetFrameLowering *TFI = AP.TM.getFrameLowering(); in emitDebugValueComment() local
604 Offset += TFI->getFrameIndexReference(*AP.MF, in emitDebugValueComment()

12