diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-10-09 21:47:08 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-10-09 21:47:08 +0200 |
commit | 94105f5c8a20973e49579064e7ae3ac2013117e8 (patch) | |
tree | 46d4eeedf16f01b3fe51f63b1b3526fefd6280e6 /gcc/ada/rtinit.c | |
parent | a6f9eb8d9b3d83cb174c828d36050a0d1b97867c (diff) | |
download | gcc-94105f5c8a20973e49579064e7ae3ac2013117e8.zip gcc-94105f5c8a20973e49579064e7ae3ac2013117e8.tar.gz gcc-94105f5c8a20973e49579064e7ae3ac2013117e8.tar.bz2 |
Add targetm.insn_cost hook
This adds a new hook that the insn_cost function uses if a target has
implemented it (it uses the old pattern_cost nee insn_rtx_cost if not).
* target.def (insn_cost): New hook.
* doc/tm.texi.in (TARGET_INSN_COST): New hook.
* doc/tm.texi: Regenerate.
* rtlanal.c (insn_cost): Use the new hook.
From-SVN: r253562
Diffstat (limited to 'gcc/ada/rtinit.c')
0 files changed, 0 insertions, 0 deletions