[Openmp-dev] Pragmas from IR code

Simone Atzeni simone.at at gmail.com
Fri Mar 6 13:54:18 PST 2015


is it possible to figure out from the IR which is the line of an OpenMP pragma?

I noticed that printing the lines of code from the metadata of the instructions of some example programs,
the instruction that calls “__kmpc_global_thread_num” always ends up to be in aline with a pragma.
But I guess this is not enough to say that, right? Is there any other way?


Simone Atzeni
simone.at at gmail.com
+1 (801) 696-8373

More information about the Openmp-dev mailing list