aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-03-09 09:49:09 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-03-09 09:49:09 +0000
commitef549a89559c1038f2cc8fbdf62a49ec78ef5aa7 (patch)
tree3b1ff5749eb4106bc5db32c6a9865ca53c3de187 /clang/lib/CodeGen/CodeGenFunction.h
parent78849fb464ce63bd701e07d607d4c70ceec897f4 (diff)
downloadllvm-ef549a89559c1038f2cc8fbdf62a49ec78ef5aa7.zip
llvm-ef549a89559c1038f2cc8fbdf62a49ec78ef5aa7.tar.gz
llvm-ef549a89559c1038f2cc8fbdf62a49ec78ef5aa7.tar.bz2
[OPENMP 4.5] Codegen for data members in 'linear' clause
OpenMP 4.5 allows privatization of non-static data members in OpenMP constructs. Patch adds proper codegen support for data members in 'linear' clause llvm-svn: 263003
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index a84a0f0..13a3acb 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2389,7 +2389,9 @@ private:
/// Helpers for the OpenMP loop directives.
void EmitOMPLoopBody(const OMPLoopDirective &D, JumpDest LoopExit);
void EmitOMPSimdInit(const OMPLoopDirective &D, bool IsMonotonic = false);
- void EmitOMPSimdFinal(const OMPLoopDirective &D);
+ void EmitOMPSimdFinal(
+ const OMPLoopDirective &D,
+ const llvm::function_ref<llvm::Value *(CodeGenFunction &)> &CondGen);
/// \brief Emit code for the worksharing loop-based directive.
/// \return true, if this construct has any lastprivate clause, false -
/// otherwise.