Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp114 const int MaxUses = 10; in getStoredType() local
132 if (UseCount++ > MaxUses) in getStoredType()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp2340 auto isUsesAtMost = [&](unsigned Reg, unsigned MaxUses) { in shouldLocalize() argument
2343 for (; UI != UE && NumUses < MaxUses; ++UI) { in shouldLocalize()
2363 unsigned MaxUses = maxUses(RematCost); in shouldLocalize() local
2364 if (MaxUses == UINT_MAX) in shouldLocalize()
2366 bool B = isUsesAtMost(Reg, MaxUses); in shouldLocalize()