This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
differentiating between tree node and phi node
- From: ranjith kumar <ranjit_kumar_b4u at yahoo dot co dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 16 Sep 2007 18:13:48 +0100 (BST)
- Subject: differentiating between tree node and phi node
I know that SSA_NAME_DEF_STMT() funtion returns a
pointer to a statement which defines the variable
passed as an argument.
I want to know whether the returned pointer to the
statement is a pointer to an 'PHI node' or pointer to
a 'tree node'.
Is there any function/macro available to find it?
I am using gcc-4.1.2.
Thanks in advance.
___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html