Home
last modified time | relevance | path

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

/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp35 int LocalMemAvailable; member in __anoneb6af16f0111::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()
283 if (AllocaSize > LocalMemAvailable) { in visitAlloca()
296 LocalMemAvailable -= AllocaSize; in visitAlloca()