diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-08-30 15:28:18 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-08-30 15:28:18 +0000 |
commit | 33845ca96bdaa9510cfb041540a45c3e8be6c477 (patch) | |
tree | bc69488d125557e352f5d02d91a2fdac5505faa3 /gcc/df.h | |
parent | bd4288c02b487cc8a9afcfa9c21bfe594a78e26d (diff) | |
download | gcc-33845ca96bdaa9510cfb041540a45c3e8be6c477.zip gcc-33845ca96bdaa9510cfb041540a45c3e8be6c477.tar.gz gcc-33845ca96bdaa9510cfb041540a45c3e8be6c477.tar.bz2 |
Drop df_ from df_read_modify_subreg_p
...it's really a general RTL predicate, rather than something that depends
on the DF state. Thanks to Segher for the suggestion.
2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* df.h (df_read_modify_subreg_p): Remove in favor of...
* rtl.h (read_modify_subreg_p): ...this new function. Take a
const_rtx instead of an rtx.
* cprop.c (local_cprop_find_used_regs): Update accordingly.
* df-problems.c (df_word_lr_mark_ref): Likewise.
* ira-lives.c (mark_pseudo_reg_live): Likewise.
(mark_pseudo_reg_dead): Likewise.
(mark_ref_dead): Likewise.
* reginfo.c (init_subregs_of_mode): Likewise.
* sched-deps.c (sched_analyze_1): Likewise.
* df-scan.c (df_def_record_1): Likewise.
(df_uses_record): Likewise.
(df_read_modify_subreg_p): Remove in favor of...
* rtlanal.c (read_modify_subreg_p): ...this new function. Take a
const_rtx instead of an rtx.
From-SVN: r251537
Diffstat (limited to 'gcc/df.h')
-rw-r--r-- | gcc/df.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1080,7 +1080,6 @@ extern unsigned int df_hard_reg_used_count (unsigned int); extern bool df_regs_ever_live_p (unsigned int); extern void df_set_regs_ever_live (unsigned int, bool); extern void df_compute_regs_ever_live (bool); -extern bool df_read_modify_subreg_p (rtx); extern void df_scan_verify (void); |