Sorry for the lack of reply. We're not currently using a representation like that at all. Clang is directly lowering OpenMP constructions into calls to our OpenMP runtime library. There is no particular IR representation.
Sorry for the lack of reply. We're not currently using a representation like that at all. Clang is directly lowering OpenMP constructions into calls to our OpenMP runtime library. There is no particular IR representation.
Thanks for the information Hal. I will wipe all knowledge of the
previous document from my brain.
The most up-to-date information on how OpenMP is supported in clang
compiler can be found in Alexey Bataev's and Zinovy Nis' talk at last
year's LLVM conference.
As for the proposal you referred to, it wasn't accepted in the
community. There were a few proposals to extend LLVM IR to provide
more expressive support for OpenMP, but none of them got enough
traction.