Home
last modified time | relevance | path

Searched refs:UserSGPRInfo (Results 1 – 6 of 6) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUAsmPrinter.cpp430 const GCNUserSGPRUsageInfo &UserSGPRInfo = MFI.getUserSGPRInfo(); in getAmdhsaKernelCodeProperties() local
432 if (UserSGPRInfo.hasPrivateSegmentBuffer()) { in getAmdhsaKernelCodeProperties()
436 if (UserSGPRInfo.hasDispatchPtr()) { in getAmdhsaKernelCodeProperties()
440 if (UserSGPRInfo.hasQueuePtr() && CodeObjectVersion < AMDGPU::AMDHSA_COV5) { in getAmdhsaKernelCodeProperties()
444 if (UserSGPRInfo.hasKernargSegmentPtr()) { in getAmdhsaKernelCodeProperties()
448 if (UserSGPRInfo.hasDispatchID()) { in getAmdhsaKernelCodeProperties()
452 if (UserSGPRInfo.hasFlatScratchInit()) { in getAmdhsaKernelCodeProperties()
456 if (UserSGPRInfo.hasPrivateSegmentSize()) { in getAmdhsaKernelCodeProperties()
1387 const GCNUserSGPRUsageInfo &UserSGPRInfo = MFI->getUserSGPRInfo(); in getAmdKernelCode() local
1388 if (UserSGPRInfo.hasPrivateSegmentBuffer()) { in getAmdKernelCode()
[all …]
HDAMDGPUCallLowering.cpp462 const GCNUserSGPRUsageInfo &UserSGPRInfo = Info.getUserSGPRInfo(); in allocateHSAUserSGPRs() local
463 if (UserSGPRInfo.hasPrivateSegmentBuffer()) { in allocateHSAUserSGPRs()
469 if (UserSGPRInfo.hasDispatchPtr()) { in allocateHSAUserSGPRs()
476 if (UserSGPRInfo.hasQueuePtr() && in allocateHSAUserSGPRs()
483 if (UserSGPRInfo.hasKernargSegmentPtr()) { in allocateHSAUserSGPRs()
494 if (UserSGPRInfo.hasDispatchID()) { in allocateHSAUserSGPRs()
500 if (UserSGPRInfo.hasFlatScratchInit()) { in allocateHSAUserSGPRs()
605 const GCNUserSGPRUsageInfo &UserSGPRInfo = Info->getUserSGPRInfo(); in lowerFormalArguments() local
607 if (UserSGPRInfo.hasImplicitBufferPtr()) { in lowerFormalArguments()
614 if (UserSGPRInfo.hasFlatScratchInit() && !Subtarget.isAmdPalOS()) { in lowerFormalArguments()
HDAMDGPULowerKernelArguments.cpp45 GCNUserSGPRUsageInfo UserSGPRInfo(F, ST); in setInitialFreeUserSGPRsCount() local
47 NumFreeUserSGPRs = MaxUserSGPRs - UserSGPRInfo.getNumUsedUserSGPRs(); in setInitialFreeUserSGPRsCount()
HDSIMachineFunctionInfo.h446 GCNUserSGPRUsageInfo UserSGPRInfo;
604 GCNUserSGPRUsageInfo &getUserSGPRInfo() { return UserSGPRInfo; }
606 const GCNUserSGPRUsageInfo &getUserSGPRInfo() const { return UserSGPRInfo; }
894 return UserSGPRInfo.getNumKernargPreloadSGPRs();
HDSIMachineFunctionInfo.cpp41 UserSGPRInfo(F, *STI), WorkGroupIDX(false), WorkGroupIDY(false), in SIMachineFunctionInfo()
277 UserSGPRInfo.allocKernargPreloadSGPRs(AllocSizeDWord + PaddingSGPRs); in addPreloadedKernArg()
HDSIISelLowering.cpp2402 const GCNUserSGPRUsageInfo &UserSGPRInfo = Info.getUserSGPRInfo(); in allocateSpecialInputSGPRs() local
2405 if (UserSGPRInfo.hasDispatchPtr()) in allocateSpecialInputSGPRs()
2409 if (UserSGPRInfo.hasQueuePtr() && in allocateSpecialInputSGPRs()
2418 if (UserSGPRInfo.hasDispatchID()) in allocateSpecialInputSGPRs()
2441 const GCNUserSGPRUsageInfo &UserSGPRInfo = Info.getUserSGPRInfo(); in allocateHSAUserSGPRs() local
2442 if (UserSGPRInfo.hasImplicitBufferPtr()) { in allocateHSAUserSGPRs()
2449 if (UserSGPRInfo.hasPrivateSegmentBuffer()) { in allocateHSAUserSGPRs()
2455 if (UserSGPRInfo.hasDispatchPtr()) { in allocateHSAUserSGPRs()
2462 if (UserSGPRInfo.hasQueuePtr() && in allocateHSAUserSGPRs()
2469 if (UserSGPRInfo.hasKernargSegmentPtr()) { in allocateHSAUserSGPRs()
[all …]