/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 52 const TargetFrameLowering &TFI = *STI.getFrameLowering(); in runOnMachineFunction() local 71 TFI.emitPrologue(MF, MF.front()); 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/CodeGen/ |
D | PrologEpilogInserter.cpp | 169 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in runOnMachineFunction() local 183 TFI->determineCalleeSaves(Fn, SavedRegs, RS); in runOnMachineFunction() 198 TFI->processFunctionBeforeFrameFinalized(Fn, RS); in runOnMachineFunction() 244 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallsInformation() local 288 if (TFI->canSimplifyCallFramePseudos(Fn)) in calculateCallsInformation() 289 TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I); in calculateCallsInformation() 312 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots() local 314 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots() 322 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in assignCalleeSavedSpillSlots() 347 unsigned StackAlign = TFI->getStackAlignment(); in assignCalleeSavedSpillSlots() [all …]
|
D | ShrinkWrap.cpp | 139 const TargetFrameLowering *TFI = in getCurrentCSRs() local 142 TFI->determineCalleeSaves(*MachineFunc, SavedRegs, RS); in getCurrentCSRs() 439 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction() local 450 ((TargetCanUseSaveAsPrologue = TFI->canUseAsPrologue(*Save)) && in runOnMachineFunction() 451 TFI->canUseAsEpilogue(*Restore))) in runOnMachineFunction() 487 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in isShrinkWrapEnabled() local 491 return TFI->enableShrinkWrapping(MF) && in isShrinkWrapEnabled()
|
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() 325 RI->StackOffset = TFI->getFrameIndexReference(MF, RI->Num, FrameReg); in FindStackOffsets()
|
D | TargetRegisterInfo.cpp | 378 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in needsStackRealignment() local 380 unsigned StackAlign = TFI->getStackAlignment(); in needsStackRealignment()
|
D | MachineFunction.cpp | 631 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in estimateStackSize() local 655 if (adjustsStack() && TFI->hasReservedCallFrame(MF)) in estimateStackSize() 666 StackAlign = TFI->getStackAlignment(); in estimateStackSize() 668 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyPEI.cpp | 183 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in runOnMachineFunction() local 198 TFI->determineCalleeSaves(Fn, SavedRegs, RS); in runOnMachineFunction() 213 TFI->processFunctionBeforeFrameFinalized(Fn, RS); in runOnMachineFunction() 260 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallsInformation() local 304 if (TFI->canSimplifyCallFramePseudos(Fn)) in calculateCallsInformation() 305 TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I); in calculateCallsInformation() 328 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots() local 330 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots() 338 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in assignCalleeSavedSpillSlots() 363 unsigned StackAlign = TFI->getStackAlignment(); in assignCalleeSavedSpillSlots() [all …]
|
D | WebAssemblyRegisterInfo.cpp | 94 const WebAssemblyFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local 95 return Regs[TFI->hasFP(MF)][TT.isArch64Bit()]; in getFrameRegister()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 40 const MSP430FrameLowering *TFI = getFrameLowering(*MF); in getCalleeSavedRegs() local 65 if (TFI->hasFP(*MF)) in getCalleeSavedRegs() 76 const MSP430FrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local 89 if (TFI->hasFP(MF)) { in getReservedRegs() 112 const MSP430FrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local 116 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex() 122 if (!TFI->hasFP(MF)) in eliminateFrameIndex() 159 const MSP430FrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local 160 return TFI->hasFP(MF) ? MSP430::FP : MSP430::SP; in getFrameRegister()
|
D | MSP430ISelDAGToDAG.cpp | 403 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i16); in Select() local 405 return CurDAG->SelectNodeTo(Node, MSP430::ADD16ri, MVT::i16, TFI, in Select() 407 return CurDAG->getMachineNode(MSP430::ADD16ri, dl, MVT::i16, TFI, in Select()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 105 const AArch64FrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local 114 if (TFI->hasFP(MF) || TT.isOSDarwin()) { in getReservedRegs() 134 const AArch64FrameLowering *TFI = getFrameLowering(MF); in isReservedReg() local 149 return TFI->hasFP(MF) || TT.isOSDarwin(); in isReservedReg() 203 const AArch64FrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local 204 return TFI->hasFP(MF) ? AArch64::FP : AArch64::SP; in getFrameRegister() 269 const AArch64FrameLowering *TFI = getFrameLowering(MF); in needsFrameBaseReg() local 290 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg() 365 const AArch64FrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local 374 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, in eliminateFrameIndex() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZRegisterInfo.cpp | 39 const SystemZFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local 41 if (TFI->hasFP(MF)) { in getReservedRegs() 67 const SystemZFrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local 73 int64_t Offset = (TFI->getFrameIndexReference(MF, FrameIndex, BasePtr) + in eliminateFrameIndex() 138 const SystemZFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local 139 return TFI->hasFP(MF) ? SystemZ::R11D : SystemZ::R15D; in getFrameRegister()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 130 const ARMFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local 138 if (TFI->hasFP(MF)) in getReservedRegs() 197 const ARMFrameLowering *TFI = getFrameLowering(MF); in getRegPressureLimit() local 203 return TFI->hasFP(MF) ? 4 : 5; in getRegPressureLimit() 205 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit() 306 const ARMFrameLowering *TFI = getFrameLowering(MF); in hasBasePointer() local 311 if (needsStackRealignment(MF) && !TFI->hasReservedCallFrame(MF)) in hasBasePointer() 337 const ARMFrameLowering *TFI = getFrameLowering(MF); in canRealignStack() local 352 if (TFI->hasReservedCallFrame(MF)) in canRealignStack() 371 const ARMFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreRegisterInfo.cpp | 225 const XCoreFrameLowering *TFI = getFrameLowering(*MF); in getCalleeSavedRegs() local 226 if (TFI->hasFP(*MF)) in getCalleeSavedRegs() 233 const XCoreFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local 239 if (TFI->hasFP(MF)) { in getReservedRegs() 273 const XCoreFrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local 309 if (TFI->hasFP(MF)) { in eliminateFrameIndex() 327 const XCoreFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local 329 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
|
/external/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.cpp | 67 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit() local 68 return 28 - TFI->hasFP(MF); in getRegPressureLimit() 285 const TargetFrameLowering *TFI = Subtarget.getFrameLowering(); in getFrameRegister() local 290 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister() 292 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/BPF/ |
D | BPFISelDAGToDAG.cpp | 157 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in Select() local 160 return CurDAG->SelectNodeTo(Node, Opc, VT, TFI); in Select() 161 return CurDAG->getMachineNode(Opc, SDLoc(Node), VT, TFI); in Select()
|
/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 212 const X86FrameLowering *TFI = getFrameLowering(MF); in getRegPressureLimit() local 214 unsigned FPDiff = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit() 395 const X86FrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local 408 if (TFI->hasFP(MF)) { in getReservedRegs() 542 const X86FrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local 557 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex() 568 Offset = TFI->getFrameIndexReference(MF, FrameIndex, IgnoredFrameReg); in eliminateFrameIndex() 588 FIOffset = MFI->getObjectOffset(FrameIndex) - TFI->getOffsetOfLocalArea(); in eliminateFrameIndex() 590 FIOffset = TFI->getFrameIndexReference(MF, FrameIndex, IgnoredFrameReg); in eliminateFrameIndex() 620 const X86FrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 168 const PPCFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local 211 if (TFI->needsFP(MF)) in getReservedRegs() 232 if (TFI->needsFP(MF)) in getReservedRegs() 258 const PPCFrameLowering *TFI = getFrameLowering(MF); in getRegPressureLimit() local 268 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit() 342 const PPCFrameLowering *TFI = getFrameLowering(MF); in lowerDynamicAlloc() local 343 unsigned TargetAlign = TFI->getStackAlignment(); in lowerDynamicAlloc() 894 const PPCFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local 897 return TFI->hasFP(MF) ? PPC::R31 : PPC::R1; in getFrameRegister() 899 return TFI->hasFP(MF) ? PPC::X31 : PPC::X1; in getFrameRegister() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonRegisterInfo.cpp | 174 const HexagonFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local 175 if (TFI->hasFP(MF)) in getFrameRegister()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | WinException.cpp | 304 const TargetFrameLowering &TFI = *Asm->MF->getSubtarget().getFrameLowering(); in getFrameIndexOffset() local 307 return TFI.getFrameIndexReferenceFromSP(*Asm->MF, FrameIndex, UnusedReg); in getFrameIndexOffset() 311 int Offset = TFI.getFrameIndexReference(*Asm->MF, FrameIndex, UnusedReg); in getFrameIndexOffset() 715 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in emitCXXFrameHandler3Table() local 716 ParentFrameOffset = TFI->getWinEHParentFrameOffset(*MF); in emitCXXFrameHandler3Table() 834 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in emitEHRegistrationOffsetLabel() local 835 int64_t Offset = TFI->getFrameIndexReference( in emitEHRegistrationOffsetLabel()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcRegisterInfo.cpp | 175 const SparcFrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local 179 Offset = TFI->getFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 90 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in set() local 111 unsigned StackAlign = TFI->getStackAlignment(); in set() 117 (TFI->isStackRealignable() || (Align <= StackAlign))) { in set()
|
/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()
|