make dead_or_set_{,regno_}p take rtx_insn *
gcc/ChangeLog: 2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * rtl.h: Adjust prototype. * rtlanal.c (dead_or_set_p): Change argument type to rtx_insn *. (dead_or_set_regno_p): Likewise. From-SVN: r242657
This commit is contained in:
parent
2059d0e97d
commit
bacca1274c
@ -1,3 +1,9 @@
|
||||
2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||
|
||||
* rtl.h: Adjust prototype.
|
||||
* rtlanal.c (dead_or_set_p): Change argument type to rtx_insn *.
|
||||
(dead_or_set_regno_p): Likewise.
|
||||
|
||||
2016-11-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||
|
||||
* rtl.h: Adjust prototype.
|
||||
|
@ -3007,8 +3007,8 @@ extern void find_all_hard_regs (const_rtx, HARD_REG_SET *);
|
||||
extern void find_all_hard_reg_sets (const rtx_insn *, HARD_REG_SET *, bool);
|
||||
extern void note_stores (const_rtx, void (*) (rtx, const_rtx, void *), void *);
|
||||
extern void note_uses (rtx *, void (*) (rtx *, void *), void *);
|
||||
extern int dead_or_set_p (const_rtx, const_rtx);
|
||||
extern int dead_or_set_regno_p (const_rtx, unsigned int);
|
||||
extern int dead_or_set_p (const rtx_insn *, const_rtx);
|
||||
extern int dead_or_set_regno_p (const rtx_insn *, unsigned int);
|
||||
extern rtx find_reg_note (const_rtx, enum reg_note, const_rtx);
|
||||
extern rtx find_regno_note (const_rtx, enum reg_note, unsigned int);
|
||||
extern rtx find_reg_equal_equiv_note (const_rtx);
|
||||
|
@ -1945,7 +1945,7 @@ note_uses (rtx *pbody, void (*fun) (rtx *, void *), void *data)
|
||||
by INSN. */
|
||||
|
||||
int
|
||||
dead_or_set_p (const_rtx insn, const_rtx x)
|
||||
dead_or_set_p (const rtx_insn *insn, const_rtx x)
|
||||
{
|
||||
unsigned int regno, end_regno;
|
||||
unsigned int i;
|
||||
@ -2019,7 +2019,7 @@ covers_regno_p (const_rtx dest, unsigned int test_regno)
|
||||
/* Utility function for dead_or_set_p to check an individual register. */
|
||||
|
||||
int
|
||||
dead_or_set_regno_p (const_rtx insn, unsigned int test_regno)
|
||||
dead_or_set_regno_p (const rtx_insn *insn, unsigned int test_regno)
|
||||
{
|
||||
const_rtx pattern;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user