summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-03-04 09:22:22 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-03-04 09:22:22 +0000
commitc5b1d320b856559db375e8effc2fe9b04bfaf6ee (patch)
tree46c64c995cf2180a8a7c9ff2d54e6c18ccc9b72f /clang/lib/CodeGen/CodeGenModule.h
parent678f65a9b4d808fe2f476c43d5acc884927c0377 (diff)
downloadbcm5719-llvm-c5b1d320b856559db375e8effc2fe9b04bfaf6ee.tar.gz
bcm5719-llvm-c5b1d320b856559db375e8effc2fe9b04bfaf6ee.zip
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 87183582e7d..8e662c25370 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1112,7 +1112,8 @@ public:
void EmitOMPThreadPrivateDecl(const OMPThreadPrivateDecl *D);
/// \brief Emit a code for declare reduction construct.
- void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D);
+ void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
+ CodeGenFunction *CGF = nullptr);
/// Returns whether we need bit sets attached to vtables.
bool NeedVTableBitSets();
OpenPOWER on IntegriCloud