This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PARM_DECL to SSA_NAME


Hello,
I have a PARM_DECL node that I am passing to a function.  Previously, my code
was working, but since I have made my optimization pass operate as an IPA pass,
versus a GIMPLE pass, I think I am missing some verification/resolution call
that I need to make.

Of course, when I pass the PARM_DECL to my function, I am now getting an error
from verify_ssa() suggesting that I should be passing a SSA_NAME instance.  I tried
using gimple_default_def() to obtain the SSA_NAME for that PARM_DECL, however,
the return value is NULL.  Is there some other way of accessing the SSA_NAME
information for this PARM_DECL node?  The SSA has been generated before my plugin
executes.  Also, I do call update_ssa() after the routines are processed by my
passes.

Thanks for any insight.

-Matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]