Lines Matching defs:ModuleCost
193 CostType ModuleCost = 0;
218 assert((ModuleCost + FnCost) >= ModuleCost && "Overflow!");
219 ModuleCost += FnCost;
228 assert(ModuleCost);
230 const CostType FnCost = ModuleCost - KernelCost;
231 dbgs() << " - total module cost is " << ModuleCost << ". kernels cost "
233 << format("%0.2f", (float(KernelCost) / ModuleCost) * 100)
235 << format("%0.2f", (float(FnCost) / ModuleCost) * 100)
239 return ModuleCost;
306 CostType ModuleCost)
307 : M(M), CostMap(CostMap), ModuleCost(ModuleCost) {}
326 CostType getModuleCost() const { return ModuleCost; }
344 CostType ModuleCost;
878 CostType ModuleCost = SG->getModuleCost();
879 CodeSizeScore = double(TotalCost) / ModuleCost;
882 BottleneckScore = double(LargestPCost) / ModuleCost;
1295 unsigned PartCost, unsigned ModuleCost) {
1308 OS << "Partition contains " << formatRatioOf(PartCost, ModuleCost)
1421 const CostType ModuleCost = calculateFunctionCosts(GetTTI, M, FnCosts);
1425 SplitGraph SG(M, FnCosts, ModuleCost);
1517 printPartitionSummary(*SummariesOS, PID, *MPart, PartCost, ModuleCost);
1520 printPartitionSummary(dbgs(), PID, *MPart, PartCost, ModuleCost));