How to access structure information from "pass_vectorize"

Swati Rathi swatirathi@cse.iitb.ac.in
Sun Jan 19 18:39:00 GMT 2014


We are writing a GIMPLE pass and would like to use some information 
computed in
pass_vectorize. However, we are not able to use the data structures 
which gets populated in pass_vectorize
because the information is not made available across passes.

In particular, we wish to access the structures "stmt_vec_info" and 
"data_reference".

How do we access this information? Should we invoke pass_vectorize as a 
sub-pass of our pass? Should
we explicitly call the execute function of pass_vectorize in our pass? 
Or should we modify pass_vectorize
code and make a deep copy in a global variable? Is there any other way 
of getting this information?



More information about the Gcc mailing list