diff options
author | Bin Cheng <bin.cheng@arm.com> | 2012-11-12 02:17:38 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2012-11-12 02:17:38 +0000 |
commit | 4b8181c5877bf2732c983b63342f40bd88171c2d (patch) | |
tree | 40b643468baab7f01d4d0c42584076eb891615cd /gcc/tree-pass.h | |
parent | 6ba9e4013545a8af604d49f59a33fd53848e94a0 (diff) | |
download | gcc-4b8181c5877bf2732c983b63342f40bd88171c2d.zip gcc-4b8181c5877bf2732c983b63342f40bd88171c2d.tar.gz gcc-4b8181c5877bf2732c983b63342f40bd88171c2d.tar.bz2 |
gcse.c (struct bb_data): Add new fields, old_pressure, live_in and backup.
* gcse.c (struct bb_data): Add new fields, old_pressure, live_in
and backup.
(get_regno_pressure_class): Add prototype.
(update_bb_reg_pressure): New.
(should_hoist_expr_to_dom): Add new parameter from.
Monitor the change of reg pressure and use it to drive hoisting.
(hoist_code): Update LIVE and reg pressure information.
(calculate_bb_reg_pressure): Initialize live_in and backup.
* gcc.dg/hoist-register-pressure-3.c: New test.
From-SVN: r193425
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions