Pipe Line

2013-01-18 Thread Chassin
Hi , i am trying to understand the Gcc 4.6 pipeline everything was good tell i arrived to lang_hooks.parse_file , i cant figuration if this is right or what (CALL)- finich_function { cgraph_finilize_function - cgraph_analize_function {cgraph_lower_function}} ? -- Chaddy Huussin

Remove node from cgraph

2013-01-20 Thread Chassin
Hi ,i am developing a simple plugin that allows me to delete a node from the cgraph that match a specific pattern but when i delete the node using cgraph_remove_node , it seams to delete it ( by printing the cgraph again it doesn't appear ) , but in the compiled file it exist my plugin is

cgraph instrumentation

2013-01-24 Thread Chassin
On Thu, Jan 24, 2013 at 7:35 AM, Chassin chas...@ceis.cujae.edu.cu wrote: i am going slowly i started with gcc flow , data structure and passes .As Java is my best language , i am dealing with advanced c / c++ learning curve at same time , one of my targets now is understanding the cgraph data

cgraph instrumentation

2013-01-24 Thread Chassin
On Thu, Jan 24, 2013 at 4:46 AM, Chassin chas...@ceis.cujae.edu.cu wrote: On 01/23/2013 02:37 PM, Richard Biener wrote: Please keep this on the list. On Wed, Jan 23, 2013 at 5:52 PM, Chassin chas...@ceis.cujae.edu.cu wrote: On 01/23/2013 10:55 AM, Richard Biener wrote: The callgraph isn't

Re: Remove node from cgraph

2013-01-25 Thread Chassin
On 01/24/2013 06:43 AM, Richard Biener wrote: On Thu, Jan 24, 2013 at 4:46 AM, Chassin chas...@ceis.cujae.edu.cu wrote: On 01/23/2013 02:37 PM, Richard Biener wrote: Please keep this on the list. On Wed, Jan 23, 2013 at 5:52 PM, Chassin chas...@ceis.cujae.edu.cu wrote: On 01/23/2013 10:55 AM

Re: Remove node from cgraph

2013-01-25 Thread Chassin
On 01/25/2013 09:21 AM, Richard Biener wrote: On Fri, Jan 25, 2013 at 8:57 AM, Chassin chas...@ceis.cujae.edu.cu wrote: On 01/24/2013 06:43 AM, Richard Biener wrote: On Thu, Jan 24, 2013 at 4:46 AM, Chassin chas...@ceis.cujae.edu.cu wrote: On 01/23/2013 02:37 PM, Richard Biener wrote: Please

Loading Gimple from file

2013-01-28 Thread Chassin
is there any function allows loading Gimple output from file and create the internal Gimple structure ? -- Chaddy Huussin Vazquez , chas...@ceis.cujae.edu.cu Superior Polytechnic Institute ‘Jose Antonio Echeverrıa’ Informatics Engineering Faculty 48 Aniversario del Instituto Superior

Re: Loading Gimple from file

2013-01-28 Thread Chassin
On 01/28/2013 05:25 PM, Ian Lance Taylor wrote: On Mon, Jan 28, 2013 at 1:46 PM, Chassin chas...@ceis.cujae.edu.cu wrote: is there any function allows loading Gimple output from file and create the internal Gimple structure ? Not to my knowledge, but see http://gcc.gnu.org/wiki/GimpleFrontEnd

problem inserting new function to cgraph

2013-01-28 Thread Chassin
Hi again , this time i am trying to clone a function then insert it with new name sample code struct cgraph_node *old_node = util_get_cgnode_by_name((char *)user_data); struct cgraph_node *new_node ; tree old_decl = old_node-decl; tree new_decl = copy_node(old_decl); // Changing the

Re: problem inserting new function to cgraph

2013-01-30 Thread Chassin
Hi Martin / It seems to me however that PLUGIN_ALL_IPA_PASSES_END runs prior to trnsformation phase of IPA passes (the name is rather unclear in this regard)...// / If i am not wrong the PLUGIN_ALL_IPA_PASSES_START ( execution ) is hooked in the begging of all_smole_ipa_passes , before