Re: Manipulating the tree Structure

2007-03-14 Thread Tehila Meyzels
Andrea Callia D'Iddio wrote on 14/03/2007 12:36:59: > Hi all, > first of all i want to thank you for the aid that i have receveid from > this mailing list. I have another little question: > if i have a statemente that is an expression, for example x+5 , how > can i know if the operation is plus (

Re: Manipulating the tree Structure

2007-03-14 Thread Andrea Callia D'Iddio
Hi all, first of all i want to thank you for the aid that i have receveid from this mailing list. I have another little question: if i have a statemente that is an expression, for example x+5 , how can i know if the operation is plus (+), or minus (-), or equal(=) or less (<) etc.. Can you give me

Re: Manipulating the tree Structure

2007-03-12 Thread Daniel Berlin
On 3/12/07, Andrea Callia D'Iddio <[EMAIL PROTECTED]> wrote: Great! thank you! I tested with your code and it works... but I'm still a bit confused. Could you help me with this simple example? Suppose that I obtained a tree structure with the following command: tree stmt = bsi_stmt (si); and su

Re: Manipulating the tree Structure

2007-03-12 Thread Andrea Callia D'Iddio
Great! thank you! I tested with your code and it works... but I'm still a bit confused. Could you help me with this simple example? Suppose that I obtained a tree structure with the following command: tree stmt = bsi_stmt (si); and suppose I want to execute the following task: For each tree sta

Re: Manipulating the tree Structure

2007-03-12 Thread Tehila Meyzels
Andrea Callia D'Iddio wrote on 12/03/2007 16:56:53: > 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

Re: Manipulating the tree Structure

2007-03-12 Thread Revital1 Eres
[EMAIL PROTECTED] wrote on 12/03/2007 16:56:53: > 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 t

Manipulating the tree Structure

2007-03-12 Thread Andrea Callia D'Iddio
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