aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-11-09 17:32:15 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-11-09 17:32:15 +0000
commit5d7edca316fd09377336e6ac0493ffb3e6629e7f (patch)
tree19a84c0e29a6dec060346c237d7c07de225c8ee5 /clang/lib/CodeGen/CodeGenFunction.h
parent9f82a2b60ed2e12cb41ebd3bb3c5a1ace02f9ed0 (diff)
downloadllvm-5d7edca316fd09377336e6ac0493ffb3e6629e7f.zip
llvm-5d7edca316fd09377336e6ac0493ffb3e6629e7f.tar.gz
llvm-5d7edca316fd09377336e6ac0493ffb3e6629e7f.tar.bz2
[OPENMP] Codegen for `#pragma omp target parallel for simd`.
Added codegen for `#pragma omp target parallel for simd` and clauses. llvm-svn: 317813
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 c3c5908..a1c75c5 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2893,6 +2893,10 @@ public:
static void EmitOMPTargetParallelForDeviceFunction(
CodeGenModule &CGM, StringRef ParentName,
const OMPTargetParallelForDirective &S);
+ /// Emit device code for the target parallel for simd directive.
+ static void EmitOMPTargetParallelForSimdDeviceFunction(
+ CodeGenModule &CGM, StringRef ParentName,
+ const OMPTargetParallelForSimdDirective &S);
static void
EmitOMPTargetTeamsDeviceFunction(CodeGenModule &CGM, StringRef ParentName,
const OMPTargetTeamsDirective &S);