I want to know whether there is any function/method in LLVM to add Open-MP constructs in LLVM IR. Does llvm-3.0 still support OpenMP directives?
OpenMP is a high-level language extension. So, it's C/C++/FORTRAN front-end which should lower the pragma's into necessary runtime calls and code alterations.
I don't see how OpenMP can be "added" to LLVM IR. If you need C/C++/FORTRAN compiler which supports OpenMP pragmas and emit LLVM IR - try dragonegg.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With