Re: basic bloc chaining: using dominance

2011-05-12 Thread Richard Guenther
On Wed, May 11, 2011 at 10:03 PM, Ian Lance Taylor wrote: > Pierre Vittet writes: > >> First, thanks for your help. I have looked at several function using >> calculate_dominance_info(). From what I understand, when you have >> finish to use it, you have to clear the structure by making a >> free

Re: basic bloc chaining: using dominance

2011-05-11 Thread Ian Lance Taylor
Pierre Vittet writes: > First, thanks for your help. I have looked at several function using > calculate_dominance_info(). From what I understand, when you have > finish to use it, you have to clear the structure by making a > free_dominance_info(). > In the function flow_loops_find (file gcc/cfg

Re: basic bloc chaining: using dominance

2011-05-11 Thread Pierre Vittet
On 10/05/2011 16:23, Ian Lance Taylor wrote: Pierre Vittet writes: I am working on a plugin at the GIMPLE state, I am parsing basic blocks and I need to check that a call to foo() is only present once in a function. Howerver, it can be present several times if it is in different basic bloc

Re: basic bloc chaining: using dominance

2011-05-10 Thread Ian Lance Taylor
Pierre Vittet writes: > I am working on a plugin at the GIMPLE state, I am parsing basic > blocks and I need to check that a call to foo() is only present once > in a function. Howerver, it can be present several times if it is in > different basic blocks and only one is executed at execution tim

basic bloc chaining: using dominance

2011-05-10 Thread Pierre Vittet
Hello, I am working on a plugin at the GIMPLE state, I am parsing basic blocks and I need to check that a call to foo() is only present once in a function. Howerver, it can be present several times if it is in different basic blocks and only one is executed at execution time. I think the mos