LibGOMP question

Hello Everyone,

I was wondering if someone could answer me this:
In the libgomp (gcc) implementation of OpenMP:
Who (which file/library/function) calls the gomp_loop_*_start (for example gomp_loop_dynamic_start) functions?

Best regards,
Patrick Buder

Hi,

first, you might be better off asking questions about libgomp on the gcc mailing list.

Anyway, AFAIK the calls are inserted into the compiler generated code when "lowering" and "expanding" the OpenMP directives. See here:
https://github.com/gcc-mirror/gcc/blob/master/gcc/omp-expand.c#L5804
https://github.com/gcc-mirror/gcc/blob/master/gcc/omp-expand.c#L2512

Regards,
Jonas