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.cpp226 CostType ModuleCost = 0; in calculateFunctionCosts() local
251 assert((ModuleCost + FnCost) >= ModuleCost && "Overflow!"); in calculateFunctionCosts()
252 ModuleCost += FnCost; in calculateFunctionCosts()
258 CostType FnCost = (ModuleCost - KernelCost); in calculateFunctionCosts()
259 CostType ModuleCostOr1 = ModuleCost ? ModuleCost : 1; in calculateFunctionCosts()
260 SML << "=> Total Module Cost: " << ModuleCost << '\n' in calculateFunctionCosts()
266 return ModuleCost; in calculateFunctionCosts()
438 CostType ModuleCost, in doPartitioning() argument
452 LargeFnFactor ? CostType(((ModuleCost / NumParts) * LargeFnFactor)) in doPartitioning()
576 << format("%0.2f", (float(Cost) / ModuleCost) * 100) in doPartitioning()
[all …]