Hello,
> What I am trying to do is something like counting the times of a particular
> function call, i.e., whenever there is a CALL_EXPR in the tree, I want to
> look at the id to see if that is the function I want to count during
> runtime. If the id is the function name I want to count, I
taking
care of them in dump_generic_node().
Can someone explain TREE_LIST and TREE_VEC to me?
Thanks,
Sean
From: Zdenek Dvorak <[EMAIL PROTECTED]>
To: sean yang <[EMAIL PROTECTED]>
CC: gcc@gcc.gnu.org
Subject: Re: traverse the gimple tree
Date: Tue, 11 Apr 2006 13:56:48 +0200
Hello,
> I w
, /* properties_destroyed */
From: Zdenek Dvorak <[EMAIL PROTECTED]>
To: sean yang <[EMAIL PROTECTED]>
CC: gcc@gcc.gnu.org
Subject: Re: traverse the gimple tree
Date: Tue, 11 Apr 2006 13:56:48 +0200
Hello,
> I want to write a pass to walk the gimple tree and add some
intrum
how me
> which .h file I should look at to find the Macros, that would be great. Or,
> Is there any other pass do the similar thing(traverse the gimple tree) that
> I can read (--I did not find)?
depending on what you need, you may use walk_tree and/or combination of
special-handling
look at to find the Macros, that would be great. Or,
Is there any other pass do the similar thing(traverse the gimple tree) that
I can read (--I did not find)?
//in gcc.4.0.2, tree-optimize.c
323 void
324 init_tree_optimization_passes (vo