/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 49 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/ |
D | AArch64RegisterInfo.cpp | 63 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()
|
D | AArch64ISelDAGToDAG.cpp | 478 SDValue TFI = CurDAG->getTargetFrameIndex(FI, PtrTy); in Select() local 480 TFI, CurDAG->getTargetConstant(0, PtrTy)); in Select()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 42 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()
|
D | MSP430ISelDAGToDAG.cpp | 407 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/ |
D | PrologEpilogInserter.cpp | 75 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 …]
|
D | LocalStackSlotAllocation.cpp | 154 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()
|
D | GCStrategy.cpp | 388 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()
|
D | MachineFunction.cpp | 596 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/ |
D | SystemZRegisterInfo.cpp | 40 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/ |
D | XCoreRegisterInfo.cpp | 74 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/ |
D | ARMBaseRegisterInfo.cpp | 103 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 …]
|
D | ARMFrameLowering.cpp | 1048 const TargetFrameLowering *TFI) { in estimateRSStackSizeLimit() argument 1077 if (TFI->hasFP(MF) && AFI->hasStackFrame()) in estimateRSStackSizeLimit()
|
D | ARMISelDAGToDAG.cpp | 2663 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/ |
D | MipsRegisterInfo.cpp | 60 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()
|
D | Mips16RegisterInfo.cpp | 109 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFI() local 110 if (TFI->hasFP(MF)) { in eliminateFI()
|
/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 218 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 …]
|
D | X86FrameLowering.cpp | 1345 const TargetFrameLowering &TFI = *MF.getTarget().getFrameLowering(); in processFunctionBeforeCalleeSavedScan() local 1350 TFI.getOffsetOfLocalArea() + in processFunctionBeforeCalleeSavedScan()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonRegisterInfo.cpp | 137 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/ |
D | PPCRegisterInfo.cpp | 216 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()
|
D | PPCISelDAGToDAG.cpp | 967 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/ |
D | AMDILISelDAGToDAG.cpp | 167 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/ |
D | AMDILISelDAGToDAG.cpp | 167 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/ |
D | DwarfCompileUnit.cpp | 1621 const TargetFrameLowering *TFI = Asm->TM.getFrameLowering(); in constructVariableDIE() local 1623 TFI->getFrameIndexReference(*Asm->MF, FI, FrameReg); in constructVariableDIE()
|
D | AsmPrinter.cpp | 603 const TargetFrameLowering *TFI = AP.TM.getFrameLowering(); in emitDebugValueComment() local 604 Offset += TFI->getFrameIndexReference(*AP.MF, in emitDebugValueComment()
|