Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp40 uint32_t CurrentLocalMemUsage; member in __anonac104f420111::AMDGPUPromoteAlloca
72 CurrentLocalMemUsage(0), in AMDGPUPromoteAlloca()
153 CurrentLocalMemUsage = 0; in runOnFunction()
173 CurrentLocalMemUsage = alignTo(CurrentLocalMemUsage, Align); in runOnFunction()
174 CurrentLocalMemUsage += AllocSize; in runOnFunction()
180 unsigned MaxOccupancy = ST.getOccupancyWithLocalMemSize(CurrentLocalMemUsage); in runOnFunction()
205 if (CurrentLocalMemUsage > MaxSizeWithWaveCount) in runOnFunction()
211 dbgs() << F.getName() << " uses " << CurrentLocalMemUsage << " bytes of LDS\n" in runOnFunction()
214 << " and " << (LocalMemLimit - CurrentLocalMemUsage) in runOnFunction()
668 uint32_t NewSize = alignTo(CurrentLocalMemUsage, Align); in handleAlloca()
[all …]