This patch emits the following code for the single directive:
#pragma omp single <body>
<---->
if(__kmpc_single(...)) { <body> __kmpc_end_single(...); }
Paths
| Differential D7045
[OPENMP] Initial codegen for 'single' directive. ClosedPublic Authored by ABataev on Jan 18 2015, 9:33 PM.
Details Summary This patch emits the following code for the single directive: #pragma omp single <body> <----> if(__kmpc_single(...)) { <body> __kmpc_end_single(...); }
Diff Detail
Event TimelineABataev updated this object. Closed by commit rL228275: [OPENMP] Initial codegen for 'single' directive. (authored by ABataev). · Explain WhyFeb 4 2015, 10:37 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 19380 cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h
cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp
cfe/trunk/test/OpenMP/single_codegen.cpp
|