From b8552abfe7ce0c4cd37d136bbcf8cb319a28f260 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Fri, 18 Oct 2019 16:47:35 +0000 Subject: [OPENMP50]Add support for master taskloop simd. Added trsing/semantics/codegen for combined construct master taskloop simd. llvm-svn: 375255 --- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.cpp') diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index 8b853e8aa13..2a13a2a5815 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -6706,6 +6706,7 @@ emitNumTeamsForTargetDirective(CodeGenFunction &CGF, case OMPD_taskloop: case OMPD_taskloop_simd: case OMPD_master_taskloop: + case OMPD_master_taskloop_simd: case OMPD_parallel_master_taskloop: case OMPD_requires: case OMPD_unknown: @@ -7014,6 +7015,7 @@ emitNumThreadsForTargetDirective(CodeGenFunction &CGF, case OMPD_taskloop: case OMPD_taskloop_simd: case OMPD_master_taskloop: + case OMPD_master_taskloop_simd: case OMPD_parallel_master_taskloop: case OMPD_requires: case OMPD_unknown: @@ -8787,6 +8789,7 @@ getNestedDistributeDirective(ASTContext &Ctx, const OMPExecutableDirective &D) { case OMPD_taskloop: case OMPD_taskloop_simd: case OMPD_master_taskloop: + case OMPD_master_taskloop_simd: case OMPD_parallel_master_taskloop: case OMPD_requires: case OMPD_unknown: @@ -9546,6 +9549,7 @@ void CGOpenMPRuntime::scanForTargetRegionsFunctions(const Stmt *S, case OMPD_taskloop: case OMPD_taskloop_simd: case OMPD_master_taskloop: + case OMPD_master_taskloop_simd: case OMPD_parallel_master_taskloop: case OMPD_requires: case OMPD_unknown: @@ -10163,6 +10167,7 @@ void CGOpenMPRuntime::emitTargetDataStandAloneCall( case OMPD_taskloop: case OMPD_taskloop_simd: case OMPD_master_taskloop: + case OMPD_master_taskloop_simd: case OMPD_parallel_master_taskloop: case OMPD_target: case OMPD_target_simd: -- cgit v1.2.3