How to get function argument points-to information.
Richard Guenther
richard.guenther@gmail.com
Tue May 17 09:25:00 GMT 2011
On Tue, May 17, 2011 at 10:10 AM, Matt Davis <mattdavis9@gmail.com> wrote:
> For some analysis I am doing, I need to determine if a particular SSA_NAME_VAR
> node is pointed-to by a function argument. I am iterating across the function's
> arguments via DECL_ARGUMENTS(), but each argument is just a DECL node, and
> contains no associated points-to data, as far as I can tell. I assume there is
> a better/different way of determining if an argument points to my node?
>
> Thanks for any insight.
Look at the decls default SSA definition (gimple_default_def (cfun, decl)).
Richard.
> -Matt
>
More information about the Gcc
mailing list