SRA argument after materialization

Martin Jambor mjambor@suse.cz
Mon Jul 13 11:13:12 GMT 2020


Hi,

On Fri, Jul 10 2020, Erick Ochoa wrote:
> Hello,
>
> is there a way to determine just how an argument is affected by SRA 
> after SRA has occured? 
>
> How would I be able to determine the effects of ISRA on the struct argument?

For the changes performed by IPA-SRA (but also to spot arguments removed
as constant or unused by IPA-CP), look into the corresponding
cgraph_node->clone.param_adjustments.

(Assuming you want to do it programmatically, if you're just debugging
stuff, the IPA-SRA dump is probably the place to look at.)

Martin


More information about the Gcc mailing list