aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-06-18 10:10:12 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-06-18 10:10:12 +0000
commit3b5b5c492e1aa6e3778384e82639ce990bc45729 (patch)
tree5aacd1d98fed73843d89e3b141fdbc6ba951ee6d /clang/lib/CodeGen/CodeGenFunction.h
parent67e898944392fb695058e6c2b3f119d6907c3f1a (diff)
downloadllvm-3b5b5c492e1aa6e3778384e82639ce990bc45729.zip
llvm-3b5b5c492e1aa6e3778384e82639ce990bc45729.tar.gz
llvm-3b5b5c492e1aa6e3778384e82639ce990bc45729.tar.bz2
[OPENMP] Add support for 'omp parallel for' directive.
Codegen for this directive is a combined codegen for 'omp parallel' region with 'omp for simd' region inside. Clauses are supported. llvm-svn: 240006
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 349a03c..920a550 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2147,6 +2147,11 @@ public:
///
/// \param D Directive that has at least one 'reduction' directives.
void EmitOMPReductionClauseFinal(const OMPExecutableDirective &D);
+ /// \brief Emit initial code for linear variables. Creates private copies
+ /// and initializes them with the values according to OpenMP standard.
+ ///
+ /// \param D Directive (possibly) with the 'linear' clause.
+ void EmitOMPLinearClauseInit(const OMPLoopDirective &D);
void EmitOMPParallelDirective(const OMPParallelDirective &S);
void EmitOMPSimdDirective(const OMPSimdDirective &S);