Searched refs:CurrentLocalMemUsage (Results 1 – 1 of 1) sorted by relevance
98 uint32_t CurrentLocalMemUsage = 0; member in __anon98b3e5030111::AMDGPUPromoteAllocaImpl310 MaxVGPRs = getMaxVGPRs(CurrentLocalMemUsage, TM, F); in run()1439 CurrentLocalMemUsage = 0; in hasSufficientLocalMem()1446 CurrentLocalMemUsage = alignTo(CurrentLocalMemUsage, Alloc.second); in hasSufficientLocalMem()1447 CurrentLocalMemUsage += Alloc.first; in hasSufficientLocalMem()1451 ST.getWavesPerEU(ST.getFlatWorkGroupSizes(F), CurrentLocalMemUsage, F) in hasSufficientLocalMem()1459 if (CurrentLocalMemUsage > MaxSizeWithWaveCount) in hasSufficientLocalMem()1464 LLVM_DEBUG(dbgs() << F.getName() << " uses " << CurrentLocalMemUsage in hasSufficientLocalMem()1468 << " and " << (LocalMemLimit - CurrentLocalMemUsage) in hasSufficientLocalMem()1520 uint32_t NewSize = alignTo(CurrentLocalMemUsage, Alignment); in tryPromoteAllocaToLDS()[all …]