/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 163 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 …]
|
D | LocalStackSlotAllocation.cpp | 187 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()
|
D | GCRootLowering.cpp | 314 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()
|
D | MachineFunction.cpp | 617 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()
|
D | TargetInstrInfo.cpp | 643 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in getSPAdjust() local 645 TFI->getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in getSPAdjust()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 52 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/ |
D | MSP430RegisterInfo.cpp | 40 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()
|
D | MSP430ISelDAGToDAG.cpp | 402 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/ |
D | AArch64RegisterInfo.cpp | 93 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 …]
|
D | AArch64FrameLowering.cpp | 168 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateCallFramePseudoInstr() local 169 if (!TFI->hasReservedCallFrame(MF)) { in eliminateCallFramePseudoInstr()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZRegisterInfo.cpp | 39 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/ |
D | ARMBaseRegisterInfo.cpp | 130 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 …]
|
D | ARMFrameLowering.cpp | 1412 const TargetFrameLowering *TFI) { in estimateRSStackSizeLimit() argument 1441 if (TFI->hasFP(MF) && AFI->hasStackFrame()) in estimateRSStackSizeLimit()
|
D | ARMISelDAGToDAG.cpp | 2513 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/ |
D | XCoreRegisterInfo.cpp | 225 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/ |
D | MipsRegisterInfo.cpp | 66 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()
|
D | Mips16RegisterInfo.cpp | 108 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFI() local 109 if (TFI->hasFP(MF)) { in eliminateFI()
|
/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 205 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/ |
D | BPFISelDAGToDAG.cpp | 137 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/ |
D | HexagonRegisterInfo.cpp | 116 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/ |
D | PPCRegisterInfo.cpp | 260 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()
|
D | PPCISelDAGToDAG.cpp | 405 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/ |
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 | 521 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in constructVariableDIEImpl() local 522 int Offset = TFI->getFrameIndexReference(*Asm->MF, FI, FrameReg); in constructVariableDIEImpl()
|
D | AsmPrinter.cpp | 716 const TargetFrameLowering *TFI = AP.MF->getSubtarget().getFrameLowering(); in emitDebugValueComment() local 717 Offset += TFI->getFrameIndexReference(*AP.MF, in emitDebugValueComment()
|