Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp85 uint32_t CurrentLocalMemUsage = 0; member in __anon98b3e5030111::AMDGPUPromoteAllocaImpl
1345 CurrentLocalMemUsage = 0; in hasSufficientLocalMem()
1352 CurrentLocalMemUsage = alignTo(CurrentLocalMemUsage, Alloc.second); in hasSufficientLocalMem()
1353 CurrentLocalMemUsage += Alloc.first; in hasSufficientLocalMem()
1357 ST.getOccupancyWithLocalMemSize(CurrentLocalMemUsage, F); in hasSufficientLocalMem()
1380 if (CurrentLocalMemUsage > MaxSizeWithWaveCount) in hasSufficientLocalMem()
1385 LLVM_DEBUG(dbgs() << F.getName() << " uses " << CurrentLocalMemUsage in hasSufficientLocalMem()
1389 << " and " << (LocalMemLimit - CurrentLocalMemUsage) in hasSufficientLocalMem()
1441 uint32_t NewSize = alignTo(CurrentLocalMemUsage, Alignment); in tryPromoteAllocaToLDS()
1452 CurrentLocalMemUsage = NewSize; in tryPromoteAllocaToLDS()