aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-06-10 10:32:45 -0600
committerJeff Law <law@gcc.gnu.org>2002-06-10 10:32:45 -0600
commitbf1660a67066f9ad75d368466f5be15cc23a6ca1 (patch)
treeb6731a46c8b99043d03fbda9812dc896be80aba5 /gcc/rtl.h
parent8dc5848454ac4c24ce5a3fead6dd4e4ef4cb3a2f (diff)
downloadgcc-bf1660a67066f9ad75d368466f5be15cc23a6ca1.zip
gcc-bf1660a67066f9ad75d368466f5be15cc23a6ca1.tar.gz
gcc-bf1660a67066f9ad75d368466f5be15cc23a6ca1.tar.bz2
alias.c (static_reg_base_value): New to hold RTL for items allocated once per function for the aliasing code.
* alias.c (static_reg_base_value): New to hold RTL for items allocated once per function for the aliasing code. (init_alias_once_per_function): Initialize static_reg_base_value. (init_alias_analysis): Avoid throw-away allocations of RTL by using pre-computed values in static_reg_base_value. * function.c (prepare_function_start): Call init_alias_once_per_function appropriately. * rtl.h (init_alias_once_per_function): Declare. * caller-save (init_caller_save): Restructure slightly to avoid lots of silly RTL generation. * expr.c (init_expr_once): Likewise. * reload1.c (reload_cse_regs_1): Allocate throw-away register RTL object here. Pass it into children. (reload_cse_simplify_operands): Use passed-in register RTL object. (reload_cse_simplify): Pass through throw-away register RTL object. From-SVN: r54442
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 314adf1..ee4e093 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2166,6 +2166,7 @@ extern int anti_dependence PARAMS ((rtx, rtx));
extern int output_dependence PARAMS ((rtx, rtx));
extern void mark_constant_function PARAMS ((void));
extern void init_alias_once PARAMS ((void));
+extern void init_alias_once_per_function PARAMS ((void));
extern void init_alias_analysis PARAMS ((void));
extern void end_alias_analysis PARAMS ((void));
extern rtx addr_side_effect_eval PARAMS ((rtx, int, int));