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.
source
share