Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp35 int LocalMemAvailable; member in __anon1c2754250111::AMDGPUPromoteAlloca
39 LocalMemAvailable(0) { } in AMDGPUPromoteAlloca()
59 LocalMemAvailable = ST.getLocalMemorySize(); in runOnFunction()
69 LocalMemAvailable = 0; in runOnFunction()
76 if (LocalMemAvailable > 0) { in runOnFunction()
90 LocalMemAvailable -= in runOnFunction()
96 LocalMemAvailable = std::max(0, LocalMemAvailable); in runOnFunction()
97 DEBUG(dbgs() << LocalMemAvailable << "bytes free in local memory.\n"); in runOnFunction()
301 if (AllocaSize > LocalMemAvailable) { in visitAlloca()
314 LocalMemAvailable -= AllocaSize; in visitAlloca()