rtl.h (set_rtx_cost, [...]): New functions.
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 18 Aug 2011 12:36:51 +0000 (12:36 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 18 Aug 2011 12:36:51 +0000 (12:36 +0000)
commitd51102f3e780e69e19c6d7eeb987647e4a8aff15
tree3787f76119cc3035cbfc30cc522d9e6e59efca62
parentfdb4f3153312d1195d699421d43fb34ba41e6a58
rtl.h (set_rtx_cost, [...]): New functions.

gcc/
* rtl.h (set_rtx_cost, get_full_set_rtx_cost): New functions.
* auto-inc-dec.c (attempt_change): Use set_rtx_cost.
* cfgloopanal.c (seq_cost): Likewise.
* loop-invariant.c (create_new_invariant): Likewise.
* postreload.c (move2add_use_add2_insn, move2add_use_add3_insn)
(reload_cse_move2add): Use get_full_set_rtx_cost.

From-SVN: r177850
gcc/ChangeLog
gcc/auto-inc-dec.c
gcc/cfgloopanal.c
gcc/loop-invariant.c
gcc/postreload.c
gcc/rtl.h