Home
last modified time | relevance | path

Searched refs:SIMachineFunctionInfo (Results 1 – 25 of 81) sorted by relevance

1234

/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.cpp30 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) in SIMachineFunctionInfo() function in SIMachineFunctionInfo
197 void SIMachineFunctionInfo::limitOccupancy(const MachineFunction &MF) { in limitOccupancy()
204 Register SIMachineFunctionInfo::addPrivateSegmentBuffer( in addPrivateSegmentBuffer()
213 Register SIMachineFunctionInfo::addDispatchPtr(const SIRegisterInfo &TRI) { in addDispatchPtr()
220 Register SIMachineFunctionInfo::addQueuePtr(const SIRegisterInfo &TRI) { in addQueuePtr()
227 Register SIMachineFunctionInfo::addKernargSegmentPtr(const SIRegisterInfo &TRI) { in addKernargSegmentPtr()
235 Register SIMachineFunctionInfo::addDispatchID(const SIRegisterInfo &TRI) { in addDispatchID()
242 Register SIMachineFunctionInfo::addFlatScratchInit(const SIRegisterInfo &TRI) { in addFlatScratchInit()
249 Register SIMachineFunctionInfo::addImplicitBufferPtr(const SIRegisterInfo &TRI) { in addImplicitBufferPtr()
256 bool SIMachineFunctionInfo::isCalleeSavedReg(const MCPhysReg *CSRegs, in isCalleeSavedReg()
[all …]
DSIFrameLowering.cpp75 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getVGPRSpillLaneOrTempRegister()
303 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in buildGitPtr()
331 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitEntryFunctionFlatScratchInit()
481 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getEntryFunctionReservedScratchRsrcReg()
545 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitEntryFunctionPrologue()
662 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitEntryFunctionScratchRsrcRegSetup()
807 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); in buildScratchExecCopy()
842 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); in emitPrologue()
922 for (const SIMachineFunctionInfo::SGPRSpillVGPRCSR &Reg in emitPrologue()
985 ArrayRef<SIMachineFunctionInfo::SpilledReg> Spill = in emitPrologue()
[all …]
DSIMachineFunctionInfo.h276 struct SIMachineFunctionInfo final : public yaml::MachineFunctionInfo {
296 SIMachineFunctionInfo() = default;
297 SIMachineFunctionInfo(const llvm::SIMachineFunctionInfo &,
301 ~SIMachineFunctionInfo() = default;
304 template <> struct MappingTraits<SIMachineFunctionInfo> {
305 static void mapping(IO &YamlIO, SIMachineFunctionInfo &MFI) {
334 class SIMachineFunctionInfo final : public AMDGPUMachineFunction {
503 SIMachineFunctionInfo(const MachineFunction &MF);
505 bool initializeBaseYamlFields(const yaml::SIMachineFunctionInfo &YamlMFI);
DAMDGPUAsmPrinter.cpp204 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in emitFunctionBodyStart()
223 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in emitFunctionBodyEnd()
269 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in emitFunctionEntryLabel()
375 const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>(); in getAmdhsaKernelCodeProperties()
638 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in analyzeResourceUsage()
1007 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getSIProgramInfo()
1191 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in EmitProgramInfoSI()
1239 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in EmitPALMetadata()
1293 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getAmdKernelCode()
DSIRegisterInfo.cpp165 const SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); in getFrameRegister()
300 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getReservedRegs()
350 const SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>(); in canRealignStack()
363 const SIMachineFunctionInfo *Info = Fn.getInfo<SIMachineFunctionInfo>(); in requiresRegisterScavenging()
517 MF->getInfo<SIMachineFunctionInfo>()->getStackPtrOffsetReg()) || in resolveFrameIndex()
683 SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in spillVGPRtoAGPR()
761 const SIMachineFunctionInfo *FuncInfo = MF->getInfo<SIMachineFunctionInfo>(); in buildSpillLoadStore()
951 SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in buildSGPRSpillLoadStore()
1062 SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in spillSGPR()
1065 ArrayRef<SIMachineFunctionInfo::SpilledReg> VGPRSpills in spillSGPR()
[all …]
DGCNIterativeScheduler.cpp485 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in tryMaximizeOccupancy()
495 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in scheduleLegacyMaxOccupancy()
549 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in scheduleMinReg()
583 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in scheduleILP()
DGCNSchedStrategy.h21 class SIMachineFunctionInfo; variable
77 SIMachineFunctionInfo &MFI;
DSIISelLowering.h53 const SIMachineFunctionInfo &MFI,
330 const SIMachineFunctionInfo &Info,
454 SIMachineFunctionInfo &Info) const;
458 SIMachineFunctionInfo &Info,
465 SIMachineFunctionInfo &Info) const;
470 SIMachineFunctionInfo &Info) const;
475 SIMachineFunctionInfo &Info) const;
479 SIMachineFunctionInfo &Info) const;
DAMDGPUCallLowering.cpp219 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getStackAddress()
456 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in lowerReturn()
503 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in lowerParameterPtr()
541 SIMachineFunctionInfo &Info) { in allocateHSAUserSGPRs()
594 SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>(); in lowerFormalArgumentsKernel()
794 SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>(); in lowerFormalArguments()
962 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in passSpecialInputs()
1229 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in lowerCall()
DSILowerSGPRSpills.cpp237 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); in lowerShiftReservedVGPR()
304 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); in runOnMachineFunction()
DAMDGPUSubtarget.cpp373 const auto *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getOccupancyWithLocalMemSize()
653 const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>(); in getReservedNumSGPRs()
684 const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>(); in getMaxNumSGPRs()
734 const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>(); in getMaxNumVGPRs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.cpp29 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) in SIMachineFunctionInfo() function in SIMachineFunctionInfo
180 void SIMachineFunctionInfo::limitOccupancy(const MachineFunction &MF) { in limitOccupancy()
187 unsigned SIMachineFunctionInfo::addPrivateSegmentBuffer( in addPrivateSegmentBuffer()
196 unsigned SIMachineFunctionInfo::addDispatchPtr(const SIRegisterInfo &TRI) { in addDispatchPtr()
203 unsigned SIMachineFunctionInfo::addQueuePtr(const SIRegisterInfo &TRI) { in addQueuePtr()
210 unsigned SIMachineFunctionInfo::addKernargSegmentPtr(const SIRegisterInfo &TRI) { in addKernargSegmentPtr()
218 unsigned SIMachineFunctionInfo::addDispatchID(const SIRegisterInfo &TRI) { in addDispatchID()
225 unsigned SIMachineFunctionInfo::addFlatScratchInit(const SIRegisterInfo &TRI) { in addFlatScratchInit()
232 unsigned SIMachineFunctionInfo::addImplicitBufferPtr(const SIRegisterInfo &TRI) { in addImplicitBufferPtr()
252 bool SIMachineFunctionInfo::haveFreeLanesForSGPRSpill(const MachineFunction &MF, in haveFreeLanesForSGPRSpill()
[all …]
DSIFrameLowering.h17 class SIMachineFunctionInfo; variable
66 SIMachineFunctionInfo *MFI,
71 SIMachineFunctionInfo *MFI, MachineFunction &MF) const;
75 MachineBasicBlock &MBB, SIMachineFunctionInfo *MFI,
DSIFrameLowering.cpp192 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitFlatScratchInit()
273 SIMachineFunctionInfo *MFI, in getReservedPrivateSegmentBufferReg()
321 SIMachineFunctionInfo *MFI, MachineFunction &MF) const { in getReservedPrivateSegmentWaveByteOffsetReg()
396 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitEntryFunctionPrologue()
534 MachineFunction &MF, MachineBasicBlock &MBB, SIMachineFunctionInfo *MFI, in emitEntryFunctionScratchSetup()
678 SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); in emitPrologue()
711 for (const SIMachineFunctionInfo::SGPRSpillVGPRCSR &Reg in emitPrologue()
756 ArrayRef<SIMachineFunctionInfo::SpilledReg> Spill in emitPrologue()
824 const SIMachineFunctionInfo *FuncInfo = MF.getInfo<SIMachineFunctionInfo>(); in emitEpilogue()
860 ArrayRef<SIMachineFunctionInfo::SpilledReg> Spill in emitEpilogue()
[all …]
DSIMachineFunctionInfo.h268 struct SIMachineFunctionInfo final : public yaml::MachineFunctionInfo {
286 SIMachineFunctionInfo() = default;
287 SIMachineFunctionInfo(const llvm::SIMachineFunctionInfo &,
291 ~SIMachineFunctionInfo() = default;
294 template <> struct MappingTraits<SIMachineFunctionInfo> {
295 static void mapping(IO &YamlIO, SIMachineFunctionInfo &MFI) {
323 class SIMachineFunctionInfo final : public AMDGPUMachineFunction {
487 SIMachineFunctionInfo(const MachineFunction &MF);
489 bool initializeBaseYamlFields(const yaml::SIMachineFunctionInfo &YamlMFI);
DAMDGPUAsmPrinter.cpp192 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionBodyStart()
211 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionBodyEnd()
257 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionEntryLabel()
365 const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>(); in getAmdhsaKernelCodeProperties()
616 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in analyzeResourceUsage()
943 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getSIProgramInfo()
1131 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in EmitProgramInfoSI()
1178 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in EmitPALMetadata()
1228 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getAmdKernelCode()
DSIRegisterInfo.cpp216 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getReservedRegs()
264 const SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>(); in canRealignStack()
277 const SIMachineFunctionInfo *Info = Fn.getInfo<SIMachineFunctionInfo>(); in requiresRegisterScavenging()
402 MF->getInfo<SIMachineFunctionInfo>()->getStackPtrOffsetReg() && in resolveFrameIndex()
551 SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in spillVGPRtoAGPR()
751 SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in spillSGPR()
754 ArrayRef<SIMachineFunctionInfo::SpilledReg> VGPRSpills in spillSGPR()
791 SIMachineFunctionInfo::SpilledReg Spill = VGPRSpills[i]; in spillSGPR()
862 SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in restoreSGPR()
864 ArrayRef<SIMachineFunctionInfo::SpilledReg> VGPRSpills in restoreSGPR()
[all …]
DGCNIterativeScheduler.cpp480 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in tryMaximizeOccupancy()
490 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in scheduleLegacyMaxOccupancy()
544 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in scheduleMinReg()
578 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in scheduleILP()
DGCNSchedStrategy.h21 class SIMachineFunctionInfo; variable
69 SIMachineFunctionInfo &MFI;
DAMDGPUCallLowering.cpp297 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in lowerReturn()
345 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in lowerParameterPtr()
389 SIMachineFunctionInfo &Info) { in allocateHSAUserSGPRs()
442 SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>(); in lowerFormalArgumentsKernel()
582 SIMachineFunctionInfo *Info = MF.getInfo<SIMachineFunctionInfo>(); in lowerFormalArguments()
DSIISelLowering.h52 const SIMachineFunctionInfo &MFI,
310 const SIMachineFunctionInfo &Info,
413 SIMachineFunctionInfo &Info) const;
417 SIMachineFunctionInfo &Info,
424 SIMachineFunctionInfo &Info) const;
429 SIMachineFunctionInfo &Info) const;
434 SIMachineFunctionInfo &Info) const;
/external/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.cpp30 void SIMachineFunctionInfo::anchor() {} in anchor()
32 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) in SIMachineFunctionInfo() function in SIMachineFunctionInfo
148 unsigned SIMachineFunctionInfo::addPrivateSegmentBuffer( in addPrivateSegmentBuffer()
156 unsigned SIMachineFunctionInfo::addDispatchPtr(const SIRegisterInfo &TRI) { in addDispatchPtr()
163 unsigned SIMachineFunctionInfo::addQueuePtr(const SIRegisterInfo &TRI) { in addQueuePtr()
170 unsigned SIMachineFunctionInfo::addKernargSegmentPtr(const SIRegisterInfo &TRI) { in addKernargSegmentPtr()
177 unsigned SIMachineFunctionInfo::addFlatScratchInit(const SIRegisterInfo &TRI) { in addFlatScratchInit()
184 SIMachineFunctionInfo::SpilledReg SIMachineFunctionInfo::getSpilledReg ( in getSpilledReg()
226 unsigned SIMachineFunctionInfo::getMaximumWorkGroupSize( in getMaximumWorkGroupSize()
DSIFrameLowering.cpp24 static bool hasOnlySGPRSpills(const SIMachineFunctionInfo *FuncInfo, in hasOnlySGPRSpills()
53 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitPrologue()
305 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitDebuggerPrologue()
DAMDGPUAsmPrinter.cpp126 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionEntryLabel()
312 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getSIProgramInfo()
582 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in EmitProgramInfoSI()
639 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in EmitAmdKernelCodeT()
DSIRegisterInfo.cpp28 const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>(); in getMaxWaveCountPerSIMD()
180 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getReservedRegs()
501 SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in eliminateFrameIndex()
528 struct SIMachineFunctionInfo::SpilledReg Spill = in eliminateFrameIndex()
592 struct SIMachineFunctionInfo::SpilledReg Spill = in eliminateFrameIndex()
911 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getPreloadedValue()

1234