This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Manipulating the tree Structure
- From: "Andrea Callia D'Iddio" <andrea dot calliadiddio at gmail dot com>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 12 Mar 2007 15:56:53 +0100
- Subject: Manipulating the tree Structure
Hi all,
i have a very little question for you. I have a basic block and by a
statement iterator i can obtain a tree structure in the following
manner:
tree stmt = bsi_stmt (si);
I want to use this tree structure to manipulate the statement, for
example i 'd like to know if statement is an assignement or another
instruction type. And if the statement is an assignement i'd like to
know wich is the name of the variable.
I have serchead too much but i have not found any information.
Thanks to all,
Andrea Callia D'Iddio