diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2020-01-06 16:14:34 -0500 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2020-01-06 16:37:01 -0500 |
commit | 7b518dcb291e740c3e957d93c2b4046bc8a97f00 (patch) | |
tree | c6b613e89cb1aa177ecc86f90a9cb7c83f93d5cf /clang/lib/CodeGen/CGOpenMPRuntime.h | |
parent | 02f694b69a8b30db7b5d43670da5ab3b9f31bb81 (diff) | |
download | bcm5719-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.h | 5 |
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 |