Re: LTO : question about get_untransformed_body

2019-12-06 Thread Richard Biener
On December 6, 2019 5:46:25 PM GMT+01:00, Erick Ochoa wrote: > > >On 2019-12-06 5:50 a.m., Richard Biener wrote: >> On Wed, Dec 4, 2019 at 6:03 PM Erick Ochoa >> wrote: >>> >>> >>> >>> On 2019-12-04 7:52 a.m., Richard Biener wrote: On Tue, Dec 3, 2019 at 11:51 PM Erick Ochoa wrote:

Re: LTO : question about get_untransformed_body

2019-12-06 Thread Erick Ochoa
On 2019-12-06 5:50 a.m., Richard Biener wrote: > On Wed, Dec 4, 2019 at 6:03 PM Erick Ochoa > wrote: >> >> >> >> On 2019-12-04 7:52 a.m., Richard Biener wrote: >>> On Tue, Dec 3, 2019 at 11:51 PM Erick Ochoa >>> wrote: Hi, I am trying to use the function:

Re: LTO : question about get_untransformed_body

2019-12-06 Thread Richard Biener
On Wed, Dec 4, 2019 at 6:03 PM Erick Ochoa wrote: > > > > On 2019-12-04 7:52 a.m., Richard Biener wrote: > > On Tue, Dec 3, 2019 at 11:51 PM Erick Ochoa > > wrote: > >> > >> Hi, > >> > >> I am trying to use the function: `cgraph_node::get_untransformed_body` > >> during > >> the wpa stage of a

Re: LTO : question about get_untransformed_body

2019-12-04 Thread Erick Ochoa
On 2019-12-04 7:52 a.m., Richard Biener wrote: > On Tue, Dec 3, 2019 at 11:51 PM Erick Ochoa > wrote: >> >> Hi, >> >> I am trying to use the function: `cgraph_node::get_untransformed_body` during >> the wpa stage of a SIMPLE_IPA_PASS transformation. While the execute function > > I think

Re: LTO : question about get_untransformed_body

2019-12-04 Thread Richard Biener
On Tue, Dec 3, 2019 at 11:51 PM Erick Ochoa wrote: > > Hi, > > I am trying to use the function: `cgraph_node::get_untransformed_body` during > the wpa stage of a SIMPLE_IPA_PASS transformation. While the execute function I think SIMPLE_IPA_PASSes have no "WPA" stage but run at LTRANS time (WPA

Re: LTO : question about get_untransformed_body

2019-12-04 Thread Martin Liška
CC'ing Honza and Martin.

LTO : question about get_untransformed_body

2019-12-03 Thread Erick Ochoa
Hi, I am trying to use the function: `cgraph_node::get_untransformed_body` during the wpa stage of a SIMPLE_IPA_PASS transformation. While the execute function is running, I need to access the body of a function in order to iterate over the gimple instructions in the first basic block. I have