diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-08 20:16:14 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-08 20:16:14 +0000 |
commit | fb0ebecf0e0530540d2a219837a1734ecc3584dc (patch) | |
tree | 91e03ccc23d350517f0060d87c2deeff668192fc /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 6368442fb72b759eb3d54265224e90086b3d3b3a (diff) | |
download | bcm5719-llvm-fb0ebecf0e0530540d2a219837a1734ecc3584dc.tar.gz bcm5719-llvm-fb0ebecf0e0530540d2a219837a1734ecc3584dc.zip |
[OPENMP] Codegen for `#pragma omp target parallel for`.
llvm-svn: 317719
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index e1034c129d3..c3c59084d8f 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2889,6 +2889,10 @@ public: static void EmitOMPTargetParallelDeviceFunction(CodeGenModule &CGM, StringRef ParentName, const OMPTargetParallelDirective &S); + /// Emit device code for the target parallel for directive. + static void EmitOMPTargetParallelForDeviceFunction( + CodeGenModule &CGM, StringRef ParentName, + const OMPTargetParallelForDirective &S); static void EmitOMPTargetTeamsDeviceFunction(CodeGenModule &CGM, StringRef ParentName, const OMPTargetTeamsDirective &S); |