summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntime.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-01-06 16:14:34 -0500
committerAlexey Bataev <a.bataev@hotmail.com>2020-01-06 16:37:01 -0500
commit7b518dcb291e740c3e957d93c2b4046bc8a97f00 (patch)
treec6b613e89cb1aa177ecc86f90a9cb7c83f93d5cf /clang/lib/CodeGen/CGOpenMPRuntime.h
parent02f694b69a8b30db7b5d43670da5ab3b9f31bb81 (diff)
downloadbcm5719-llvm-7b518dcb291e740c3e957d93c2b4046bc8a97f00.tar.gz
bcm5719-llvm-7b518dcb291e740c3e957d93c2b4046bc8a97f00.zip
[OPENMP50]Support lastprivate conditional updates in inc/dec unary ops.
Added support for checking of updates of variables used in unary pre(pos) inc/dec expressions.
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.h')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.h b/clang/lib/CodeGen/CGOpenMPRuntime.h
index 2a6a6b9e19c..4739be8a73b 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.h
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.h
@@ -1716,6 +1716,11 @@ public:
/// current context.
bool isNontemporalDecl(const ValueDecl *VD) const;
+ /// Initializes global counter for lastprivate conditional.
+ virtual void
+ initLastprivateConditionalCounter(CodeGenFunction &CGF,
+ const OMPExecutableDirective &S);
+
/// Checks if the provided \p LVal is lastprivate conditional and emits the
/// code to update the value of the original variable.
/// \code
OpenPOWER on IntegriCloud