Hello,

1. Which passes of gcc make use of points-to information in
SSA_NAME_PTR_INFO (or more precisely, pt_solution) in doing
optimizations?


2. Also, who computes this points-to information and populates
pt_solution? Is it ONLY ipa-pta pass?

When I accessed pt_solution through a plugin which REPLACES ipa-pta
pass, I found that the information (in pt_solution) with and without
ipa-pta pass differs only in terms of flags in pt_solution. Here with
the examples I could construct, I found that the bitmap 'vars' in
pt_solution is same for both the cases. Is it always true?

Can someone please help in clarifying these doubts.

Thanks in advance.

--
Regards,
Nikhil Patil.

Reply via email to