summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntime.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-05-07 06:18:01 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-05-07 06:18:01 +0000
commit15007ba94a581bac1cf167db0f18ea607823477f (patch)
treec23be445a3a89be1d907c6be8dacc8551387d535 /clang/lib/CodeGen/CGOpenMPRuntime.h
parent5944d9ce3e53a479ca2e780a54eb1309e31da097 (diff)
downloadbcm5719-llvm-15007ba94a581bac1cf167db0f18ea607823477f.tar.gz
bcm5719-llvm-15007ba94a581bac1cf167db0f18ea607823477f.zip
[OPENMP] Fixed problem with temp removal on some platforms in codegen for '#pragma omp parallel'
llvm-svn: 208162
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.h')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.h b/clang/lib/CodeGen/CGOpenMPRuntime.h
index 7ba7ada2b13..06103cf4d6f 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.h
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.h
@@ -76,6 +76,9 @@ private:
/// \brief Default const ident_t object used for initialization of all other
/// ident_t objects.
llvm::Constant *DefaultOpenMPPSource;
+ /// \brief Map of flags and corrsponding default locations.
+ typedef llvm::DenseMap<unsigned, llvm::Value *> OpenMPDefaultLocMapTy;
+ OpenMPDefaultLocMapTy OpenMPDefaultLocMap;
llvm::Value *GetOrCreateDefaultOpenMPLocation(OpenMPLocationFlags Flags);
/// \brief Describes ident structure that describes a source location.
/// All descriptions are taken from
OpenPOWER on IntegriCloud