[OPENMP50]Add support for 'parallel master taskloop' construct.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 14 Oct 2019 17:17:41 +0000 (17:17 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 14 Oct 2019 17:17:41 +0000 (17:17 +0000)
commit5bbceadfc89dda6ff11195aaa3043b2eaaadad25
tree87b9a3ddb073f6b595290b26a44d96841084ebf6
parent5c6ab2a0b1f2da22c8ce4fbfc022f599aaa4a2a6
[OPENMP50]Add support for 'parallel master taskloop' construct.

Added parsing/sema/codegen support for 'parallel master taskloop'
constructs. Some of the clauses, like 'grainsize', 'num_tasks', 'final'
and 'priority' are not supported in full, only constant expressions can
be used currently in these clauses.

llvm-svn: 374791
41 files changed:
clang/include/clang-c/Index.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/AST/StmtOpenMP.h
clang/include/clang/Basic/OpenMPKinds.def
clang/include/clang/Basic/StmtNodes.td
clang/include/clang/Sema/Sema.h
clang/include/clang/Serialization/ASTBitCodes.h
clang/lib/AST/StmtOpenMP.cpp
clang/lib/AST/StmtPrinter.cpp
clang/lib/AST/StmtProfile.cpp
clang/lib/Basic/OpenMPKinds.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/TreeTransform.h
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/test/OpenMP/parallel_master_taskloop_ast_print.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_codegen.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_collapse_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_final_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_firstprivate_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_grainsize_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_lastprivate_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_loop_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_misc_messages.c [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_num_tasks_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_priority_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_private_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_reduction_codegen.cpp [new file with mode: 0644]
clang/test/OpenMP/parallel_master_taskloop_reduction_messages.cpp [new file with mode: 0644]
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/CXCursor.cpp