[OPENMP] Fixed support for 'schedule' clause with non-constant chunk size.
'schedule' clause for combined directives requires additional processing. Special helper variable is generated, that is captured in the outlined parallel region for 'parallel for' region. This captured variable is used to store chunk expression from the 'schedule' clause in this 'parallel for' region. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237100 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/DataRecursiveASTVisitor.h 1 addition, 0 deletionsinclude/clang/AST/DataRecursiveASTVisitor.h
- include/clang/AST/OpenMPClause.h 37 additions, 9 deletionsinclude/clang/AST/OpenMPClause.h
- include/clang/AST/RecursiveASTVisitor.h 1 addition, 0 deletionsinclude/clang/AST/RecursiveASTVisitor.h
- lib/AST/StmtProfile.cpp 5 additions, 1 deletionlib/AST/StmtProfile.cpp
- lib/CodeGen/CGStmtOpenMP.cpp 39 additions, 11 deletionslib/CodeGen/CGStmtOpenMP.cpp
- lib/Sema/SemaOpenMP.cpp 26 additions, 8 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/parallel_for_codegen.cpp 25 additions, 1 deletiontest/OpenMP/parallel_for_codegen.cpp
- tools/libclang/CIndex.cpp 1 addition, 0 deletionstools/libclang/CIndex.cpp
Loading
Please register or sign in to comment