hey guys:
     I have a question about how to get the in/out variables list for a
block in high level whirl? I checked the def/use chain. But there is no
such thing in WOPT. I mean there must be a existing module to analysis a
input block and get the in/out list.

For example:

Block1:

sum = 0;
for(i=0; i<n; i++)
{
    A[i] = B[c] + C[c]
    sum+=A[i];
}

For here, this block require the input list"B, C, n", and the output is "A,
sum". And "i" is obviously defined in the block. BTW, here the block is in
IR, but not three address code.

Does anyone have clue?
Any suggestion is appreciated.

Thank you very much.
Daniel
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to