<div dir="auto">Awesome, thanks! This would beĀ  helpful.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 3, 2018 5:26 AM, "Nuno Lopes" <<a href="mailto:nunoplopes@sapo.pt">nunoplopes@sapo.pt</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Definitely have a look at the current analyses:<br>
- llvm/Transforms/IPO/FunctionAt<wbr>trs.cpp<br>
- llvm/Transforms/IPO/InferFunct<wbr>ionAttrs.cpp<br>
<br>
Also, study the semantics of these attributes, starting with the docs: <a href="http://llvm.org/docs/LangRef.html#function-attributes" rel="noreferrer" target="_blank">http://llvm.org/docs/LangRef.h<wbr>tml#function-attributes</a><br>
Also, grep the LLVM sources for test cases that use the attributes to see examples on how they are used for optimization.<br>
Finally, have a look at the email thread linked from the open projects page. Oh, and a refresher on abstract interpretation / static analysis won't hurt either.<br>
<br>
Of course, feel free to ask questions about any of these things.<br>
<br>
Nuno<br>
<br>
-----Original Message----- From: buddhika chamith<br>
Sent: Friday, March 2, 2018 5:51 PM<br>
Subject: Re: [llvm-dev] [GSOC 2018] Improve function attribute inference<br>
<br>
<br>
Hi Nuno,<br>
<br>
Thanks. Appreciate if I can get some specific pointers to related code or documentation that I could start looking to to get myself oriented. I just started looking to in to lib/Analysis a bit.<br>
<br>
Regards<br>
Buddhika<br>
<br>
<br>
On Thu, Mar 1, 2018 at 4:50 AM, Nuno Lopes <<a href="mailto:nunoplopes@sapo.pt" target="_blank">nunoplopes@sapo.pt</a>> wrote:<br>
Eric: thanks for bringing this to my attention; I somehow missed this email.<br>
<br>
Hi Buddhika,<br>
<br>
Thanks for getting in touch and for your interest.<br>
Please submit an application whenever the registration period opens and let me/us know if you have any question regarding the project and/or GSoC.<br>
<br>
Regards,<br>
Nuno<br>
<br>
<br>
<br>
On Sun, Feb 25, 2018 at 1:37 PM buddhika chamith via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
<br>
Hi Devs,<br>
<br>
I am a PhD student at Indiana University. I am interested in working on the project on function attribute inference. My current research direction involves runtime binary optimization using JIT compilation from a lifted LLVM IR. I am hoping various runtime information coupled with static analysis on the IR can provide better avenues for runtime code JITTIng (akin to PGO).<br>
<br>
Anyway I think the project on function attribute inference aligns with my current work in that it would help me to get more familiar with static analysis passes in LLVM and provide an opportunity for me to do a useful contribution to the LLVM community.<br>
<br>
Thanks<br>
Buddhika <br>
</blockquote></div></div>