Home
last modified time | relevance | path

Searched refs:rtx_cost (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-10-stable/contrib/gcc/
Dpostreload.c268 old_cost = rtx_cost (src, SET); in reload_cse_simplify_set()
303 this_cost = rtx_cost (this_rtx, SET); in reload_cse_simplify_set()
311 this_cost = rtx_cost (this_rtx, SET); in reload_cse_simplify_set()
571 || (rtx_cost (recog_data.operand[i], SET) in reload_cse_simplify_operands()
572 > rtx_cost (testreg, SET)))) in reload_cse_simplify_operands()
1265 else if (rtx_cost (new_src, PLUS) < rtx_cost (src, SET) in reload_cse_move2add()
1347 else if ((rtx_cost (new_src, PLUS) in reload_cse_move2add()
1348 < COSTS_N_INSNS (1) + rtx_cost (src3, SET)) in reload_cse_move2add()
Dexpmed.c140 zero_cost = rtx_cost (const0_rtx, 0); in init_expmed()
226 add_cost[mode] = rtx_cost (&all.plus, SET); in init_expmed()
227 neg_cost[mode] = rtx_cost (&all.neg, SET); in init_expmed()
228 mul_cost[mode] = rtx_cost (&all.mult, SET); in init_expmed()
229 sdiv_cost[mode] = rtx_cost (&all.sdiv, SET); in init_expmed()
230 udiv_cost[mode] = rtx_cost (&all.udiv, SET); in init_expmed()
232 sdiv_pow2_cheap[mode] = (rtx_cost (&all.sdiv_32, SET) in init_expmed()
234 smod_pow2_cheap[mode] = (rtx_cost (&all.smod_32, SET) in init_expmed()
245 mul_widen_cost[wider_mode] = rtx_cost (&all.wide_mult, SET); in init_expmed()
246 mul_highpart_cost[mode] = rtx_cost (&all.wide_trunc, SET); in init_expmed()
[all …]
Ddojump.c147 return (rtx_cost (and_test, IF_THEN_ELSE) in prefer_and_bit_test()
148 <= rtx_cost (shift_test, IF_THEN_ELSE)); in prefer_and_bit_test()
Dloop-invariant.c643 inv->cost = rtx_cost (set, SET); in create_new_invariant()
645 inv->cost = rtx_cost (SET_SRC (set), SET); in create_new_invariant()
Dloop-doloop.c531 if (rtx_cost (desc->niter_expr, SET) > max_cost) in doloop_optimize()
Dcfgloopanal.c494 cost += rtx_cost (set, SET); in seq_cost()
Drtlanal.c3233 rtx_cost (rtx x, enum rtx_code outer_code ATTRIBUTE_UNUSED) in rtx_cost() function
3292 total += rtx_cost (XEXP (x, i), code); in rtx_cost()
3295 total += rtx_cost (XVECEXP (x, i, j), code); in rtx_cost()
3321 return rtx_cost (x, MEM); in default_address_cost()
4301 cost = rtx_cost (SET_SRC (set), SET); in insn_rtx_cost()
Dcombine.c5704 if (rtx_cost (x, SET) > rtx_cost (temp2, SET)) in expand_compound_operation()
5706 else if (rtx_cost (x, SET) > rtx_cost (temp, SET)) in expand_compound_operation()
6131 if (rtx_cost (temp, SET) <= rtx_cost (temp1, SET)) in make_extraction()
6325 if (rtx_cost (temp1, SET) < rtx_cost (temp, SET)) in make_extraction()
6974 if (rtx_cost (y, SET) < rtx_cost (x, SET)) in force_to_mode()
8118 && rtx_cost (tmp, SET) < rtx_cost (x, SET)) in distribute_and_simplify_rtx()
Doptabs.c1232 && rtx_cost (op0, binoptab->code) > COSTS_N_INSNS (1)) in expand_binop()
1240 && ! shift_op && rtx_cost (op1, binoptab->code) > COSTS_N_INSNS (1)) in expand_binop()
2156 && rtx_cost (op0, binoptab->code) > COSTS_N_INSNS (1)) in expand_twoval_binop()
2160 && rtx_cost (op1, binoptab->code) > COSTS_N_INSNS (1)) in expand_twoval_binop()
3607 && rtx_cost (x, COMPARE) > COSTS_N_INSNS (1)) in prepare_cmp_insn()
3611 && rtx_cost (y, COMPARE) > COSTS_N_INSNS (1)) in prepare_cmp_insn()
Dsimplify-rtx.c1601 return rtx_cost (tem, SET) <= rtx_cost (orig, SET) in simplify_binary_operation_1()
1795 return rtx_cost (tem, SET) <= rtx_cost (orig, SET) in simplify_binary_operation_1()
Dcse.c841 : rtx_cost (x, outer) * 2); in notreg_cost()
2904 && (rtx_cost (folded, MEM) > rtx_cost (addr, MEM) in find_best_addr()
Dexpr.c3346 oldcost = rtx_cost (y, SET); in compress_float_constant()
3348 oldcost = rtx_cost (force_const_mem (dstmode, y), SET); in compress_float_constant()
3375 newcost = rtx_cost (gen_rtx_FLOAT_EXTEND (dstmode, trunc_y), SET); in compress_float_constant()
3383 newcost = rtx_cost (gen_rtx_FLOAT_EXTEND (dstmode, trunc_y), SET); in compress_float_constant()
Drtl.h1048 extern int rtx_cost (rtx, enum rtx_code);
Dstmt.c2190 int cost = rtx_cost (gen_rtx_ASHIFT (word_mode, const1_rtx, reg), SET); in lshift_cheap_p()
Dcalls.c705 && rtx_cost (args[i].value, SET) > COSTS_N_INSNS (1) in precompute_register_parameters()
Difcvt.c1882 if (rtx_cost (t, SET) >= COSTS_N_INSNS (2) in noce_try_sign_mask()
DChangeLog-199749 * cse.c (rtx_cost): Remove conflicting default case.
207 * cse.c (rtx_cost): Add default case in enumeration switch.
Dtree-ssa-loop-ivopts.c2421 cost += rtx_cost (set, SET); in seq_cost()
DChangeLog-200415724 multiply sequence, including both a rtx_cost and a latency field.
15731 alg_sub_factor operations, latency is lower than the rtx_cost.
15735 to optain the total rtx_cost of a synth_mult "algorithm".
24008 requesting the rtx_cost of call and/or jump instructions.
24011 rtx_cost directly. Don't request/use the cost of call or jump
25573 (find_if_case_1): Compare rtx_cost of basic block to cost of
25817 (noce_try_sign_mask): Tweak rtx_cost check if t is evaluated anyway.
26692 rtx_cost instead of "had_mult" to determine whether the transformed
39230 (rtx_cost, address_cost, default_address_cost): Move from...
39231 * cse.c (rtx_cost, address_cost, default_address_cost):
[all …]
DChangeLog-19983598 * cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED.
14703 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
15023 * cse.c (rtx_cost): Provide a default case in an enumeration
DChangeLog-20008526 * cse.c (rtx_cost): Likewise.
9577 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
9718 * combine.c (make_extraction): Fix rtx_cost comparison to
9856 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
DFSFChangeLog.114770 * cse.c (find_best_addr): Add missing rtx_cost arguments.
11192 * i386.h (RTX_COSTS): rtx_cost should pass two parameters.
/freebsd-10-stable/contrib/gcc/config/i386/
Di386.c17949 + rtx_cost (op0, outer_code) + rtx_cost (op1, outer_code)); in ix86_rtx_costs()
17979 *total += rtx_cost (XEXP (XEXP (x, 0), 1), outer_code); in ix86_rtx_costs()
17980 *total += rtx_cost (XEXP (XEXP (XEXP (x, 0), 0), 0), in ix86_rtx_costs()
17982 *total += rtx_cost (XEXP (x, 1), outer_code); in ix86_rtx_costs()
17993 *total += rtx_cost (XEXP (XEXP (x, 0), 0), outer_code); in ix86_rtx_costs()
17994 *total += rtx_cost (XEXP (x, 1), outer_code); in ix86_rtx_costs()
18001 *total += rtx_cost (XEXP (XEXP (x, 0), 0), outer_code); in ix86_rtx_costs()
18002 *total += rtx_cost (XEXP (XEXP (x, 0), 1), outer_code); in ix86_rtx_costs()
18003 *total += rtx_cost (XEXP (x, 1), outer_code); in ix86_rtx_costs()
18023 + (rtx_cost (XEXP (x, 0), outer_code) in ix86_rtx_costs()
[all …]
/freebsd-10-stable/contrib/gcc/config/arm/
Darm.c4487 extra_cost = rtx_cost (XEXP (x, 0), code); in arm_rtx_costs_1()
4679 *total = COSTS_N_INSNS (2) + rtx_cost (XEXP (x, 0), code); in arm_size_rtx_costs()
4689 *total = COSTS_N_INSNS (3) + rtx_cost (XEXP (x, 0), code); in arm_size_rtx_costs()
4694 *total = COSTS_N_INSNS (1) + rtx_cost (XEXP (x, 0), code); in arm_size_rtx_costs()
4697 *total += 1 + rtx_cost (XEXP (x, 1), code); in arm_size_rtx_costs()
5054 *total = 4 + rtx_cost (XEXP (x, 0), code); in arm_xscale_rtx_costs()
/freebsd-10-stable/contrib/gcc/config/s390/
Ds390.c2149 *total += rtx_cost (XEXP (XEXP (x, 0), 0), MULT) in s390_rtx_costs()
2150 + rtx_cost (XEXP (XEXP (x, 0), 1), MULT) in s390_rtx_costs()
2151 + rtx_cost (XEXP (x, 1), code); in s390_rtx_costs()

12