Re: Iterating over RTL in Graphite

2012-03-05 Thread Richard Guenther
On Mon, Mar 5, 2012 at 4:31 PM, Arnaldo wrote: > On Mon, Mar 5, 2012 at 11:17 AM, David Edelsohn wrote: >> On Mon, Mar 5, 2012 at 9:52 AM, Arnaldo wrote: >>> On Mon, Mar 5, 2012 at 10:00 AM, Michael Matz wrote: Hi, On Mon, 5 Mar 2012, Arnaldo wrote: > I couldn't get cfge

Re: Iterating over RTL in Graphite

2012-03-05 Thread Arnaldo
On Mon, Mar 5, 2012 at 11:17 AM, David Edelsohn wrote: > On Mon, Mar 5, 2012 at 9:52 AM, Arnaldo wrote: >> On Mon, Mar 5, 2012 at 10:00 AM, Michael Matz wrote: >>> Hi, >>> >>> On Mon, 5 Mar 2012, Arnaldo wrote: >>> I couldn't get cfgexpand.c:basic_block expand_gimple_basic_block (basic

Re: Iterating over RTL in Graphite

2012-03-05 Thread David Edelsohn
On Mon, Mar 5, 2012 at 9:52 AM, Arnaldo wrote: > On Mon, Mar 5, 2012 at 10:00 AM, Michael Matz wrote: >> Hi, >> >> On Mon, 5 Mar 2012, Arnaldo wrote: >> >>> I couldn't get cfgexpand.c:basic_block expand_gimple_basic_block >>> (basic_block bb) to work by calling it directly because there is some >

Re: Iterating over RTL in Graphite

2012-03-05 Thread Richard Guenther
On Mon, Mar 5, 2012 at 3:52 PM, Arnaldo wrote: > On Mon, Mar 5, 2012 at 10:00 AM, Michael Matz wrote: >> Hi, >> >> On Mon, 5 Mar 2012, Arnaldo wrote: >> >>> I couldn't get cfgexpand.c:basic_block expand_gimple_basic_block >>> (basic_block bb) to work by calling it directly because there is some >

Re: Iterating over RTL in Graphite

2012-03-05 Thread Arnaldo
On Mon, Mar 5, 2012 at 10:00 AM, Michael Matz wrote: > Hi, > > On Mon, 5 Mar 2012, Arnaldo wrote: > >> I couldn't get cfgexpand.c:basic_block expand_gimple_basic_block >> (basic_block bb) to work by calling it directly because there is some >> preprocessing in gimple_expand_cfg() that has to be do

Re: Iterating over RTL in Graphite

2012-03-05 Thread Michael Matz
Hi, On Mon, 5 Mar 2012, Arnaldo wrote: > I couldn't get cfgexpand.c:basic_block expand_gimple_basic_block > (basic_block bb) to work by calling it directly because there is some > preprocessing in gimple_expand_cfg() that has to be done first. But > calling gimple_expand_cfg() modifies the CF

Re: Iterating over RTL in Graphite

2012-03-05 Thread Richard Guenther
On Mon, Mar 5, 2012 at 2:51 PM, Arnaldo wrote: > On Sat, Feb 18, 2012 at 6:46 PM, Arnaldo wrote: >> On Fri, Feb 17, 2012 at 10:15 PM, Tobias Grosser wrote: >>> On 02/17/2012 08:34 PM, David Malcolm wrote: On Thu, 2012-02-16 at 19:17 -0400, Arnaldo wrote: > > Hello everyone, >>>

Re: Iterating over RTL in Graphite

2012-03-05 Thread Arnaldo
On Sat, Feb 18, 2012 at 6:46 PM, Arnaldo wrote: > On Fri, Feb 17, 2012 at 10:15 PM, Tobias Grosser wrote: >> On 02/17/2012 08:34 PM, David Malcolm wrote: >>> >>> On Thu, 2012-02-16 at 19:17 -0400, Arnaldo wrote: Hello everyone, I'm working on an extension to the Graphite pass

Re: Iterating over RTL in Graphite

2012-02-18 Thread Arnaldo
On Fri, Feb 17, 2012 at 10:15 PM, Tobias Grosser wrote: > On 02/17/2012 08:34 PM, David Malcolm wrote: >> >> On Thu, 2012-02-16 at 19:17 -0400, Arnaldo wrote: >>> >>> Hello everyone, >>> >>> I'm working on an extension to the Graphite pass of GCC 4.4.0.  My >>> intention is to associate costs to R

Re: Iterating over RTL in Graphite

2012-02-17 Thread Tobias Grosser
On 02/17/2012 08:34 PM, David Malcolm wrote: On Thu, 2012-02-16 at 19:17 -0400, Arnaldo wrote: Hello everyone, I'm working on an extension to the Graphite pass of GCC 4.4.0. My intention is to associate costs to RTL instructions by adding them as RTX attributes to a machine description file, a

Re: Iterating over RTL in Graphite

2012-02-17 Thread David Malcolm
On Thu, 2012-02-16 at 19:17 -0400, Arnaldo wrote: > Hello everyone, > > I'm working on an extension to the Graphite pass of GCC 4.4.0. My > intention is to associate costs to RTL instructions by adding them as > RTX attributes to a machine description file, and to read them back > during the Grap