Re: traverse the gimple tree

2006-04-17 Thread Zdenek Dvorak
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

Re: traverse the gimple tree

2006-04-17 Thread sean yang
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

Re: traverse the gimple tree

2006-04-11 Thread sean yang
, /* 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

Re: traverse the gimple tree

2006-04-11 Thread Zdenek Dvorak
Hello, > I want to write a pass to walk the gimple tree and add some intrumentation > code. I read the chapter 9 of "GCC Internals" document, and it seems not to > describe the Macros to do so. > > Can I get some information about this? Specifically, if someone can show me > which .h file I sh