* Question on mapping old to specialized cgraph_edges
@ 2022-03-09 14:56 Erick Ochoa
2022-03-09 15:16 ` Martin Jambor
0 siblings, 1 reply; 2+ messages in thread
From: Erick Ochoa @ 2022-03-09 14:56 UTC (permalink / raw)
To: gcc
Hi,
I am trying to find a map between cgraph_edge*s before ipa-cp and after
ipa-cp has specialized nodes. Does anyone know if such a map is available?
Or an equivalent? I think technically it should be a map between:
(cgraph_node* caller, cgraph_edge* e, cgraph_node *callee) X (cgraph_node*
caller', cgraph_edge* e', cgraph_node *callee')
since both caller and callee may be updated during ipa-cp. But any help or
direction is appreciated.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question on mapping old to specialized cgraph_edges
2022-03-09 14:56 Question on mapping old to specialized cgraph_edges Erick Ochoa
@ 2022-03-09 15:16 ` Martin Jambor
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jambor @ 2022-03-09 15:16 UTC (permalink / raw)
To: Erick Ochoa, gcc
Hi Erik,
On Wed, Mar 09 2022, Erick Ochoa via Gcc wrote:
> Hi,
>
> I am trying to find a map between cgraph_edge*s before ipa-cp and after
> ipa-cp has specialized nodes. Does anyone know if such a map is available?
> Or an equivalent? I think technically it should be a map between:
>
Generally there isn't. IPA-CP however needs it itself and so constructs
it in edge_clone_summaries. But the summaries are freed after the
IPA-analysis phase of the pass - and it would take work to keep it
somehow updated during following IPA passes (especially inlining).
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-09 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09 14:56 Question on mapping old to specialized cgraph_edges Erick Ochoa
2022-03-09 15:16 ` Martin Jambor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).