Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp69 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in runOnMachineFunction() local
83 TFI->processFunctionBeforeCalleeSavedScan(Fn, RS); in runOnMachineFunction()
104 TFI->processFunctionBeforeFrameFinalized(Fn, RS); in runOnMachineFunction()
142 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in calculateCallsInformation() local
186 if (TFI->canSimplifyCallFramePseudos(Fn)) in calculateCallsInformation()
187 TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I); in calculateCallsInformation()
196 const TargetFrameLowering *TFI = F.getTarget().getFrameLowering(); in calculateCalleeSavedRegisters() local
229 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in calculateCalleeSavedRegisters()
254 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters()
289 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in insertCSRSpillsAndRestores() local
[all …]
DMachineFunction.cpp462 if (!TFI.isStackRealignable() || !RealignOption) in ensureMaxAlignment()
463 assert(Align <= TFI.getStackAlignment() && in ensureMaxAlignment()
485 Alignment = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateStackObject()
486 Alignment, TFI.getStackAlignment()); in CreateStackObject()
501 Alignment = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateSpillStackObject()
502 Alignment, TFI.getStackAlignment()); in CreateSpillStackObject()
516 Alignment = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateVariableSizedObject()
517 Alignment, TFI.getStackAlignment()); in CreateVariableSizedObject()
535 unsigned StackAlign = TFI.getStackAlignment(); in CreateFixedObject()
537 Align = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateFixedObject()
[all …]
DLocalStackSlotAllocation.cpp151 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering(); in calculateFrameObjectOffsets() local
153 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
226 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering(); in insertFrameReferenceRegisters() local
228 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()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp64 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
72 if (TFI->hasFP(MF)) { in getReservedRegs()
90 const AArch64FrameLowering *TFI = in eliminateFrameIndex() local
112 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, SPAdj, in eliminateFrameIndex()
157 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
159 if (TFI->hasFP(MF)) in getFrameRegister()
167 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in useFPForScavengingIndex() local
169 = static_cast<const AArch64FrameLowering*>(TFI); in useFPForScavengingIndex()
DAArch64ISelDAGToDAG.cpp334 SDValue TFI = CurDAG->getTargetFrameIndex(FI, PtrTy); in Select() local
336 TFI, CurDAG->getTargetConstant(0, PtrTy)); in Select()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp43 const TargetFrameLowering *TFI = MF->getTarget().getFrameLowering(); in getCalleeSavedRegs() local
68 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
79 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
92 if (TFI->hasFP(MF)) in getReservedRegs()
113 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
117 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW); in eliminateFrameIndex()
123 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.cpp406 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i16); in Select() local
409 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select()
411 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select()
/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()
115 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
150 bool FP = TFI->hasFP(MF); in eliminateFrameIndex()
256 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
258 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp84 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
91 if (TFI->hasFP(MF)) in getReservedRegs()
149 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local
155 return TFI->hasFP(MF) ? 4 : 5; in getRegPressureLimit()
157 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
271 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in hasBasePointer() local
276 if (needsStackRealignment(MF) && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
347 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
349 if (TFI->hasFP(MF)) in getFrameRegister()
493 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in needsFrameBaseReg() local
[all …]
DARMFrameLowering.cpp1046 const TargetFrameLowering *TFI) { in estimateRSStackSizeLimit() argument
1075 if (TFI->hasFP(MF) && AFI->hasStackFrame()) in estimateRSStackSizeLimit()
DARMISelDAGToDAG.cpp2624 SDValue TFI = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy()); in Select() local
2626 SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, MVT::i32), in Select()
2632 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()
200 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
204 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
206 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
DMips16RegisterInfo.cpp104 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFI() local
105 if (TFI->hasFP(MF)) { in eliminateFI()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp219 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local
221 unsigned FPDiff = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
306 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local
319 if (TFI->hasFP(MF)) { in getReservedRegs()
445 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in hasReservedSpillSlot() local
447 if (Reg == FramePtr && TFI->hasFP(MF)) { in hasReservedSpillSlot()
462 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
475 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
486 FIOffset = MFI->getObjectOffset(FrameIndex) - TFI->getOffsetOfLocalArea(); in eliminateFrameIndex()
488 FIOffset = TFI->getFrameIndexOffset(MF, FrameIndex); in eliminateFrameIndex()
[all …]
DX86FrameLowering.cpp1360 const TargetFrameLowering &TFI = *MF.getTarget().getFrameLowering(); in processFunctionBeforeCalleeSavedScan() local
1365 TFI.getOffsetOfLocalArea() + in processFunctionBeforeCalleeSavedScan()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp146 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local
154 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
391 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
428 MI.getOperand(FIOperandNum).ChangeToRegister(TFI->hasFP(MF) ? in eliminateFrameIndex()
533 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
536 return TFI->hasFP(MF) ? PPC::R31 : PPC::R1; in getFrameRegister()
538 return TFI->hasFP(MF) ? PPC::X31 : PPC::X1; in getFrameRegister()
DPPCISelDAGToDAG.cpp992 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0)); in Select() local
995 return CurDAG->SelectNodeTo(N, Opc, N->getValueType(0), TFI, in Select()
997 return CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI, in Select()
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp136 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local
137 if (!TFI->hasFP(MF)) { in eliminateFrameIndex()
268 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
269 if (TFI->hasFP(MF)) { in getFrameRegister()
/external/llvm/lib/Target/MBlaze/
DMBlazeRegisterInfo.cpp134 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local
136 return TFI->hasFP(MF) ? MBlaze::R19 : MBlaze::R1; in getFrameRegister()
DMBlazeISelDAGToDAG.cpp212 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in Select() local
215 return CurDAG->SelectNodeTo(Node, Opc, VT, TFI, imm); in Select()
216 return CurDAG->getMachineNode(Opc, dl, VT, TFI, imm); in Select()
DMBlazeAsmPrinter.cpp126 const TargetFrameLowering *TFI = TM.getFrameLowering(); in printSavedRegsBitmask() local
143 if (TFI->hasFP(*MF)) in printSavedRegsBitmask()
DMBlazeISelLowering.cpp708 const TargetFrameLowering &TFI = *MF.getTarget().getFrameLowering(); in LowerCall() local
778 if (needsRegArgSlots && TFI.hasReservedCallFrame(MF)) in LowerCall()
/external/llvm/include/llvm/CodeGen/
DMachineFrameInfo.h206 const TargetFrameLowering &TFI; variable
228 : TFI(tfi), RealignOption(RealignOpt) { in MachineFrameInfo()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp1535 const TargetFrameLowering *TFI = Asm->TM.getFrameLowering(); in constructVariableDIE() local
1537 TFI->getFrameIndexReference(*Asm->MF, in constructVariableDIE()
1578 const TargetFrameLowering *TFI = Asm->TM.getFrameLowering(); in constructVariableDIE() local
1580 TFI->getFrameIndexReference(*Asm->MF, FI, FrameReg); in constructVariableDIE()

12