diff options
author | Alexander Musman <alexander.musman@gmail.com> | 2014-10-07 08:57:09 +0000 |
---|---|---|
committer | Alexander Musman <alexander.musman@gmail.com> | 2014-10-07 08:57:09 +0000 |
commit | d196ef2124b7680577e3de9f3b86cc4e946bbcb1 (patch) | |
tree | 0c8f2e514f8a53838a0d8ac85e2357ceeaffae03 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 0676b902ad242537eb9d9914477dea4c36388ffd (diff) | |
download | llvm-d196ef2124b7680577e3de9f3b86cc4e946bbcb1.zip llvm-d196ef2124b7680577e3de9f3b86cc4e946bbcb1.tar.gz llvm-d196ef2124b7680577e3de9f3b86cc4e946bbcb1.tar.bz2 |
[OPENMP] Small refactoring of EmitOMPSimdLoop helper routine.
No functional changes intended.
Renamed EmitOMPSimdLoop to EmitOMPInnerLoop, I plan to re-use
it to emit inner loop in the future patches for CodeGen of the
worksharing loop directives (omp for, omp for simd).
llvm-svn: 219195
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 1ee45b5..d07ad5d 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2016,9 +2016,10 @@ public: void EmitOMPTargetDirective(const OMPTargetDirective &S); /// Helpers for 'omp simd' directive. - void EmitOMPSimdBody(const OMPLoopDirective &Directive, bool SeparateIter); - void EmitOMPSimdLoop(const OMPLoopDirective &S, OMPPrivateScope &LoopScope, - bool SeparateIter); + void EmitOMPLoopBody(const OMPLoopDirective &Directive, + bool SeparateIter = false); + void EmitOMPInnerLoop(const OMPLoopDirective &S, OMPPrivateScope &LoopScope, + bool SeparateIter = false); void EmitOMPSimdFinal(const OMPLoopDirective &S); //===--------------------------------------------------------------------===// |