OpenMP LLVM Support

I want to know if there is a function / method in LLVM for adding Open-MP constructs to LLVM IR. Does llvm-3.0 support OpenMP directives?

+5
source share
1 answer

OpenMP is an extension of a high-level language. So, this is the C / C ++ / FORTRAN front-end, which should reduce pragma to the necessary calls at runtime and change the code.

I do not see how OpenMP can be “added” to LLVM IR. If you need a C / C ++ / FORTRAN compiler that supports OpenMP pragmas and emits LLVM IR, try dragonegg.

+2
source

All Articles