summaryrefslogtreecommitdiff
path: root/gcc/resource.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-27 20:23:15 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-27 20:23:15 +0000
commit3e9f123748453342eae2fa9a1bcf63730429b38d (patch)
tree2a3db5cb69837af35662b42fa3a1b95b877158ed /gcc/resource.h
parent5496faf1f5e781229d4ea5cfb2d3a9295845f661 (diff)
downloadgcc-3e9f123748453342eae2fa9a1bcf63730429b38d.tar.gz
* Makefile.in (recog.o): Don't depend on resource.h.
* recog.c: Don't include resource.h. (recog_last_allowed_insn): Remove. (recog_next_insn): Remove. (struct peep2_insn_data): New. (peep2_insn_data, peep2_current): New. (peep2_next_insn): New. (peep2_regno_dead_p, peep2_reg_dead_p): New. (peep2_find_free_register): New. (peephole2_optimize): Track life information by insn as we go. * recog.h: Update declarations. * resource.c (find_free_register, reg_dead_p): Remove. * resource.h: Remove their declarations. * toplev.c: Include hard-reg-set.h before recog.h. * genconfig.c (max_insns_per_peep2): New. (gen_peephole2): New. (main): Call it. * genemit.c (output_peephole2_scratches): Generate calls to peep2_find_free_register; adjust surrounding code. (main): Have insn-emit.c include hard-reg-set.h before recog.h. * genrecog.c (change_state): Don't track last_insn. (write_action): Write into *_pmatch_len before accepting. (write_tree): Adjust peephole2_insns and subroutines to match. * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34208 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/resource.h')
-rw-r--r--gcc/resource.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/resource.h b/gcc/resource.h
index 718ec651341..4f0173102aa 100644
--- a/gcc/resource.h
+++ b/gcc/resource.h
@@ -50,6 +50,3 @@ extern void incr_ticks_for_insn PARAMS ((rtx));
extern void mark_end_of_function_resources PARAMS ((rtx, int));
extern void init_resource_info PARAMS ((rtx));
extern void free_resource_info PARAMS ((void));
-extern rtx find_free_register PARAMS ((rtx, rtx, const char *, int,
- HARD_REG_SET *));
-extern int reg_dead_p PARAMS ((rtx, rtx));