The first step is to define the "def" clear. For example,
A[i] = ...
It doesn't define A or i. The value of A and i are not changed in this
statement. You should always take care about the indirect access when you
are talking about "def".
In the next, if you are working on H/VH WHIRL, you just nee
Hi Daniel,
Firstly, I am also not an expert in WOPT and Open64. The following is
just for some of clue that maybe helpful to you.
1. Whirl is AST based IR, while the in/out list used in Data-flow
analysis is based on BB and CFG.
2. According to the Pre_Optimizer() in be/opt/opt_main.