Add support for insertion of pragmas before loops, and use this to generate OpenMP directives.
To Do: