Re: [PATCH 199/236] Introduce rtx_insn_list subclass of rtx_def

2014-08-30 Thread Jeff Law
On 08/07/14 09:33, David Malcolm wrote: On Wed, 2014-08-06 at 21:29 -0400, Trevor Saunders wrote: On Wed, Aug 06, 2014 at 01:22:58PM -0400, David Malcolm wrote: +class GTY(()) rtx_insn_list : public rtx_def +{ + /* No extra fields, but adds invariant: (GET_CODE (X) == INSN_LIST). some nice

Re: [PATCH 199/236] Introduce rtx_insn_list subclass of rtx_def

2014-08-07 Thread David Malcolm
On Wed, 2014-08-06 at 21:29 -0400, Trevor Saunders wrote: On Wed, Aug 06, 2014 at 01:22:58PM -0400, David Malcolm wrote: +class GTY(()) rtx_insn_list : public rtx_def +{ + /* No extra fields, but adds invariant: (GET_CODE (X) == INSN_LIST). some nice future work would be to see if these

[PATCH 199/236] Introduce rtx_insn_list subclass of rtx_def

2014-08-06 Thread David Malcolm
gcc/ * coretypes.h (class rtx_insn_list): Add forward declaration. * rtl.h (class rtx_insn_list): New subclass of rtx_def (is_a_helper rtx_insn_list *::test): New. (rtx_insn_list::next): New. (rtx_insn_list::insn): New. (gen_rtx_INSN_LIST): Add