Home
last modified time | relevance | path

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

12345678910>>...12

/external/llvm/lib/Target/AMDGPU/
DAMDGPUMCInstLower.cpp88 const AMDGPUSubtarget &STI = MF->getSubtarget<AMDGPUSubtarget>(); in EmitInstruction()
117 *MF->getSubtarget().getInstrInfo(), in EmitInstruction()
118 *MF->getSubtarget().getRegisterInfo()); in EmitInstruction()
120 MF->getSubtarget()); in EmitInstruction()
130 MF->getSubtarget<MCSubtargetInfo>()); in EmitInstruction()
DAMDGPUCallingConv.td63 "(State.getMachineFunction().getSubtarget()).getGeneration() >="
69 "(State.getMachineFunction().getSubtarget()).getGeneration() < "
75 "(State.getMachineFunction().getSubtarget()).getGeneration() >= "
79 "(State.getMachineFunction().getSubtarget()).getGeneration() < "
DAMDGPUAsmPrinter.cpp64 const AMDGPUSubtarget& ST = F.getSubtarget<AMDGPUSubtarget>(); in getFPMode()
95 const AMDGPUSubtarget &STM = MF->getSubtarget<AMDGPUSubtarget>(); in EmitFunctionBodyStart()
105 const AMDGPUSubtarget &STM = MF->getSubtarget<AMDGPUSubtarget>(); in EmitFunctionEntryLabel()
174 const AMDGPUSubtarget &STM = MF.getSubtarget<AMDGPUSubtarget>(); in runOnMachineFunction()
261 const AMDGPUSubtarget &STM = MF.getSubtarget<AMDGPUSubtarget>(); in EmitProgramInfoR600()
320 const AMDGPUSubtarget &STM = MF.getSubtarget<AMDGPUSubtarget>(); in getSIProgramInfo()
535 const AMDGPUSubtarget &STM = MF.getSubtarget<AMDGPUSubtarget>(); in EmitProgramInfoSI()
573 const AMDGPUSubtarget &STM = MF.getSubtarget<AMDGPUSubtarget>(); in EmitAmdKernelCodeT()
DSIRegisterInfo.cpp37 const AMDGPUSubtarget &ST = MF.getSubtarget<AMDGPUSubtarget>(); in reservedPrivateSegmentBufferReg()
55 const AMDGPUSubtarget &ST = MF.getSubtarget<AMDGPUSubtarget>(); in reservedPrivateSegmentWaveByteOffsetReg()
82 const AMDGPUSubtarget &ST = MF.getSubtarget<AMDGPUSubtarget>(); in getReservedRegs()
127 const AMDGPUSubtarget &STI = MF.getSubtarget<AMDGPUSubtarget>(); in getRegPressureSetLimit()
212 static_cast<const SIInstrInfo *>(MF->getSubtarget().getInstrInfo()); in buildScratchLoadStore()
264 static_cast<const SIInstrInfo *>(MF->getSubtarget().getInstrInfo()); in eliminateFrameIndex()
332 switch (MF->getSubtarget<AMDGPUSubtarget>().getGeneration()) { in eliminateFrameIndex()
571 const AMDGPUSubtarget &ST = MF.getSubtarget<AMDGPUSubtarget>(); in getPreloadedValue()
DSIMachineFunctionInfo.cpp72 const AMDGPUSubtarget &ST = MF.getSubtarget<AMDGPUSubtarget>(); in SIMachineFunctionInfo()
147 MF->getSubtarget<AMDGPUSubtarget>().getRegisterInfo()); in getSpilledReg()
176 const AMDGPUSubtarget &ST = MF.getSubtarget<AMDGPUSubtarget>(); in getMaximumWorkGroupSize()
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp54 MipsABIInfo ABI = MF.getSubtarget<MipsSubtarget>().getABI(); in getPointerRegClass()
67 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit()
86 const MipsSubtarget &Subtarget = MF->getSubtarget<MipsSubtarget>(); in getCalleeSavedRegs()
118 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getCallPreservedMask()
152 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getReservedRegs()
284 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getFrameRegister()
307 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in canRealignStack()
DMips16RegisterInfo.cpp67 const TargetInstrInfo &TII = *MBB.getParent()->getSubtarget().getInstrInfo(); in saveScavengerRegister()
108 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFI()
142 *static_cast<const Mips16InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFI()
DMipsSERegisterInfo.cpp117 static_cast<const MipsRegisterInfo *>(MF.getSubtarget().getRegisterInfo()); in eliminateFI()
188 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI()
204 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI()
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp168 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
169 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in runOnMachineFunction()
243 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in calculateCallsInformation()
244 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallsInformation()
302 const TargetRegisterInfo *RegInfo = F.getSubtarget().getRegisterInfo(); in assignCalleeSavedSpillSlots()
312 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots()
441 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in insertCSRSpillsAndRestores()
442 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in insertCSRSpillsAndRestores()
443 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in insertCSRSpillsAndRestores()
547 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets()
[all …]
DShrinkWrap.cpp140 MachineFunc->getSubtarget().getFrameLowering(); in getCurrentCSRs()
168 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in init()
397 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
439 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction()
487 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in isShrinkWrapEnabled()
DTargetFrameLoweringImpl.cpp43 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getFrameIndexReference()
63 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyPEI.cpp182 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
183 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in runOnMachineFunction()
259 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in calculateCallsInformation()
260 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallsInformation()
318 const TargetRegisterInfo *RegInfo = F.getSubtarget().getRegisterInfo(); in assignCalleeSavedSpillSlots()
328 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in assignCalleeSavedSpillSlots()
457 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in insertCSRSpillsAndRestores()
458 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in insertCSRSpillsAndRestores()
459 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in insertCSRSpillsAndRestores()
563 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets()
[all …]
DWebAssemblyFrameLowering.cpp48 MF.getSubtarget<WebAssemblySubtarget>().getRegisterInfo(); in hasFP()
113 static_cast<const WebAssemblyInstrInfo*>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()
135 const auto *TII = MF.getSubtarget().getInstrInfo(); in emitPrologue()
148 const auto *TII = MF.getSubtarget().getInstrInfo(); in emitEpilogue()
/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/llvm/lib/Target/ARM/
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
18 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()), in ARMFunctionInfo()
DARMBaseRegisterInfo.cpp65 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs()
96 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getCallPreservedMask()
111 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getThisReturnPreservedMask()
129 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getReservedRegs()
196 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getRegPressureLimit()
348 if (!MRI->canReserveReg(getFramePointerReg(MF.getSubtarget<ARMSubtarget>()))) in canRealignStack()
370 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getFrameRegister()
388 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitLoadConstPool()
571 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in materializeFrameBaseRegister()
587 *static_cast<const ARMBaseInstrInfo *>(MF.getSubtarget().getInstrInfo()); in resolveFrameIndex()
[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()
108 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in emitLoadConstPool()
358 assert(MBB.getParent()->getSubtarget<ARMSubtarget>().isThumb1Only() && in rewriteFrameIndex()
426 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in resolveFrameIndex()
450 const ARMSubtarget &STI = MBB.getParent()->getSubtarget<ARMSubtarget>(); in saveScavengerRegister()
503 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in eliminateFrameIndex()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUTargetMachine.cpp98 const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>(); in addPreISel()
113 const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>(); in addPreRegAlloc()
136 const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>(); in addPreEmitPass()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp103 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegs()
134 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getCallPreservedMask()
167 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getReservedRegs()
293 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getLargestLegalSuperClass()
329 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAlloc()
443 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAreaOffset()
469 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRSpilling()
514 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRRestore()
557 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRBitSpilling()
601 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRBitRestore()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp65 auto &HST = static_cast<const HexagonSubtarget&>(MF->getSubtarget()); in getCallerSavedRegs()
86 switch (MF->getSubtarget<HexagonSubtarget>().getHexagonArchVersion()) { in getCalleeSavedRegs()
125 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in eliminateFrameIndex()
193 return MF.getSubtarget<HexagonSubtarget>().getFrameLowering()->hasFP(MF); in useFPForScavengingIndex()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp119 if (MF.getSubtarget<AArch64Subtarget>().isX18Reserved()) { in getReservedRegs()
146 return MF.getSubtarget<AArch64Subtarget>().isX18Reserved(); in isReservedReg()
326 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in materializeFrameBaseRegister()
349 MF->getSubtarget<AArch64Subtarget>().getInstrInfo(); in resolveFrameIndex()
364 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in eliminateFrameIndex()
418 - MF.getSubtarget<AArch64Subtarget>() in getRegPressureLimit()
DAArch64FrameLowering.cpp142 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP()
162 static_cast<const AArch64InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()
168 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateCallFramePseudoInstr()
211 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in emitCalleeSavedFrameMoves()
283 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in emitPrologue()
542 const AArch64Subtarget &Subtarget = MF.getSubtarget<AArch64Subtarget>(); in emitEpilogue()
657 MF.getSubtarget().getRegisterInfo()); in resolveFrameIndexReference()
731 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
806 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters()
881 MF.getSubtarget().getRegisterInfo()); in determineCalleeSaves()
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp48 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologue()
113 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
193 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
219 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters()
231 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/NVPTX/
DNVPTXFrameLowering.cpp58 MF.getSubtarget().getInstrInfo()->get(CvtaLocalOpcode), in emitPrologue()
62 BuildMI(MBB, MI, dl, MF.getSubtarget().getInstrInfo()->get(MovDepotOpcode), in emitPrologue()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp71 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves()
115 MBB.getParent()->getSubtarget().getRegisterInfo(); in addSavedGPR()
134 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
223 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters()
319 static_cast<const SystemZInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologue()
422 static_cast<const SystemZInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
469 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getFrameIndexReference()

12345678910>>...12