Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp52 const TargetFrameLowering &TFI = *STI.getFrameLowering(); in runOnMachineFunction() local
72 TFI.getFrameIndexReference(MF, MI.getOperand(0).getIndex(), Reg); in runOnMachineFunction()
88 TFI.emitPrologue(MF, MF.front()); in runOnMachineFunction()
93 TFI.emitEpilogue(MF, *I); in runOnMachineFunction()
131 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() local
135 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
143 int LocalAreaOffset = TFI.getOffsetOfLocalArea(); in calculateFrameObjectOffsets()
218 if (!TFI.targetHandlesStackFrameRounding()) { in calculateFrameObjectOffsets()
222 if (MFI.adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets()
233 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp219 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction() local
245 TFI->processFunctionBeforeFrameFinalized(MF, RS); in runOnMachineFunction()
300 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in calculateCallFrameInfo() local
344 if (TFI->canSimplifyCallFramePseudos(MF)) in calculateCallFrameInfo()
345 TFI->eliminateCallFramePseudoInstr(MF, *I->getParent(), I); in calculateCallFrameInfo()
398 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots() local
400 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots()
408 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in assignCalleeSavedSpillSlots()
438 unsigned StackAlign = TFI->getStackAlignment(); in assignCalleeSavedSpillSlots()
538 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves() local
[all …]
DShrinkWrap.cpp168 const TargetFrameLowering *TFI = in getCurrentCSRs() local
171 TFI->determineCalleeSaves(*MachineFunc, SavedRegs, RS); in getCurrentCSRs()
542 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction() local
554 ((TargetCanUseSaveAsPrologue = TFI->canUseAsPrologue(*Save)) && in runOnMachineFunction()
555 TFI->canUseAsEpilogue(*Restore))) in runOnMachineFunction()
593 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in isShrinkWrapEnabled() local
597 return TFI->enableShrinkWrapping(MF) && in isShrinkWrapEnabled()
DMachineFrameInfo.cpp137 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in estimateStackSize() local
165 if (adjustsStack() && TFI->hasReservedCallFrame(MF)) in estimateStackSize()
176 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
178 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
DLocalStackSlotAllocation.cpp194 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() local
196 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets()
292 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in insertFrameReferenceRegisters() local
294 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in insertFrameReferenceRegisters()
DGCRootLowering.cpp291 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in FindStackOffsets() local
292 assert(TFI && "TargetRegisterInfo not available!"); in FindStackOffsets()
302 RI->StackOffset = TFI->getFrameIndexReference(MF, RI->Num, FrameReg); in FindStackOffsets()
DRegUsageInfoCollector.cpp197 const TargetFrameLowering &TFI = *MF.getSubtarget().getFrameLowering(); in computeCalleeSavedRegs() local
202 TFI.getCalleeSaves(MF, SavedRegs); in computeCalleeSavedRegs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp39 const MSP430FrameLowering *TFI = getFrameLowering(*MF); in getCalleeSavedRegs() local
64 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
75 const MSP430FrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
88 if (TFI->hasFP(MF)) { in getReservedRegs()
111 const MSP430FrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local
115 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP); in eliminateFrameIndex()
121 if (!TFI->hasFP(MF)) in eliminateFrameIndex()
158 const MSP430FrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
159 return TFI->hasFP(MF) ? MSP430::FP : MSP430::SP; in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp198 const AArch64FrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
205 if (TFI->hasFP(MF) || TT.isOSDarwin()) in getReservedRegs()
295 const AArch64FrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
296 return TFI->hasFP(MF) ? AArch64::FP : AArch64::SP; in getFrameRegister()
316 const AArch64FrameLowering &TFI = *getFrameLowering(MF); in useFPForScavengingIndex() local
317 return TFI.hasFP(MF); in useFPForScavengingIndex()
361 const AArch64FrameLowering *TFI = getFrameLowering(MF); in needsFrameBaseReg() local
382 if (TFI->hasFP(MF) && isFrameOffsetLegal(MI, AArch64::FP, FPOffset)) in needsFrameBaseReg()
459 const AArch64FrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local
470 TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, in eliminateFrameIndex()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp189 const ARMFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
197 if (TFI->hasFP(MF)) in getReservedRegs()
267 const ARMFrameLowering *TFI = getFrameLowering(MF); in getRegPressureLimit() local
277 ? TFI->hasFP(MF) : true; in getRegPressureLimit()
282 ? TFI->hasFP(MF) : true; in getRegPressureLimit()
382 const ARMFrameLowering *TFI = getFrameLowering(MF); in hasBasePointer() local
387 if (needsStackRealignment(MF) && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
411 if (AFI->isThumb1OnlyFunction() && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
418 const ARMFrameLowering *TFI = getFrameLowering(MF); in canRealignStack() local
430 if (TFI->hasReservedCallFrame(MF)) in canRealignStack()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp194 const X86FrameLowering *TFI = getFrameLowering(MF); in getPointerRegClass() local
195 return TFI->hasFP(MF) && TFI->Uses64BitFramePtr in getPointerRegClass()
262 const X86FrameLowering *TFI = getFrameLowering(MF); in getRegPressureLimit() local
264 unsigned FPDiff = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
521 const X86FrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
544 if (TFI->hasFP(MF)) { in getReservedRegs()
726 const X86FrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local
736 FIOffset = TFI->getFrameIndexReferenceSP(MF, FrameIndex, BasePtr, 0); in eliminateFrameIndex()
737 } else if (TFI->Is64Bit && (MBB.isEHFuncletEntry() || IsEHFuncletEpilogue)) { in eliminateFrameIndex()
738 FIOffset = TFI->getWin64EHFrameIndexRef(MF, FrameIndex, BasePtr); in eliminateFrameIndex()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp69 const RISCVFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
83 if (TFI->hasFP(MF)) in getReservedRegs()
87 if (TFI->hasBP(MF)) in getReservedRegs()
151 const TargetFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
152 return TFI->hasFP(MF) ? RISCV::X8 : RISCV::X2; in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp223 const XCoreFrameLowering *TFI = getFrameLowering(*MF); in getCalleeSavedRegs() local
224 if (TFI->hasFP(*MF)) in getCalleeSavedRegs()
231 const XCoreFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
237 if (TFI->hasFP(MF)) { in getReservedRegs()
271 const XCoreFrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local
307 if (TFI->hasFP(MF)) { in eliminateFrameIndex()
325 const XCoreFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
327 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSILowerSGPRSpills.cpp93 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves() local
97 if (!TFI->spillCalleeSavedRegisters(SaveBlock, I, CSI, TRI)) { in insertCSRSaves()
125 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRRestores() local
133 if (!TFI->restoreCalleeSavedRegisters(RestoreBlock, I, CSI, TRI)) { in insertCSRRestores()
189 const SIFrameLowering *TFI = ST.getFrameLowering(); in spillCalleeSavedRegs() local
195 TFI->determineCalleeSavesSGPR(MF, SavedRegs, RS); in spillCalleeSavedRegs()
DAMDGPURegisterInfo.cpp129 const SIFrameLowering *TFI = in getFrameRegister() local
132 return TFI->hasFP(MF) ? FuncInfo->getFrameOffsetReg() in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp75 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit() local
76 return 28 - TFI->hasFP(MF); in getRegPressureLimit()
283 const TargetFrameLowering *TFI = Subtarget.getFrameLowering(); in getFrameRegister() local
288 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister()
290 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
DMips16RegisterInfo.cpp104 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFI() local
105 if (TFI->hasFP(MF)) { in eliminateFI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCRegisterInfo.cpp175 const ARCFrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local
212 if (!TFI->hasFP(MF)) { in eliminateFrameIndex()
227 const ARCFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
228 return TFI->hasFP(MF) ? ARC::FP : ARC::SP; in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRRegisterInfo.cpp140 const TargetFrameLowering *TFI = TM.getSubtargetImpl()->getFrameLowering(); in eliminateFrameIndex() local
145 Offset += MFI.getStackSize() - TFI->getOffsetOfLocalArea() + 1; in eliminateFrameIndex()
249 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister() local
250 if (TFI->hasFP(MF)) { in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp229 const SystemZFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
231 if (TFI->hasFP(MF)) { in getReservedRegs()
265 const SystemZFrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local
271 int64_t Offset = (TFI->getFrameIndexReference(MF, FrameIndex, BasePtr) + in eliminateFrameIndex()
413 const SystemZFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
414 return TFI->hasFP(MF) ? SystemZ::R11D : SystemZ::R15D; in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVERegisterInfo.cpp97 const VEFrameLowering *TFI = getFrameLowering(MF); in eliminateFrameIndex() local
101 Offset = TFI->getFrameIndexReference(MF, FrameIndex, FrameReg); in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DWinException.cpp338 const TargetFrameLowering &TFI = *Asm->MF->getSubtarget().getFrameLowering(); in getFrameIndexOffset() local
342 TFI.getFrameIndexReferencePreferSP(*Asm->MF, FrameIndex, UnusedReg, in getFrameIndexOffset()
354 int Offset = TFI.getFrameIndexReference(*Asm->MF, FrameIndex, UnusedReg); in getFrameIndexOffset()
816 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in emitCXXFrameHandler3Table() local
817 ParentFrameOffset = TFI->getWinEHParentFrameOffset(*MF); in emitCXXFrameHandler3Table()
952 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in emitEHRegistrationOffsetLabel() local
953 Offset = TFI->getNonLocalFrameIndexReference(*Asm->MF, FI); in emitEHRegistrationOffsetLabel()
1015 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in emitExceptHandlerTable() local
1017 GSCookieOffset = TFI->getFrameIndexReference(*MF, SSPIdx, UnusedReg); in emitExceptHandlerTable()
1025 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in emitExceptHandlerTable() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp139 const WebAssemblyFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
140 return Regs[TFI->hasFP(MF)][TT.isArch64Bit()]; in getFrameRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp274 const PPCFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() local
323 if (TFI->needsFP(MF)) in getReservedRegs()
419 const PPCFrameLowering *TFI = getFrameLowering(MF); in getRegPressureLimit() local
430 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit()
515 const PPCFrameLowering *TFI = getFrameLowering(MF); in lowerDynamicAlloc() local
516 unsigned TargetAlign = TFI->getStackAlignment(); in lowerDynamicAlloc()
1165 const PPCFrameLowering *TFI = getFrameLowering(MF); in getFrameRegister() local
1168 return TFI->hasFP(MF) ? PPC::R31 : PPC::R1; in getFrameRegister()
1170 return TFI->hasFP(MF) ? PPC::X31 : PPC::X1; in getFrameRegister()
1227 const PPCFrameLowering *TFI = getFrameLowering(MF); in needsFrameBaseReg() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelDAGToDAG.cpp320 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in selectFrameIndex() local
323 CurDAG->SelectNodeTo(Node, Opc, VT, TFI, Imm); in selectFrameIndex()
326 ReplaceNode(Node, CurDAG->getMachineNode(Opc, DL, VT, TFI, Imm)); in selectFrameIndex()

123