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-rtl.pdf https://gcc.gcc.gnu.narkive.com/BhNCSxDW/problem-with-ssa-form-usign-cgraph-nodes-and-push-cfun However, it is really hard for me to somehow work out a "working example" first. I find the regulations and definitions are generally hard to comprehend. Could anyone shed some light on this? Thank you very much! Best, Shuai