Sandeep K Chaudhary wrote:
>Thanks for the reply Marc !
>
>If I place my pass before ccp then I guess I have to implement the
>means to perform calculations on my own so that it can duplicate the
>functionality of ccp, right? I will also look at the source code to
>see if I can modify the source c
Thanks for the reply Marc !
If I place my pass before ccp then I guess I have to implement the
means to perform calculations on my own so that it can duplicate the
functionality of ccp, right? I will also look at the source code to
see if I can modify the source code directly. Is pass_ccp in
tree-
On Sun, 5 Jan 2014, Sandeep K Chaudhary wrote:
Hi guys,
I want to write a pass which can find the calculations performed on
the right hand side of each statement. In the below example -
VAR1 = 1;
VAR1++;
VAR1 = VAR1 + 5;
I want to be able to capture the equivalent stateme
Hi guys,
I want to write a pass which can find the calculations performed on
the right hand side of each statement. In the below example -
VAR1 = 1;
VAR1++;
VAR1 = VAR1 + 5;
I want to be able to capture the equivalent statements i.e.
VAR1 = 1;
VAR1 = 2;
VAR1 = 7;
To ach