aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexander Musman <alexander.musman@gmail.com>2014-10-07 08:57:09 +0000
committerAlexander Musman <alexander.musman@gmail.com>2014-10-07 08:57:09 +0000
commitd196ef2124b7680577e3de9f3b86cc4e946bbcb1 (patch)
tree0c8f2e514f8a53838a0d8ac85e2357ceeaffae03 /clang/lib/CodeGen/CodeGenFunction.h
parent0676b902ad242537eb9d9914477dea4c36388ffd (diff)
downloadllvm-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.h7
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);
//===--------------------------------------------------------------------===//