diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2019-10-25 10:27:13 -0400 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-10-30 10:23:33 -0400 |
| commit | 14a388f43bbdfac304a1a117731ac5a27fdab61e (patch) | |
| tree | bc247661b21e63f33dd297dd26dac0e4f7bb9fbf /clang/lib/Sema/TreeTransform.h | |
| parent | 67474c60d344a061d6c3affb70e7c8a13c15f830 (diff) | |
| download | bcm5719-llvm-14a388f43bbdfac304a1a117731ac5a27fdab61e.tar.gz bcm5719-llvm-14a388f43bbdfac304a1a117731ac5a27fdab61e.zip | |
[OPENMP50]Add support for parallel master taskloop simd directive.
Added full support for parallel master taskloop simd directive.
Diffstat (limited to 'clang/lib/Sema/TreeTransform.h')
| -rw-r--r-- | clang/lib/Sema/TreeTransform.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/lib/Sema/TreeTransform.h b/clang/lib/Sema/TreeTransform.h index 4b3a6708717..ad3db4e134d 100644 --- a/clang/lib/Sema/TreeTransform.h +++ b/clang/lib/Sema/TreeTransform.h @@ -8310,6 +8310,18 @@ StmtResult TreeTransform<Derived>::TransformOMPParallelMasterTaskLoopDirective( } template <typename Derived> +StmtResult +TreeTransform<Derived>::TransformOMPParallelMasterTaskLoopSimdDirective( + OMPParallelMasterTaskLoopSimdDirective *D) { + DeclarationNameInfo DirName; + getDerived().getSema().StartOpenMPDSABlock( + OMPD_parallel_master_taskloop_simd, DirName, nullptr, D->getBeginLoc()); + StmtResult Res = getDerived().TransformOMPExecutableDirective(D); + getDerived().getSema().EndOpenMPDSABlock(Res.get()); + return Res; +} + +template <typename Derived> StmtResult TreeTransform<Derived>::TransformOMPDistributeDirective( OMPDistributeDirective *D) { DeclarationNameInfo DirName; |

