Home
last modified time | relevance | path

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

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dira-color.cc1108 int min_cost = INT_MAX; in setup_profitable_hard_regs() local
1132 else if (min_cost > costs[j]) in setup_profitable_hard_regs()
1133 min_cost = costs[j]; in setup_profitable_hard_regs()
1142 if (ALLOCNO_UPDATED_CLASS_COST (a) > min_cost) in setup_profitable_hard_regs()
1143 ALLOCNO_UPDATED_CLASS_COST (a) = min_cost; in setup_profitable_hard_regs()
1943 int cost, mem_cost, min_cost, full_cost, min_full_cost, nwords, word; in assign_hard_reg() local
2143 min_cost = min_full_cost = INT_MAX; in assign_hard_reg()
2177 if (min_cost > cost) in assign_hard_reg()
2178 min_cost = cost; in assign_hard_reg()
3145 int check, spill_cost, min_cost, nregs, conflict_nregs, r, best; in improve_allocation() local
[all …]
Dtree-ssa-loop-im.cc775 unsigned min_cost = UINT_MAX; in determine_max_movement() local
790 min_cost = MIN (min_cost, 1); in determine_max_movement()
804 min_cost = MIN (min_cost, def_data->cost); in determine_max_movement()
810 min_cost = MIN (min_cost, total_cost); in determine_max_movement()
811 lim_data->cost += min_cost; in determine_max_movement()
843 if (total_cost - min_cost >= 2 * LIM_EXPENSIVE in determine_max_movement()
844 && !(min_cost != 0 in determine_max_movement()
845 && total_cost / min_cost <= 2)) in determine_max_movement()
Dira-costs.cc2416 int cost, min_cost, *reg_costs; in ira_tune_allocno_costs() local
2432 min_cost = INT_MAX; in ira_tune_allocno_costs()
2472 if (min_cost > reg_costs[j]) in ira_tune_allocno_costs()
2473 min_cost = reg_costs[j]; in ira_tune_allocno_costs()
2476 if (min_cost != INT_MAX) in ira_tune_allocno_costs()
2477 ALLOCNO_CLASS_COST (a) = min_cost; in ira_tune_allocno_costs()
Dira.cc1080 int i, cost, min_cost, best_cost; in setup_class_translate_array() local
1112 min_cost = INT_MAX; in setup_class_translate_array()
1117 if (min_cost > cost) in setup_class_translate_array()
1118 min_cost = cost; in setup_class_translate_array()
1120 if (best_class == NO_REGS || best_cost > min_cost) in setup_class_translate_array()
1123 best_cost = min_cost; in setup_class_translate_array()