Re: Tutorials/pointers for IPA writing passes

2013-12-17 Thread Jan Hubicka
Hi, the overall description how IPA optimization is structured (describing difference in between simple_ipa_opt_pass and ipa_opt_pass) is in http://arxiv.org/pdf/1010.2196v2.pdf and also in lto.texi. There is not exactly a tutrial, but generally simple_ipa_opt_pass is easier to start with since

Tutorials/pointers for IPA writing passes

2013-12-16 Thread Sandeep K Chaudhary
Hi, Can someone please point out some tutorials for writing IPA passes in GCC? I am struggling to achieve assignment calculations in GIMPLE pass and I feel that an IPA pass can solve the issue. I don't have much idea about IPA passes (simple_ipa_opt_pass or ipa_opt_pass) but can learn and figure t