Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSplitModule.cpp193 CostType ModuleCost = 0; in calculateFunctionCosts() local
219 assert((ModuleCost + FnCost) >= ModuleCost && "Overflow!"); in calculateFunctionCosts()
220 ModuleCost += FnCost; in calculateFunctionCosts()
229 assert(ModuleCost); in calculateFunctionCosts()
231 const CostType FnCost = ModuleCost - KernelCost; in calculateFunctionCosts()
232 dbgs() << " - total module cost is " << ModuleCost << ". kernels cost " in calculateFunctionCosts()
234 << format("%0.2f", (float(KernelCost) / ModuleCost) * 100) in calculateFunctionCosts()
236 << format("%0.2f", (float(FnCost) / ModuleCost) * 100) in calculateFunctionCosts()
240 return ModuleCost; in calculateFunctionCosts()
307 CostType ModuleCost) in SplitGraph() argument
[all …]