[OpenMP] Support for thread_limit-clause on the 'target teams' directive.
The thread_limit-clause on the combined directive applies to the 'teams' region of this construct. We modify the ThreadLimitClause class to capture the clause expression within the 'target' region. Reviewers: ABataev Differential Revision: https://reviews.llvm.org/D29087 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293049 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/OpenMPClause.h 14 additions, 6 deletionsinclude/clang/AST/OpenMPClause.h
- include/clang/AST/RecursiveASTVisitor.h 1 addition, 0 deletionsinclude/clang/AST/RecursiveASTVisitor.h
- lib/AST/OpenMPClause.cpp 2 additions, 1 deletionlib/AST/OpenMPClause.cpp
- lib/AST/StmtProfile.cpp 1 addition, 0 deletionslib/AST/StmtProfile.cpp
- lib/Sema/SemaOpenMP.cpp 75 additions, 3 deletionslib/Sema/SemaOpenMP.cpp
- lib/Serialization/ASTReaderStmt.cpp 1 addition, 0 deletionslib/Serialization/ASTReaderStmt.cpp
- lib/Serialization/ASTWriterStmt.cpp 1 addition, 0 deletionslib/Serialization/ASTWriterStmt.cpp
- test/OpenMP/target_teams_thread_limit_codegen.cpp 357 additions, 0 deletionstest/OpenMP/target_teams_thread_limit_codegen.cpp
- tools/libclang/CIndex.cpp 1 addition, 0 deletionstools/libclang/CIndex.cpp
Loading
Please register or sign in to comment