summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-11-08 20:16:14 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-11-08 20:16:14 +0000
commitfb0ebecf0e0530540d2a219837a1734ecc3584dc (patch)
tree91e03ccc23d350517f0060d87c2deeff668192fc /clang/lib/CodeGen/CodeGenFunction.h
parent6368442fb72b759eb3d54265224e90086b3d3b3a (diff)
downloadbcm5719-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.h4
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);
OpenPOWER on IntegriCloud