[LLVMdev] OpenMP Support for LLVM and clang

Tobias Grosser grosser at fim.uni-passau.de
Tue Oct 19 05:09:22 PDT 2010


On 10/19/2010 05:50 AM, Gautam B.T. wrote:
> Hello,
>
> I am a masters student interested in parallelization API's and auto
> parallelization. I have been following LLVM's development for some time now
> and would like to make a contribution. In particular I am interested in
> adding
> OpenMP support for LLVM. I believe this will be useful both for clang as
> well
> as LLVM Polly. I would like to know if anyone is already working on this.
>
> Any helpful suggestions are welcome.

Hey Gautam,

I think this is an excellent idea. At the moment I do not know of any 
official and public project regarding OpenMP support in LLVM/clang. It 
would be awesome if you could work on this.

I propose to take a look at the mpc project, which has a LGPL licensed 
OpenMP library. The explanations how to use MPC OpenMP directly are in a 
header file called mpcomp_abi.h located inside the 
mpc/MPC_OpenMP/include directory.

Furthermore I know people at the University of Innsbruck work on a Clang 
parser for OpenMP [1]. (I copied Peter)
Maybe he can give you some help for the clang part or even share the 
source code with you.

[1] http://www.dps.uibk.ac.at/projects/insieme/index.php?page=omp/omp

Cheers
Tobi




More information about the llvm-dev mailing list