diff options
author | scox <scox@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-27 21:50:15 +0000 |
---|---|---|
committer | scox <scox@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-27 21:50:15 +0000 |
commit | d21373270e4e1e74c194a06641bad4d28d29dd8b (patch) | |
tree | f9c217d68b8377ff6f78d3a2446bf1ca4e70a082 /gcc/resource.h | |
parent | 2e3a610c4a261ae5252d7947f74c70951300fd7a (diff) | |
download | gcc-d21373270e4e1e74c194a06641bad4d28d29dd8b.tar.gz |
* resource.h (mark_resource_type): New.
* resource.c (find_dead_or_set_registers, mark_target_live_regs,
find_free_register): Use mark_resource_type.
(mark_set_resources): Change include_delayed_effects
to mark_resource_type.
* reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
Use mark_resource_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32771 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/resource.h')
-rw-r--r-- | gcc/resource.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/resource.h b/gcc/resource.h index 5c11e4c061b..718ec651341 100644 --- a/gcc/resource.h +++ b/gcc/resource.h @@ -33,9 +33,17 @@ struct resources HARD_REG_SET regs; /* Which registers are set or needed. */ }; +/* The kinds of rtl mark_*_resources will consider */ +enum mark_resource_type +{ + MARK_SRC_DEST = 0, + MARK_SRC_DEST_CALL = 1, + MARK_DEST = 2 +}; + extern void mark_target_live_regs PARAMS ((rtx, rtx, struct resources *)); extern void mark_set_resources PARAMS ((rtx, struct resources *, int, - int)); + enum mark_resource_type)); extern void mark_referenced_resources PARAMS ((rtx, struct resources *, int)); extern void clear_hashed_info_for_insn PARAMS ((rtx)); extern void incr_ticks_for_insn PARAMS ((rtx)); |