Searched refs:MaxNumAGPRs (Results 1 – 2 of 2) sorted by relevance
578 unsigned MaxNumAGPRs = 0; in getMaxNumVectorRegs() local599 std::tie(MinNumAGPRs, MaxNumAGPRs) = AMDGPU::getIntegerPairAttribute( in getMaxNumVectorRegs()605 MinNumAGPRs = MaxNumAGPRs = MaxVectorRegs / 2; in getMaxNumVectorRegs()615 MaxNumAGPRs = std::min(std::max(MinNumAGPRs, MaxNumAGPRs), MaxVectorRegs); in getMaxNumVectorRegs()616 MinNumAGPRs = std::min(std::min(MinNumAGPRs, TotalNumAGPRs), MaxNumAGPRs); in getMaxNumVectorRegs()619 MaxNumAGPRs = std::min(MaxVectorRegs - MaxNumVGPRs, MaxNumAGPRs); in getMaxNumVectorRegs()621 assert(MaxNumVGPRs + MaxNumAGPRs <= MaxVectorRegs && in getMaxNumVectorRegs()622 MaxNumAGPRs <= TotalNumAGPRs && MaxNumVGPRs <= TotalNumVGPRs && in getMaxNumVectorRegs()626 MaxNumAGPRs = MaxNumVGPRs = MaxVectorRegs; in getMaxNumVectorRegs()629 return std::pair(MaxNumVGPRs, MaxNumAGPRs); in getMaxNumVectorRegs()[all …]
362 auto [MaxNumVGPRs, MaxNumAGPRs] = TRI->getMaxNumVectorRegs(MF); in determineRegsForWWMAllocation()