diff options
author | Radovan Obradovic <robradovic@mips.com> | 2014-05-28 09:43:11 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2014-05-28 09:43:11 +0000 |
commit | 27c07cc5d06c0f74d147c14c6a4b0b071266e774 (patch) | |
tree | adc9457c04ab6c4cb81a5e67f444ea92a7ebf3e8 /gcc/expr.c | |
parent | ca48e5efaee333309fcc62c9afbc65b7d5952d3d (diff) | |
download | gcc-27c07cc5d06c0f74d147c14c6a4b0b071266e774.zip gcc-27c07cc5d06c0f74d147c14c6a4b0b071266e774.tar.gz gcc-27c07cc5d06c0f74d147c14c6a4b0b071266e774.tar.bz2 |
-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.
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r211006
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions