Rename existing insn_cost to insn_sched_cost
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 21 Sep 2017 14:32:34 +0000 (16:32 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 21 Sep 2017 14:32:34 +0000 (16:32 +0200)
commitffc1ded5a53aa5263083174e2140a61f923f4c50
tree770705f692d82cce1d8f1b8693bc20cdc5f22760
parenta0e27dc2aa25c98e15e109b2915545dfbe21f27f
Rename existing insn_cost to insn_sched_cost

haifa-sched exports an insn_cost function, but it is only used in a
few places and specialised to scheduling.  This patch renames it to
insn_sched_cost.

* haifa-sched.c: Rename insn_cost to insn_sched_cost.
* sched-rgn.c: Ditto.
* sel-sched-ir.c: Ditto.

From-SVN: r253072
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-int.h
gcc/sched-rgn.c
gcc/sel-sched-ir.c