[OPENMP 4.0] Codegen for 'declare reduction' construct.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 4 Mar 2016 09:22:22 +0000 (09:22 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 4 Mar 2016 09:22:22 +0000 (09:22 +0000)
commitc5b1d320b856559db375e8effc2fe9b04bfaf6ee
tree46c64c995cf2180a8a7c9ff2d54e6c18ccc9b72f
parent678f65a9b4d808fe2f476c43d5acc884927c0377
[OPENMP 4.0] Codegen for 'declare reduction' construct.

Emit function for 'combiner' part of 'declare reduction' construct and
'initialilzer' part, if any.

llvm-svn: 262699
17 files changed:
clang/include/clang/AST/DeclOpenMP.h
clang/include/clang/AST/GlobalDecl.h
clang/include/clang/Basic/DeclNodes.td
clang/lib/AST/ASTContext.cpp
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/CodeGen/ModuleBuilder.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriterDecl.cpp
clang/test/OpenMP/declare_reduction_codegen.c [new file with mode: 0644]
clang/test/OpenMP/declare_reduction_codegen.cpp [new file with mode: 0644]
clang/test/OpenMP/threadprivate_codegen.cpp