aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-04-16 16:08:04 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-04-16 16:08:04 +0000
commitefc0b2bd809d65e812b3022623b5e5adbc681ba2 (patch)
tree3ebbcbf49394dbd129b5e797695277272a56d921 /gcc/rtl.h
parent6080348f0a75caa10df4208617d9247d56e85329 (diff)
downloadgcc-efc0b2bd809d65e812b3022623b5e5adbc681ba2.zip
gcc-efc0b2bd809d65e812b3022623b5e5adbc681ba2.tar.gz
gcc-efc0b2bd809d65e812b3022623b5e5adbc681ba2.tar.bz2
rtlanal.c (alloc_reg_note): New function, broken out of add_reg_note.
* rtlanal.c (alloc_reg_note): New function, broken out of add_reg_note. (add_reg_note): Call alloc_reg_note. * rtl.h (alloc_reg_note): Declare. * combine.c (try_combine): Use alloc_reg_note. (recog_for_combine, move_deaths): Likewise. (distribute_notes): Use alloc_reg_note and add_reg_note. * haifa-sched.c (sched_create_recovery_edges): Use add_reg_note. * combine-stack-adj.c (adjust_frame_related_expr): Likewise. * reload1.c (eliminate_regs_1): Use alloc_reg_note. From-SVN: r146201
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index bdb41d6..de9e711 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1759,6 +1759,7 @@ extern rtx find_reg_equal_equiv_note (const_rtx);
extern rtx find_constant_src (const_rtx);
extern int find_reg_fusage (const_rtx, enum rtx_code, const_rtx);
extern int find_regno_fusage (const_rtx, enum rtx_code, unsigned int);
+extern rtx alloc_reg_note (enum reg_note, rtx, rtx);
extern void add_reg_note (rtx, enum reg_note, rtx);
extern void remove_note (rtx, const_rtx);
extern void remove_reg_equal_equiv_notes (rtx);