Home
last modified time | relevance | path

Searched refs:add_cost (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/gnu/gcc/gcc/
Dexpmed.c101 static int add_cost[NUM_MACHINE_MODES]; variable
226 add_cost[mode] = rtx_cost (&all.plus, SET); in init_expmed()
233 <= 2 * add_cost[mode]); in init_expmed()
235 <= 4 * add_cost[mode]); in init_expmed()
250 shiftadd_cost[mode][0] = shiftsub_cost[mode][0] = add_cost[mode]; in init_expmed()
2221 && shift_cost[mode][INTVAL (op1)] > INTVAL (op1) * add_cost[mode] in expand_shift()
2589 op_cost = m * add_cost[mode]; in synth_mult()
2632 op_cost = add_cost[mode]; in synth_mult()
2652 op_cost = add_cost[mode]; in synth_mult()
2697 op_cost = add_cost[mode] + shift_cost[mode][m]; in synth_mult()
[all …]
Dtree-ssa-loop-ivopts.c3222 add_cost (enum machine_mode mode) in add_cost() function
3493 add_c = add_cost (Pmode); in get_address_cost()
3554 cost += add_cost (Pmode); in get_address_cost()
3663 cost = add_cost (mode); in force_expr_to_var_cost()
3783 cost += add_cost (Pmode); in ptr_difference_cost()
3834 cost += add_cost (mode); in difference_cost()
3950 cost += add_cost (TYPE_MODE (ctype)); in get_computation_cost_at()
3987 return cost + n_sums * add_cost (TYPE_MODE (ctype)); in get_computation_cost_at()
4354 cost_step = add_cost (TYPE_MODE (TREE_TYPE (base))); in determine_iv_cost()
Dtree-ssa-loop-im.c376 bool add_cost) in add_dependency() argument
396 if (add_cost in add_dependency()
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dexpmed.c95 static int add_cost, negate_cost, zero_cost; variable
119 add_cost = rtx_cost (gen_rtx_PLUS (word_mode, reg, reg), SET); in init_expmed()
142 shiftadd_cost[0] = shiftsub_cost[0] = add_cost; in init_expmed()
166 <= 2 * add_cost); in init_expmed()
169 <= 2 * add_cost); in init_expmed()
2183 cost = add_cost;
2200 cost = add_cost;
2232 cost = MIN (shiftadd_cost[m], add_cost + shift_cost[m]);
2251 cost = MIN (shiftsub_cost[m], add_cost + shift_cost[m]);
2391 mult_cost = MIN (12 * add_cost, mult_cost);
[all …]
Dloop.c4978 int add_cost; local
4983 add_cost = iv_add_mult_cost (bl->biv->add_val, v->mult_val,
5008 benefit -= add_cost * bl->biv_count;
5029 benefit += add_cost * bl->biv_count;
5032 benefit += add_cost * bl->biv_count;
5035 benefit += add_cost * bl->biv_count;
5038 benefit += add_cost * bl->biv_count;
DChangeLog.49579 (add_cost, shift_cost, mult_cost): Delete variables.
9580 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
9581 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
DFSFChangeLog.10744 * loop.c (init_loop): Use pseudo reg in add_cost computation
/openbsd/src/gnu/usr.bin/gcc/gcc/config/arm/
Darm.c2837 int add_cost = const_ok_for_arm (i) ? 4 : 8; local
2846 add_cost += 2;
2849 return add_cost;