Re: Performing inter-procedural dataflow analysis

2021-02-18 Thread Martin Jambor
Hi, On Thu, Feb 18 2021, Shuai Wang via Gcc wrote: > Hello, > > I am doing interprocedural dataflow analysis and countered the following > issue. Suppose I have an GIMPLE IR code as follows, which is after the > "simdclone" pass while before my own SIMPLE IPA pass: > > > foo (int a, int b) > { >

Re: Performing inter-procedural dataflow analysis

2021-02-17 Thread Prathamesh Kulkarni via Gcc
On Thu, 18 Feb 2021 at 08:39, Shuai Wang via Gcc wrote: > > Hello, > > I am doing interprocedural dataflow analysis and countered the following > issue. Suppose I have an GIMPLE IR code as follows, which is after the > "simdclone" pass while before my own SIMPLE IPA pass: > > > foo (int a, int b)

Re: Performing inter-procedural dataflow analysis

2021-02-17 Thread Shuai Wang via Gcc
By saying a_2(D) originated from parameter "a", what I mean is that I obtain the tree pointer of "a" given the tree pointer of a_2(D). Is that possible? I can somehow image to first get the string name of these variables and do a clumsy (?) comparison. But that seems not very handy... Thank you!

Performing inter-procedural dataflow analysis

2021-02-17 Thread Shuai Wang via Gcc
Hello, I am doing interprocedural dataflow analysis and countered the following issue. Suppose I have an GIMPLE IR code as follows, which is after the "simdclone" pass while before my own SIMPLE IPA pass: foo (int a, int b) { int c; int d; int D.2425; int _5; : * c_4 = a_2(D) + b_3(