Home
last modified time | relevance | path

Searched refs:getSubtarget (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenCallingConv.inc48 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).hasQPX()) {
66 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).hasAltivec()) {
78 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).hasP9Vector()) {
128 … if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).useSoftFloat()) {
139 … if (!static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).useSoftFloat()) {
147 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).hasSPE()) {
154 … if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).useSoftFloat()) {
188 if (!static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).hasSPE()) {
200 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).hasSPE()) {
207 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).hasSPE()) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSILowerSGPRSpills.cpp92 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRSaves()
93 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves()
94 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRSaves()
124 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRRestores()
125 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRRestores()
126 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRRestores()
188 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in spillCalleeSavedRegs()
232 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
DGCNIterativeScheduler.cpp110 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printRegions()
134 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printSchedRP()
318 dbgs(), &MF.getSubtarget<GCNSubtarget>()); in schedule()
420 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleRegion()
435 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in sortRegionsByPressure()
452 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in tryMaximizeOccupancy()
489 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleLegacyMaxOccupancy()
543 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleMinReg()
577 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleILP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp49 MipsABIInfo ABI = MF.getSubtarget<MipsSubtarget>().getABI(); in getPointerRegClass()
75 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit()
94 const MipsSubtarget &Subtarget = MF->getSubtarget<MipsSubtarget>(); in getCalleeSavedRegs()
126 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getCallPreservedMask()
160 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getReservedRegs()
282 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getFrameRegister()
305 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in canRealignStack()
DMipsMachineFunction.cpp32 auto &STI = static_cast<const MipsSubtarget &>(MF.getSubtarget()); in getGlobalBaseRegClass()
69 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in initGlobalBaseReg()
151 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createEhDataRegsFI()
169 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createISRRegFI()
193 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in getMoveF64ViaSpillFI()
DMipsSERegisterInfo.cpp110 ->getSubtarget<MipsSubtarget>(); in getLoadStoreOffsetSizeInBits()
157 static_cast<const MipsRegisterInfo *>(MF.getSubtarget().getRegisterInfo()); in eliminateFI()
228 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI()
244 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI()
DMips16RegisterInfo.cpp63 const TargetInstrInfo &TII = *MBB.getParent()->getSubtarget().getInstrInfo(); in saveScavengerRegister()
104 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFI()
138 *static_cast<const Mips16InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp218 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
219 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction()
299 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in calculateCallFrameInfo()
300 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in calculateCallFrameInfo()
388 const TargetRegisterInfo *RegInfo = F.getSubtarget().getRegisterInfo(); in assignCalleeSavedSpillSlots()
398 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots()
537 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRSaves()
538 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves()
539 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRSaves()
564 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRRestores()
[all …]
DRegUsageInfoCollector.cpp103 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
175 MF.getSubtarget().getFrameLowering()->isProfitableForNoCSROpt(F)) { in runOnMachineFunction()
197 const TargetFrameLowering &TFI = *MF.getSubtarget().getFrameLowering(); in computeCalleeSavedRegs()
198 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in computeCalleeSavedRegs()
DMachineFrameInfo.cpp115 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in getPristineRegs()
137 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in estimateStackSize()
138 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in estimateStackSize()
190 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in computeMaxCallFrameSize()
217 const TargetFrameLowering *FI = MF.getSubtarget().getFrameLowering(); in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/
DMipsGenCallingConv.inc117 if (!static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).isLittle()) {
144 if (static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).useSoftFloat()) {
273 if (!static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).isLittle()) {
373 if (!static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).isFP64bit()) {
378 if (static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).isFP64bit()) {
392 if (!static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).isFP64bit()) {
404 if (static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).isFP64bit()) {
405 … if (static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).useOddSPReg()) {
418 if (static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).isFP64bit()) {
419 … if (static_cast<const MipsSubtarget&>(State.getMachineFunction().getSubtarget()).noOddSPReg()) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp48 if (MF->getSubtarget<AArch64Subtarget>().isTargetWindows()) in getCalleeSavedRegs()
64 if (MF->getSubtarget<AArch64Subtarget>().getTargetLowering() in getCalleeSavedRegs()
71 if (MF->getSubtarget<AArch64Subtarget>().isTargetDarwin()) in getCalleeSavedRegs()
93 if (MF.getSubtarget<AArch64Subtarget>().isXRegCustomCalleeSaved(i)) { in UpdateCustomCalleeSavedRegs()
134 if (MF.getSubtarget<AArch64Subtarget>().getTargetLowering() in getCallPreservedMask()
161 if (MF.getSubtarget<AArch64Subtarget>().isXRegCustomCalleeSaved(i)) { in UpdateCustomCallPreservedMask()
209 if (MF.getSubtarget<AArch64Subtarget>().isXRegisterReserved(i)) in getReservedRegs()
417 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in materializeFrameBaseRegister()
442 MF->getSubtarget<AArch64Subtarget>().getInstrInfo(); in resolveFrameIndex()
458 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in eliminateFrameIndex()
[all …]
DAArch64CallLowering.cpp451 auto &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in lowerFormalArguments()
485 auto &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in lowerFormalArguments()
550 auto TRI = MF.getSubtarget<AArch64Subtarget>().getRegisterInfo(); in doCallerAndCalleePassArgsTheSameWay()
553 if (MF.getSubtarget<AArch64Subtarget>().hasCustomCallingConv()) { in doCallerAndCalleePassArgsTheSameWay()
596 auto TRI = MF.getSubtarget<AArch64Subtarget>().getRegisterInfo(); in areCalleeOutgoingArgsTailCallable()
817 auto TRI = MF.getSubtarget<AArch64Subtarget>().getRegisterInfo(); in lowerTailCall()
819 if (MF.getSubtarget<AArch64Subtarget>().hasCustomCallingConv()) in lowerTailCall()
912 MF, *TRI, MRI, *MF.getSubtarget().getInstrInfo(), in lowerTailCall()
913 *MF.getSubtarget().getRegBankInfo(), *MIB, MIB->getDesc(), Info.Callee, in lowerTailCall()
974 auto TRI = MF.getSubtarget<AArch64Subtarget>().getRegisterInfo(); in lowerCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp44 auto &Subtarget = MF->getSubtarget<RISCVSubtarget>(); in getCalleeSavedRegs()
74 if (MF.getSubtarget<RISCVSubtarget>().isRegisterReservedByUser(Reg)) in getReservedRegs()
95 return !MF.getSubtarget<RISCVSubtarget>().isRegisterReservedByUser(PhysReg); in isAsmClobberable()
114 const RISCVInstrInfo *TII = MF.getSubtarget<RISCVSubtarget>().getInstrInfo(); in eliminateFrameIndex()
158 auto &Subtarget = MF.getSubtarget<RISCVSubtarget>(); in getCallPreservedMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp66 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs()
124 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getCallPreservedMask()
147 assert(MF.getSubtarget<ARMSubtarget>().isTargetDarwin() && in getTLSCallPreservedMask()
154 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getSjLjDispatchPreservedMask()
164 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getThisReturnPreservedMask()
188 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getReservedRegs()
242 if (MF.getSubtarget<ARMSubtarget>().hasNEON()) in getLargestLegalSuperClass()
266 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getRegPressureLimit()
426 if (!MRI->canReserveReg(getFramePointerReg(MF.getSubtarget<ARMSubtarget>()))) in canRealignStack()
448 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getFrameRegister()
[all …]
DThumbRegisterInfo.cpp45 if (!MF.getSubtarget<ARMSubtarget>().isThumb1Only()) in getLargestLegalSuperClass()
56 if (!MF.getSubtarget<ARMSubtarget>().isThumb1Only()) in getPointerRegClass()
68 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in emitThumb1LoadConstPool()
88 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitThumb2LoadConstPool()
108 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in emitLoadConstPool()
130 const ARMSubtarget &ST = MF.getSubtarget<ARMSubtarget>(); in emitThumbRegPlusImmInReg()
365 assert(MBB.getParent()->getSubtarget<ARMSubtarget>().isThumb1Only() && in rewriteFrameIndex()
433 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in resolveFrameIndex()
456 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in eliminateFrameIndex()
568 if (MF.getSubtarget<ARMSubtarget>().isThumb1Only()) { in useFPForScavengingIndex()
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
18 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {} in ARMFunctionInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVEFrameLowering.cpp42 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologueInsns()
80 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogueInsns()
112 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPAdjustment()
142 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPExtend()
178 const VESubtarget &Subtarget = MF.getSubtarget<VESubtarget>(); in emitPrologue()
290 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp143 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegs()
200 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegsViaCopy()
225 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getCallPreservedMask()
273 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getReservedRegs()
348 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in requiresFrameIndexScavenging()
395 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in isCallerPreservedPhysReg()
454 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getLargestLegalSuperClass()
502 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAlloc()
621 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAreaOffset()
649 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRSpilling()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreMachineFunctionInfo.cpp39 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createLRSpillSlot()
57 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createFPSpillSlot()
70 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createEHSpillSlot()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenCallingConv.inc172 … if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).isTargetWin64()) {
184 … if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).isTargetWin64()) {
196 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).is64Bit()) {
208 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).is64Bit()) {
274 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).isTargetWin64()) {
279 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).is64Bit()) {
300 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).is64Bit()) {
321 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).isTargetMCU()) {
436 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasSSE2()) {
547 …if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).isTargetDarwin()) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp47 MF.getSubtarget<WebAssemblySubtarget>().getRegisterInfo(); in hasBP()
128 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in writeSPToGlobal()
143 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in eliminateCallFramePseudoInstr()
163 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in emitPrologue()
230 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in emitEpilogue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DInstructionSelect.cpp76 InstructionSelector *ISel = MF.getSubtarget().getInstructionSelector(); in runOnMachineFunction()
185 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
225 auto &TLI = *MF.getSubtarget().getTargetLowering(); in runOnMachineFunction()
251 MF.getSubtarget() in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp84 const SystemZSubtarget &Subtarget = MF.getSubtarget<SystemZSubtarget>(); in getRegAllocationHints()
197 const SystemZSubtarget &Subtarget = MF->getSubtarget<SystemZSubtarget>(); in getCalleeSavedRegs()
203 if (MF->getSubtarget().getTargetLowering()->supportSwiftError() && in getCalleeSavedRegs()
213 const SystemZSubtarget &Subtarget = MF.getSubtarget<SystemZSubtarget>(); in getCallPreservedMask()
219 if (MF.getSubtarget().getTargetLowering()->supportSwiftError() && in getCallPreservedMask()
264 static_cast<const SystemZInstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFrameIndex()
287 MF.getSubtarget<SystemZSubtarget>().hasVector()) { in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp46 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologue()
111 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
191 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
217 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters()
229 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()

12345678910>>...20