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.cpp200 CostType FnCost = 0; in calculateFunctionCosts() local
211 assert((FnCost + CostVal) >= FnCost && "Overflow!"); in calculateFunctionCosts()
212 FnCost += CostVal; in calculateFunctionCosts()
216 assert(FnCost != 0); in calculateFunctionCosts()
218 CostMap[&Fn] = FnCost; in calculateFunctionCosts()
219 assert((ModuleCost + FnCost) >= ModuleCost && "Overflow!"); in calculateFunctionCosts()
220 ModuleCost += FnCost; in calculateFunctionCosts()
223 KernelCost += FnCost; in calculateFunctionCosts()
231 const CostType FnCost = ModuleCost - KernelCost; in calculateFunctionCosts()
235 << "% of the module), functions cost " << FnCost << " (" in calculateFunctionCosts()
[all …]