Searched refs:MaxVectorRegs (Results 1 – 2 of 2) sorted by relevance
101 unsigned MaxVectorRegs; member in __anon98b3e5030111::AMDGPUPromoteAllocaImpl290 MaxVectorRegs = F.getFnAttributeAsParsedInteger( in setFunctionLimits()293 MaxVectorRegs = PromoteAllocaToVectorMaxRegs; in setFunctionLimits()837 (MaxVectorRegs * 32) / DL->getTypeSizeInBits(VectorTy->getElementType()); in tryPromoteAllocaToVector()
575 const unsigned MaxVectorRegs = ST.getMaxNumVGPRs(MF); in getMaxNumVectorRegs() local577 unsigned MaxNumVGPRs = MaxVectorRegs; in getMaxNumVectorRegs()605 MinNumAGPRs = MaxNumAGPRs = MaxVectorRegs / 2; in getMaxNumVectorRegs()615 MaxNumAGPRs = std::min(std::max(MinNumAGPRs, MaxNumAGPRs), MaxVectorRegs); in getMaxNumVectorRegs()618 MaxNumVGPRs = std::min(MaxVectorRegs - MinNumAGPRs, TotalNumVGPRs); in getMaxNumVectorRegs()619 MaxNumAGPRs = std::min(MaxVectorRegs - MaxNumVGPRs, MaxNumAGPRs); in getMaxNumVectorRegs()621 assert(MaxNumVGPRs + MaxNumAGPRs <= MaxVectorRegs && in getMaxNumVectorRegs()626 MaxNumAGPRs = MaxNumVGPRs = MaxVectorRegs; in getMaxNumVectorRegs()