Hi Guys,
I am writing a GIMPLE pass in which I need to inspect the assignments.
For example, for the below statements, I need to find the value of the
second and third assignments which are '2' and '7'.
VAR1 = 1;
VAR1++;
VAR1 = VAR1 + 5;
But the GIMPLE IR only has the following statements i.e. n
Hi,
Can someone please point out some tutorials for writing IPA passes in
GCC? I am struggling to achieve assignment calculations in GIMPLE pass
and I feel that an IPA pass can solve the issue. I don't have much
idea about IPA passes (simple_ipa_opt_pass or ipa_opt_pass) but can
learn and figure t
Thank you so much for the reply, David !
I am not sure where exactly my pass gets invoked. I will try to find it.
But the pass get invoked somewhere in the GIMPLE stage as shown in the
GCC architecture[1].
How is it that one can dictate where the pass can be invoked? Can you
please provide some po
workshop-12/index.php?page=videos) but we
> are working on that.
>
> Uday Khedker.
>
> Sandeep K Chaudhary wrote, On Tuesday 17 December 2013 11:54 AM:
>
>> Thank you so much for the reply, David !
>>
>> I am not sure where exactly my pass gets invoked. I will try to
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
-ssa-ccp.c the correct one to look at? Please let me know.
Yes, I have tried the second option you suggested. It's not convenient
for my purpose.
Thanks and regards,
Sandeep.
On Sun, Jan 5, 2014 at 10:24 PM, Marc Glisse wrote:
> On Sun, 5 Jan 2014, Sandeep K Chaudhary wrote:
>