Emits code for outlined 'parallel' directive with the implicitly inlined 'sections' directive:
... call __kmpc_fork_call(..., outlined_function, ...); ... define internal void outlined_function(...) { <code for implicit sections directive>; }
Paths
| Differential D8997
[OPENMP] Initial codegen for 'parallel sections' directive. ClosedPublic Authored by ABataev on Apr 13 2015, 1:22 AM.
Details Summary Emits code for outlined 'parallel' directive with the implicitly inlined 'sections' directive: ... call __kmpc_fork_call(..., outlined_function, ...); ... define internal void outlined_function(...) { <code for implicit sections directive>; }
Diff Detail Event TimelineABataev updated this object. Comment Actions Looks good.
Closed by commit rL234849: [OPENMP] Initial codegen for 'parallel sections' directive. (authored by ABataev). · Explain WhyApr 13 2015, 8:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 23666 lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaOpenMP.cpp
test/OpenMP/parallel_sections_codegen.cpp
|
You use this twice; it doesn't seem worthwhile.