[Clang][OpenMP][OMPBuilder] Moving OMP allocation and cache creation code to OMPBuild...
authorFady Ghanim <fghanim84@gmail.com>
Thu, 4 Jun 2020 19:55:17 +0000 (15:55 -0400)
committerFady Ghanim <fghanim84@gmail.com>
Sun, 28 Jun 2020 23:04:20 +0000 (19:04 -0400)
commit80e15b4574f4a11792472249f64bac790145cc56
treeb03807d5d9cde888a2e4dbc1553d479d4f68f344
parent1becd298b82ed2f1a8ba5e61c5ad2ce7fe32d812
[Clang][OpenMP][OMPBuilder] Moving OMP allocation and cache creation code to OMPBuilderCBHelpers

Summary:
Modified the OMPBuilderCBHelpers in the following ways:
- Moved location of class definition and deleted all constructors
- Moved OpenMP-specific address allocation of local variables
- Moved threadprivate variable creation for the current thread

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79676
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CodeGenFunction.h