Lines Matching refs:ModuleCost
226 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()
661 const CostType ModuleCost = calculateFunctionCosts(SML, GetTTI, M, FnCosts); in splitAMDGPUModule() local
719 auto Partitions = doPartitioning(SML, M, N, ModuleCost, FnCosts, WorkList); in splitAMDGPUModule()