Home
last modified time | relevance | path

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

12345678910>>...26

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp72 *MF.getSubtarget<WebAssemblySubtarget>().getTargetLowering(); in getLocalForStackObject()
95 MF.getSubtarget<WebAssemblySubtarget>().getRegisterInfo(); in hasBP()
182 return MF.getSubtarget<WebAssemblySubtarget>().hasAddr64() in getFPReg()
188 return MF.getSubtarget<WebAssemblySubtarget>().hasAddr64() in getOpcConst()
195 return MF.getSubtarget<WebAssemblySubtarget>().hasAddr64() in getOpcAdd()
201 return MF.getSubtarget<WebAssemblySubtarget>().hasAddr64() in getOpcSub()
207 return MF.getSubtarget<WebAssemblySubtarget>().hasAddr64() in getOpcAnd()
213 return MF.getSubtarget<WebAssemblySubtarget>().hasAddr64() in getOpcGlobGet()
220 return MF.getSubtarget<WebAssemblySubtarget>().hasAddr64() in getOpcGlobSet()
227 return MF.getSubtarget<WebAssemblySubtarge in writeSPToGlobal()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp88 if (MF->getSubtarget<AArch64Subtarget>().isTargetDarwin()) in getCalleeSavedRegs()
93 if (MF->getSubtarget<AArch64Subtarget>().isTargetWindows()) { in getCalleeSavedRegs()
94 if (MF->getSubtarget<AArch64Subtarget>().getTargetLowering() in getCalleeSavedRegs()
128 if (MF->getSubtarget<AArch64Subtarget>().getTargetLowering() in getCalleeSavedRegs()
151 assert(MF->getSubtarget<AArch64Subtarget>().isTargetDarwin() && in getDarwinCalleeSavedRegs()
187 if (MF->getSubtarget<AArch64Subtarget>().getTargetLowering() in getDarwinCalleeSavedRegs()
220 if (MF.getSubtarget<AArch64Subtarget>().isXRegCustomCalleeSaved(i)) { in UpdateCustomCalleeSavedRegs()
245 assert(MF.getSubtarget<AArch64Subtarget>().isTargetDarwin() && in getDarwinCallPreservedMask()
264 if (MF.getSubtarget<AArch64Subtarget>() in getDarwinCallPreservedMask()
292 if (MF.getSubtarget<AArch64Subtarget>().isTargetDarwin()) { in getCallPreservedMask()
[all …]
H A DAArch64SLSHardening.cpp142 ComdatThunks &= !MF.getSubtarget<AArch64Subtarget>().hardenSlsNoComdat(); in mayUseThunk()
145 return MF.getSubtarget<AArch64Subtarget>().hardenSlsBlr() || in mayUseThunk()
146 MF.getSubtarget<AArch64Subtarget>().hardenSlsRetBr(); in mayUseThunk()
246 const AArch64Subtarget *ST = &MF.getSubtarget<AArch64Subtarget>(); in insertThunks()
260 &MBB.getParent()->getSubtarget<AArch64Subtarget>(); in hardenReturnsAndBRs()
336 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in populateThunk()
379 insertSpeculationBarrier(&MF.getSubtarget<AArch64Subtarget>(), *Entry, in populateThunk()
437 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in convertBLRToBL()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPrologEpilogInserter.cpp224 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
225 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction()
358 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in calculateCallFrameInfo()
359 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in calculateCallFrameInfo()
435 const TargetRegisterInfo *RegInfo = F.getSubtarget().getRegisterInfo(); in assignCalleeSavedSpillSlots()
461 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots()
598 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRSaves()
599 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves()
600 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRSaves()
625 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRRestores()
[all …]
H A DTargetFrameLoweringImpl.cpp52 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getFrameIndexReference()
85 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in getCalleeSaves()
99 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves()
152 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in allocateScavengingFrameIndexesNearIncomingSP()
180 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getDwarfFrameBase()
H A DRegUsageInfoCollector.cpp102 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
177 MF.getSubtarget().getFrameLowering()->isProfitableForNoCSROpt(F)) { in runOnMachineFunction()
199 const TargetFrameLowering &TFI = *MF.getSubtarget().getFrameLowering(); in computeCalleeSavedRegs()
200 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in computeCalleeSavedRegs()
H A DMachineFrameInfo.cpp116 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in getPristineRegs()
138 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in estimateStackSize()
139 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in estimateStackSize()
189 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in computeMaxCallFrameSize()
212 const TargetFrameLowering *FI = MF.getSubtarget().getFrameLowering(); in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp79 const SystemZSubtarget &Subtarget = MF.getSubtarget<SystemZSubtarget>(); in getRegAllocationHints()
192 const SystemZSubtarget &Subtarget = MF->getSubtarget<SystemZSubtarget>(); in getCalleeSavedRegs()
199 const SystemZSubtarget &Subtarget = MF->getSubtarget<SystemZSubtarget>(); in getCalleeSavedRegs()
205 if (MF->getSubtarget().getTargetLowering()->supportSwiftError() && in getCalleeSavedRegs()
215 const SystemZSubtarget &Subtarget = MF.getSubtarget<SystemZSubtarget>(); in getCallPreservedMask()
223 const SystemZSubtarget &Subtarget = MF.getSubtarget<SystemZSubtarget>(); in getCallPreservedMask()
229 if (MF.getSubtarget().getTargetLowering()->supportSwiftError() && in getCallPreservedMask()
242 const SystemZSubtarget *Subtarget = &MF->getSubtarget<SystemZSubtarget>(); in getCalleeSavedRegs()
252 const SystemZSubtarget *Subtarget = &MF.getSubtarget<SystemZSubtarget>(); in getCallPreservedMask()
261 const SystemZSubtarget *Subtarget = &MF.getSubtarget<SystemZSubtarge in getReservedRegs()
[all...]
H A DSystemZFrameLowering.cpp87 auto *TII = MF.getSubtarget<SystemZSubtarget>().getInstrInfo(); in orderFrameObjects()
236 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves()
304 MBB.getParent()->getSubtarget().getRegisterInfo(); in addSavedGPR()
321 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
381 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters()
435 bool BackChain = MF.getSubtarget<SystemZSubtarget>().hasBackChain(); in processFunctionBeforeFrameFinalized()
531 const SystemZSubtarget &STI = MF.getSubtarget<SystemZSubtarget>(); in emitPrologue()
611 MF.getSubtarget().getTargetLowering()->hasInlineStackProbe(MF)) { in emitPrologue()
620 bool StoreBackchain = MF.getSubtarget<SystemZSubtarget>().hasBackChain(); in emitPrologue()
694 static_cast<const SystemZInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILowerSGPRSpills.cpp90 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRSaves()
91 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves()
92 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRSaves()
93 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in insertCSRSaves()
133 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRRestores()
134 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRRestores()
135 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRRestores()
136 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in insertCSRRestores()
213 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in spillCalleeSavedRegs()
310 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSLSHardening.cpp95 ST = &MF.getSubtarget<ARMSubtarget>(); in runOnMachineFunction()
96 TII = MF.getSubtarget().getInstrInfo(); in runOnMachineFunction()
178 ComdatThunks &= !MF.getSubtarget<ARMSubtarget>().hardenSlsNoComdat(); in mayUseThunk()
179 return MF.getSubtarget<ARMSubtarget>().hardenSlsBlr(); in mayUseThunk()
194 !MF.getSubtarget<ARMSubtarget>().isThumb()) || in insertThunks()
196 MF.getSubtarget<ARMSubtarget>().isThumb())) in insertThunks()
201 const ARMSubtarget *ST = &MF.getSubtarget<ARMSubtarget>(); in insertThunks()
221 const TargetInstrInfo *TII = MF.getSubtarget<ARMSubtarget>().getInstrInfo(); in populateThunk()
242 insertSpeculationBarrier(&MF.getSubtarget<ARMSubtarget>(), *Entry, in populateThunk()
H A DARMBaseRegisterInfo.cpp64 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs()
133 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getCallPreservedMask()
160 assert(MF.getSubtarget<ARMSubtarget>().isTargetDarwin() && in getTLSCallPreservedMask()
167 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getSjLjDispatchPreservedMask()
177 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getThisReturnPreservedMask()
201 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getReservedRegs()
242 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in isInlineAsmReadOnlyReg()
270 if (MF.getSubtarget<ARMSubtarget>().hasNEON()) in getLargestLegalSuperClass()
276 if (MF.getSubtarget<ARMSubtarget>().hasMVEIntegerOps()) in getLargestLegalSuperClass()
301 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getRegPressureLimit()
[all …]
H A 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()
431 assert(MBB.getParent()->getSubtarget<ARMSubtarget>().isThumb1Only() && in rewriteFrameIndex()
494 auto &ST = MF.getSubtarget<ARMSubtarget>(); in eliminateFrameIndex()
524 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in eliminateFrameIndex()
547 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarge in eliminateFrameIndex()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A 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()
272 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getFrameRegister()
295 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in canRealignStack()
H A DMipsMachineFunction.cpp40 auto &STI = MF.getSubtarget<MipsSubtarget>(); in getGlobalBaseRegClass()
77 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in initGlobalBaseReg()
158 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createEhDataRegsFI()
176 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createISRRegFI()
203 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in getMoveF64ViaSpillFI()
H A 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()
H A DMips16RegisterInfo.cpp61 const TargetInstrInfo &TII = *MBB.getParent()->getSubtarget().getInstrInfo(); in saveScavengerRegister()
102 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFI()
136 *static_cast<const Mips16InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFI()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPeephole.cpp98 MF.getSubtarget<NVPTXSubtarget>().getRegisterInfo(); in isCVTAToLocalCombinationCandidate()
113 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in CombineCVTAToLocal()
117 MF.getSubtarget<NVPTXSubtarget>().getRegisterInfo(); in CombineCVTAToLocal()
154 MF.getSubtarget<NVPTXSubtarget>().getRegisterInfo(); in runOnMachineFunction()
H A DNVPTXFrameLowering.cpp40 MF.getSubtarget<NVPTXSubtarget>().getRegisterInfo(); in emitPrologue()
59 MF.getSubtarget().getInstrInfo()->get(CvtaLocalOpcode), in emitPrologue()
65 MF.getSubtarget().getInstrInfo()->get(MovDepotOpcode), in emitPrologue()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreMachineFunctionInfo.cpp46 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createLRSpillSlot()
64 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createFPSpillSlot()
77 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createEHSpillSlot()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRRegisterInfo.cpp39 const AVRSubtarget &STI = MF->getSubtarget<AVRSubtarget>(); in getCalleeSavedRegs()
51 const AVRSubtarget &STI = MF.getSubtarget<AVRSubtarget>(); in getCallPreservedMask()
71 if (MF.getSubtarget<AVRSubtarget>().hasTinyEncoding()) { in getReservedRegs()
99 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in getLargestLegalSuperClass()
156 const AVRSubtarget &STI = MF.getSubtarget<AVRSubtarget>(); in eliminateFrameIndex()
287 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86IndirectThunks.cpp65 const auto &STI = MF.getSubtarget<X86Subtarget>(); in mayUseThunk()
78 return MF.getSubtarget<X86Subtarget>().useLVIControlFlowIntegrity(); in mayUseThunk()
100 const TargetInstrInfo *TII = MF.getSubtarget<X86Subtarget>().getInstrInfo(); in populateThunk()
191 const TargetInstrInfo *TII = MF.getSubtarget<X86Subtarget>().getInstrInfo(); in populateThunk()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DLeonPasses.cpp40 Subtarget = &MF.getSubtarget<SparcSubtarget>(); in runOnMachineFunction()
79 Subtarget = &MF.getSubtarget<SparcSubtarget>(); in runOnMachineFunction()
129 Subtarget = &MF.getSubtarget<SparcSubtarget>(); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaRegisterInfo.cpp48 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs()
112 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFrameIndex()
131 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp186 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegs()
280 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getCallPreservedMask()
356 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getReservedRegs()
455 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in requiresFrameIndexScavenging()
530 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in requiresVirtualBaseRegisters()
541 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in isCallerPreservedPhysReg()
582 if (MF.getSubtarget<PPCSubtarget>().isISAFuture()) in getRegAllocationHints()
656 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getRegPressureLimit()
666 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getRegPressureLimit()
681 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getLargestLegalSuperClass()
[all …]

12345678910>>...26