[OPENMP] CodeGen of the 'linear' clause for the 'omp simd' directive.
authorAlexander Musman <alexander.musman@gmail.com>
Sat, 21 Mar 2015 10:12:56 +0000 (10:12 +0000)
committerAlexander Musman <alexander.musman@gmail.com>
Sat, 21 Mar 2015 10:12:56 +0000 (10:12 +0000)
commit3276a27b5cde44d24b67be07227c2b9daba85196
tree02fbc25e178fb90d65521638c57e9acfa9355d92
parente165502ed7675f5c9ce9c0d064df6beed8961224
[OPENMP] CodeGen of the 'linear' clause for the 'omp simd' directive.
The linear variable is privatized (similar to 'private') and its
value on current iteration is calculated, similar to the loop
counter variables.
Differential revision: http://reviews.llvm.org/D8375

llvm-svn: 232890
12 files changed:
clang/include/clang/AST/DataRecursiveASTVisitor.h
clang/include/clang/AST/OpenMPClause.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/AST/StmtOpenMP.h
clang/lib/AST/Stmt.cpp
clang/lib/AST/StmtProfile.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/test/OpenMP/simd_codegen.cpp
clang/tools/libclang/CIndex.cpp