Searched refs:MaxUses (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp137 const int MaxUses = 10; local
142 if (UseCount > MaxUses)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp2153 auto isUsesAtMost = [&](unsigned Reg, unsigned MaxUses) {
2156 for (; UI != UE && NumUses < MaxUses; ++UI) {
2159 // If we haven't reached the end yet then there are more than MaxUses users.
2176 unsigned MaxUses = maxUses(RematCost); local
2177 if (MaxUses == UINT_MAX)
2179 bool B = isUsesAtMost(Reg, MaxUses);

Completed in 113 milliseconds