diff options
author | Stan Cox <scox@cygnus.com> | 2000-03-27 21:50:15 +0000 |
---|---|---|
committer | Stan Cox <scox@gcc.gnu.org> | 2000-03-27 21:50:15 +0000 |
commit | 73780b74b37175aa1c9afd20bfb81b66e6a96c1a (patch) | |
tree | f9c217d68b8377ff6f78d3a2446bf1ca4e70a082 /gcc/resource.h | |
parent | 4e2d1dbdd309f6b7aa3af8ae146bfbc3e2517cb0 (diff) | |
download | gcc-73780b74b37175aa1c9afd20bfb81b66e6a96c1a.zip gcc-73780b74b37175aa1c9afd20bfb81b66e6a96c1a.tar.gz gcc-73780b74b37175aa1c9afd20bfb81b66e6a96c1a.tar.bz2 |
resource.h (mark_resource_type): New.
* 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.
From-SVN: r32771
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 5c11e4c..718ec65 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)); |