[LLVMdev] LLVM parallel annotations

Lefteris Ioannidis elefthei at mit.edu
Mon Feb 16 13:33:42 PST 2015


Hi all,

I'm a grad student from MIT and as part of my thesis, I will be propagating
parallelism in the IR level. I will be modifying clang and adding LLVM IR
metadata annotations to indicate parallel regions and loops, then write
optimizer passes that will run on top of the annotated LLVM IR.

There has been a lot of research lately on Parallel IRs, such as SPIR[1
<https://www.khronos.org/spir>], SPIRE[2
<http://cri.ensmp.fr/classement/doc/A-487.pdf>] and INSPIRE[3
<http://delivery.acm.org/10.1145/2530000/2523727/p7-jordan.pdf?ip=18.102.234.120&id=2523727&acc=ACTIVE%20SERVICE&key=7777116298C9657D.DE5F786C30E1A3B4.4D4702B0C3E38B35.4D4702B0C3E38B35&CFID=627318069&CFTOKEN=29416610&__acm__=1424122362_bed7c2b9ae0d0280ccf90b472978b74a>]
lately, so I will be starting off from there in order to design a good
parallel representation. With this patch a lot of the modern parallel C
interfaces (pthreads, cilk, openMP etc.) will be translated to one unified
LLVM IR.

My goal is to make this part of the LLVM mainstream branch eventually. I'd
really like to discuss design considerations that you might have, or any
objections or pointers (pun intended). It is also possible somebody is
already working on this. If so, we might be able to help each other.
Looking forward to discussing this with all you.

Cheers,
Lef

Lefteris Ioannidis,
Massachusetts Institute of Technology '14
Department of Electrical Engineering and Computer Science,
elefthei at mit.edu | http://web. <http://web.mit.edu/elefthei/www/>
umit.edu/elefthei/www/ <http://web.mit.edu/elefthei/www/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150216/5635a892/attachment.html>


More information about the llvm-dev mailing list