Searched refs:cost_val (Results 1 – 3 of 3) sorted by relevance
26 unsigned *cost_val; member37 cost_val = new unsigned[10]; in COST()48 if (cost_val) in ~COST()49 delete [] cost_val; in ~COST()
539 const double cost_val = distance_cost + GetLengthCost(cost_model, k); in BackwardReferencesHashChainDistanceOnly() local540 if (cost[i + k] > cost_val) { in BackwardReferencesHashChainDistanceOnly()541 cost[i + k] = (float)cost_val; in BackwardReferencesHashChainDistanceOnly()575 double cost_val = prev_cost; in BackwardReferencesHashChainDistanceOnly() local578 cost_val += GetCacheCost(cost_model, ix) * mul0; in BackwardReferencesHashChainDistanceOnly()580 cost_val += GetLiteralCost(cost_model, argb[i]) * mul1; in BackwardReferencesHashChainDistanceOnly()582 if (cost[i] > cost_val) { in BackwardReferencesHashChainDistanceOnly()583 cost[i] = (float)cost_val; in BackwardReferencesHashChainDistanceOnly()
566 double cost_val = prev_cost; in AddSingleLiteralWithCostModel() local574 cost_val += GetCacheCost(cost_model, ix) * mul0; in AddSingleLiteralWithCostModel()578 cost_val += GetLiteralCost(cost_model, color) * mul1; in AddSingleLiteralWithCostModel()580 if (cost[idx] > cost_val) { in AddSingleLiteralWithCostModel()581 cost[idx] = (float)cost_val; in AddSingleLiteralWithCostModel()643 const double cost_val = distance_cost + GetLengthCost(cost_model, k); in BackwardReferencesHashChainDistanceOnly() local644 if (cost[i + k] > cost_val) { in BackwardReferencesHashChainDistanceOnly()645 cost[i + k] = (float)cost_val; in BackwardReferencesHashChainDistanceOnly()