r211006 - in /trunk/gcc: ChangeLog cgraph.h fin...
vries@gcc.gnu.org
vries@gcc.gnu.org
Wed May 28 09:43:00 GMT 2014
Author: vries
Date: Wed May 28 09:43:11 2014
New Revision: 211006
URL: http://gcc.gnu.org/viewcvs?rev=211006&root=gcc&view=rev
Log:
-fuse-caller-save - Collect register usage information
2014-05-28 Radovan Obradovic <robradovic@mips.com>
Tom de Vries <tom@codesourcery.com>
* cgraph.h (struct cgraph_rtl_info): Add function_used_regs
and function_used_regs_valid fields.
* final.c: Move include of hard-reg-set.h to before rtl.h to declare
find_all_hard_reg_sets.
(collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
(get_call_reg_set_usage): New function.
(rest_of_handle_final): Use collect_fn_hard_reg_usage.
* regs.h (get_call_reg_set_usage): Declare.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.h
trunk/gcc/final.c
trunk/gcc/regs.h
More information about the Gcc-cvs
mailing list