]> granicus.if.org Git - clang/commit
[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)
commita6da6f0f080ca28b16e3ba79d0d56dbc873e3b41
treed13ece211a835dedba6b8bdf92023fa60a0187a6
parentf377a655e7e305e24ee4bf8fa007e2d0558f96d9
[OPENMP 4.0] Codegen for 'declare reduction' construct.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262699 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
include/clang/AST/DeclOpenMP.h
include/clang/AST/GlobalDecl.h
include/clang/Basic/DeclNodes.td
lib/AST/ASTContext.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ModuleBuilder.cpp
lib/Sema/SemaExpr.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriterDecl.cpp
test/OpenMP/declare_reduction_codegen.c [new file with mode: 0644]
test/OpenMP/declare_reduction_codegen.cpp [new file with mode: 0644]
test/OpenMP/threadprivate_codegen.cpp