Home
last modified time | relevance | path

Searched refs:MaxVectorRegs (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp101 unsigned MaxVectorRegs; member in __anon98b3e5030111::AMDGPUPromoteAllocaImpl
290 MaxVectorRegs = F.getFnAttributeAsParsedInteger( in setFunctionLimits()
293 MaxVectorRegs = PromoteAllocaToVectorMaxRegs; in setFunctionLimits()
837 (MaxVectorRegs * 32) / DL->getTypeSizeInBits(VectorTy->getElementType()); in tryPromoteAllocaToVector()
H A DSIRegisterInfo.cpp575 const unsigned MaxVectorRegs = ST.getMaxNumVGPRs(MF); in getMaxNumVectorRegs() local
577 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()