On 2/20/21 9:15 AM, Shuai Wang wrote:
Thank you very much! Just a follow-up question regarding IPA.
Currently I can follow the tree-profile.c sample to perform IPA. However, my
analysis is limited to all functions within one .c file. Is it possible for me
to do cross- .c file analysis? That is
Thank you very much! Just a follow-up question regarding IPA.
Currently I can follow the tree-profile.c sample to perform IPA. However,
my analysis is limited to all functions within one .c file. Is it possible
for me to do cross- .c file analysis? That is, suppose there is a function
foo in sourc
On 2/17/21 5:21 AM, Shuai Wang via Gcc wrote:
Could anyone shed some light on this? Thank you very much!
Hello.
I would recommend looking at any of the existing passes:
$ git grep SIMPLE_IPA_PASS
...
One reasonable example can be gcc/tree-profile.c.
Cheers,
Martin
Hello,
I am writing to inquire if there was any working example of GIMPLE
SIMPLE_IPA_PASS that I can follow and extend. I am familiar with doing
GIMPLE_PASS for intra-procedural analysis.
I tried to follow these threads:
https://www.cse.iitb.ac.in/grc/gcc-workshop-10/sources/slides/gccw10-gimple