Re: [PATCH 4/6] Add df_single_{def,use} helper functions

2014-06-14 Thread Steven Bosscher
On Sat, Jun 14, 2014 at 9:47 PM, Richard Sandiford wrote: > IRA wants to know whether a particular insn has a single def or use. > That seems worth putting in a utility function, again to hide the > underlying representation a bit. I would have sworn we already had functions for this, but apparent

[PATCH 4/6] Add df_single_{def,use} helper functions

2014-06-14 Thread Richard Sandiford
IRA wants to know whether a particular insn has a single def or use. That seems worth putting in a utility function, again to hide the underlying representation a bit. Richard gcc/ * df.h (df_single_def, df_single_use): New functions. * ira.c (find_moveable_pseudos): Use them. I