Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSplitModule.cpp233 CostType FnCost = 0; in calculateFunctionCosts() local
243 assert((FnCost + CostVal) >= FnCost && "Overflow!"); in calculateFunctionCosts()
244 FnCost += CostVal; in calculateFunctionCosts()
248 assert(FnCost != 0); in calculateFunctionCosts()
250 CostMap[&Fn] = FnCost; in calculateFunctionCosts()
251 assert((ModuleCost + FnCost) >= ModuleCost && "Overflow!"); in calculateFunctionCosts()
252 ModuleCost += FnCost; in calculateFunctionCosts()
255 KernelCost += FnCost; in calculateFunctionCosts()
258 CostType FnCost = (ModuleCost - KernelCost); in calculateFunctionCosts() local
263 << " => FnsCost: " << FnCost << " (" in calculateFunctionCosts()
[all …]