Home
last modified time | relevance | path

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

12345678910>>...34

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp55 if (MF->getSubtarget<AArch64Subtarget>().getTargetLowering() in getCalleeSavedRegs()
100 if (MF.getSubtarget<AArch64Subtarget>().getTargetLowering() in getCallPreservedMask()
150 if (MF.getSubtarget<AArch64Subtarget>().isX18Reserved()) in getReservedRegs()
153 if (MF.getSubtarget<AArch64Subtarget>().isX20Reserved()) in getReservedRegs()
177 return MF.getSubtarget<AArch64Subtarget>().isX18Reserved(); in isReservedReg()
183 return MF.getSubtarget<AArch64Subtarget>().isX20Reserved(); in isReservedReg()
362 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in materializeFrameBaseRegister()
385 MF->getSubtarget<AArch64Subtarget>().getInstrInfo(); in resolveFrameIndex()
400 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in eliminateFrameIndex()
452 - MF.getSubtarget<AArch64Subtarget>() in getRegPressureLimit()
[all …]
DAArch64FrameLowering.cpp203 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP()
240 static_cast<const AArch64InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()
246 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateCallFramePseudoInstr()
286 const TargetSubtargetInfo &STI = MF.getSubtarget(); in emitCalleeSavedFrameMoves()
327 const AArch64Subtarget &Subtarget = MF->getSubtarget<AArch64Subtarget>(); in findScratchNonCalleeSaveRegister()
353 const AArch64Subtarget &Subtarget = MF->getSubtarget<AArch64Subtarget>(); in canUseAsPrologue()
366 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in windowsRequiresStackProbe()
385 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in shouldCombineCSRLocalStackBump()
554 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in emitPrologue()
839 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in emitEpilogue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp37 if (MF->getSubtarget<RISCVSubtarget>().hasStdExtD()) in getCalleeSavedRegs()
39 if (MF->getSubtarget<RISCVSubtarget>().hasStdExtF()) in getCalleeSavedRegs()
76 const RISCVInstrInfo *TII = MF.getSubtarget<RISCVSubtarget>().getInstrInfo(); in eliminateFrameIndex()
121 if (MF.getSubtarget<RISCVSubtarget>().hasStdExtD()) in getCallPreservedMask()
123 if (MF.getSubtarget<RISCVSubtarget>().hasStdExtF()) in getCallPreservedMask()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp172 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
173 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction()
246 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in calculateCallFrameInfo()
247 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in calculateCallFrameInfo()
335 const TargetRegisterInfo *RegInfo = F.getSubtarget().getRegisterInfo(); in assignCalleeSavedSpillSlots()
345 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots()
464 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRSaves()
465 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves()
466 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRSaves()
484 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRRestores()
[all …]
DMachineFrameInfo.cpp113 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in getPristineRegs()
135 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in estimateStackSize()
136 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in estimateStackSize()
184 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in computeMaxCallFrameSize()
211 const TargetFrameLowering *FI = MF.getSubtarget().getFrameLowering(); in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsMachineFunction.cpp33 auto &STI = static_cast<const MipsSubtarget &>(MF.getSubtarget()); in getGlobalBaseRegClass()
56 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createEhDataRegsFI()
74 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createISRRegFI()
98 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in getMoveF64ViaSpillFI()
DMipsRegisterInfo.cpp50 MipsABIInfo ABI = MF.getSubtarget<MipsSubtarget>().getABI(); in getPointerRegClass()
76 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit()
95 const MipsSubtarget &Subtarget = MF->getSubtarget<MipsSubtarget>(); in getCalleeSavedRegs()
127 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getCallPreservedMask()
161 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getReservedRegs()
298 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getFrameRegister()
321 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in canRealignStack()
/external/swiftshader/third_party/llvm-7.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 …]
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp52 MipsABIInfo ABI = MF.getSubtarget<MipsSubtarget>().getABI(); in getPointerRegClass()
79 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit()
98 const MipsSubtarget &Subtarget = MF->getSubtarget<MipsSubtarget>(); in getCalleeSavedRegs()
130 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getCallPreservedMask()
164 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getReservedRegs()
296 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getFrameRegister()
319 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in canRealignStack()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp53 if (MF->getSubtarget<AArch64Subtarget>().getTargetLowering() in getCalleeSavedRegs()
83 if (MF.getSubtarget<AArch64Subtarget>().getTargetLowering() in getCallPreservedMask()
131 if (MF.getSubtarget<AArch64Subtarget>().isX18Reserved()) { in getReservedRegs()
158 return MF.getSubtarget<AArch64Subtarget>().isX18Reserved(); in isReservedReg()
334 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in materializeFrameBaseRegister()
357 MF->getSubtarget<AArch64Subtarget>().getInstrInfo(); in resolveFrameIndex()
372 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in eliminateFrameIndex()
424 - MF.getSubtarget<AArch64Subtarget>() in getRegPressureLimit()
DAArch64FrameLowering.cpp138 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP()
161 static_cast<const AArch64InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()
167 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateCallFramePseudoInstr()
209 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in emitCalleeSavedFrameMoves()
248 const TargetRegisterInfo &TRI = *MF->getSubtarget().getRegisterInfo(); in findScratchNonCalleeSaveRegister()
253 const AArch64Subtarget &Subtarget = MF->getSubtarget<AArch64Subtarget>(); in findScratchNonCalleeSaveRegister()
275 const AArch64Subtarget &Subtarget = MF->getSubtarget<AArch64Subtarget>(); in canUseAsPrologue()
290 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in shouldCombineCSRLocalStackBump()
412 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in emitPrologue()
648 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in emitEpilogue()
[all …]
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp174 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
175 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in runOnMachineFunction()
243 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in calculateCallFrameInfo()
244 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallFrameInfo()
332 const TargetRegisterInfo *RegInfo = F.getSubtarget().getRegisterInfo(); in assignCalleeSavedSpillSlots()
342 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots()
472 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in insertCSRSpillsAndRestores()
473 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in insertCSRSpillsAndRestores()
474 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in insertCSRSpillsAndRestores()
536 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in doSpillCalleeSavedRegs()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp103 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegs()
137 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegsViaCopy()
162 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getCallPreservedMask()
195 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getReservedRegs()
320 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getLargestLegalSuperClass()
356 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAlloc()
470 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAreaOffset()
496 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRSpilling()
541 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRRestore()
584 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRBitSpilling()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp67 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs()
123 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getCallPreservedMask()
145 assert(MF.getSubtarget<ARMSubtarget>().isTargetDarwin() && in getTLSCallPreservedMask()
152 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getSjLjDispatchPreservedMask()
162 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getThisReturnPreservedMask()
180 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getReservedRegs()
249 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getRegPressureLimit()
403 if (!MRI->canReserveReg(getFramePointerReg(MF.getSubtarget<ARMSubtarget>()))) in canRealignStack()
425 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getFrameRegister()
440 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitLoadConstPool()
[all …]
DThumbRegisterInfo.cpp46 if (!MF.getSubtarget<ARMSubtarget>().isThumb1Only()) in getLargestLegalSuperClass()
57 if (!MF.getSubtarget<ARMSubtarget>().isThumb1Only()) in getPointerRegClass()
69 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in emitThumb1LoadConstPool()
89 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitThumb2LoadConstPool()
109 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()
457 const ARMSubtarget &STI = MBB.getParent()->getSubtarget<ARMSubtarget>(); in saveScavengerRegister()
513 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in eliminateFrameIndex()
DARMMachineFunctionInfo.cpp18 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
19 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {} in ARMFunctionInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreMachineFunctionInfo.cpp40 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createLRSpillSlot()
58 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createFPSpillSlot()
71 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in createEHSpillSlot()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp65 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in getRegAllocationHints()
111 const SystemZSubtarget &Subtarget = MF->getSubtarget<SystemZSubtarget>(); in getCalleeSavedRegs()
115 if (MF->getSubtarget().getTargetLowering()->supportSwiftError() && in getCalleeSavedRegs()
125 const SystemZSubtarget &Subtarget = MF.getSubtarget<SystemZSubtarget>(); in getCallPreservedMask()
129 if (MF.getSubtarget().getTargetLowering()->supportSwiftError() && in getCallPreservedMask()
171 static_cast<const SystemZInstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFrameIndex()
194 MF.getSubtarget<SystemZSubtarget>().hasVector()) { in eliminateFrameIndex()
/external/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp49 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPAdjustment()
92 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologue()
94 *static_cast<const SparcRegisterInfo *>(MF.getSubtarget().getRegisterInfo()); in emitPrologue()
144 NumBytes = MF.getSubtarget<SparcSubtarget>().getAdjustedFrameSize(NumBytes); in emitPrologue()
207 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
234 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP()
246 const SparcSubtarget &Subtarget = MF.getSubtarget<SparcSubtarget>(); in getFrameIndexReference()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp137 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegs()
185 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegsViaCopy()
210 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getCallPreservedMask()
250 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getReservedRegs()
322 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in isCallerPreservedPhysReg()
382 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getLargestLegalSuperClass()
430 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAlloc()
549 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAreaOffset()
577 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRSpilling()
622 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRRestore()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp45 MF.getSubtarget<WebAssemblySubtarget>().getRegisterInfo(); in hasFP()
92 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in writeSPToMemory()
113 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in eliminateCallFramePseudoInstr()
132 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in emitPrologue()
185 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in emitEpilogue()
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp27 if (MF->getSubtarget().getTargetLowering()->supportSwiftError() && in getCalleeSavedRegs()
37 if (MF.getSubtarget().getTargetLowering()->supportSwiftError() && in getCallPreservedMask()
74 static_cast<const SystemZInstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFrameIndex()
97 MF.getSubtarget<SystemZSubtarget>().hasVector()) { in eliminateFrameIndex()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp62 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs()
113 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getCallPreservedMask()
134 assert(MF.getSubtarget<ARMSubtarget>().isTargetDarwin() && in getTLSCallPreservedMask()
143 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getThisReturnPreservedMask()
161 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getReservedRegs()
227 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getRegPressureLimit()
379 if (!MRI->canReserveReg(getFramePointerReg(MF.getSubtarget<ARMSubtarget>()))) in canRealignStack()
401 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getFrameRegister()
416 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitLoadConstPool()
599 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in materializeFrameBaseRegister()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp48 MF.getSubtarget<WebAssemblySubtarget>().getRegisterInfo(); in hasBP()
105 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in writeSPToMemory()
120 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in eliminateCallFramePseudoInstr()
139 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in emitPrologue()
206 const auto *TII = MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo(); in emitEpilogue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DInstructionSelect.cpp72 const InstructionSelector *ISel = MF.getSubtarget().getInstructionSelector(); in runOnMachineFunction()
148 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
220 auto &TLI = *MF.getSubtarget().getTargetLowering(); in runOnMachineFunction()
230 MF.getSubtarget() in runOnMachineFunction()

12345678910>>...34