diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-30 13:02:36 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-30 13:02:36 +0000 |
commit | f1a2a2d6175de77a1496bc5d80a17b877eea060c (patch) | |
tree | 64ab0426be79b2945213d9e8b897ba885a6fec73 /gcc/tree-chrec.h | |
parent | 3935110319b5867c63b1f40b588c7aa3e5a72ec5 (diff) | |
download | gcc-f1a2a2d6175de77a1496bc5d80a17b877eea060c.tar.gz |
* combine.c: Include "output.h" to define dump_file.
(uid_insn_cost, last_insn_cost): New global variables.
(combine_insn_cost): New function to estimate cost of an insn.
(combine_validate_cost): New function to determine whether a
try_combine replacement sequence is cheaper than the original.
(combine_instructions): Allocate and populate uid_insn_cost
array at the start of the combine pass, and deallocate it after.
(try_combine): Check combine_validate_cost to determine whether
a "recombination" should be rejected as being more expensive.
* Makefile.in (combine.o): Add dependency upon output.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83908 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-chrec.h')
0 files changed, 0 insertions, 0 deletions