summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-09-26 13:47:31 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-09-26 13:47:31 +0000
commitf47c4b41840975f33153d6a817f8f45c4169bc74 (patch)
treedcf8b76f4e9140212b4bd8be5b737987806d5e14 /clang/lib/CodeGen/CodeGenFunction.h
parent5375f4e6a806ff18bdfb1e1a51cdd0cf546c32b2 (diff)
downloadbcm5719-llvm-f47c4b41840975f33153d6a817f8f45c4169bc74.tar.gz
bcm5719-llvm-f47c4b41840975f33153d6a817f8f45c4169bc74.zip
[OPENMP] Generate implicit map|firstprivate clauses for target-based
directives. If the variable is used in the target-based region but is not found in any private|mapping clause, then generate implicit firstprivate|map clauses for these implicitly mapped variables. llvm-svn: 314205
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index d77cea48b02..635df4bc6b5 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2886,6 +2886,9 @@ public:
const CodeGenLoopBoundsTy &CodeGenLoopBounds,
const CodeGenDispatchBoundsTy &CGDispatchBounds);
+ /// Emits the lvalue for the expression with possibly captured variable.
+ LValue EmitOMPSharedLValue(const Expr *E);
+
private:
/// Helpers for blocks
llvm::Value *EmitBlockLiteral(const CGBlockInfo &Info);
OpenPOWER on IntegriCloud