llvm-project/clang/lib
Alexey Bataev c99042ba97 [OPENMP, NVPTX] Improve globalization of the variables captured by value.
If the variable is captured by value and the corresponding parameter in
the outlined function escapes its declaration context, this parameter
must be globalized. To globalize it we need to get the address of the
original parameter, load the value, store it to the global address and
use this global address instead of the original.

Patch improves globalization for parallel|teams regions + functions in
declare target regions.

llvm-svn: 327654
2018-03-15 18:10:54 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST [OPENMP] Codegen for `omp declare target` construct. 2018-03-15 15:47:20 +00:00
ASTMatchers PR36581: Support data recursion over Stmts in AST matchers. 2018-03-02 21:55:03 +00:00
Analysis [CFG] Allow CallExpr's to be looked up in CFG's 2018-03-15 00:09:26 +00:00
Basic [ARM] ACLE FP16 feature test macros 2018-03-13 22:11:06 +00:00
CodeGen [OPENMP, NVPTX] Improve globalization of the variables captured by value. 2018-03-15 18:10:54 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [OpenMP] Add flag for linking runtime bitcode library 2018-03-13 23:19:52 +00:00
Edit [NFC] Extract method to SourceManager for traversing the macro "stack" 2018-02-09 23:30:07 +00:00
Format [clang-format] Improve detection of Objective-C block types 2018-03-12 15:42:40 +00:00
Frontend [Tooling] Clear the PreambleSrcLocCache when preamble is discarded during reparsing 2018-03-12 19:36:29 +00:00
FrontendTool Make a build bot happy. 2018-02-10 14:26:53 +00:00
Headers [DOXYGEN] Fix doxygen and content issues in mmintrin.h 2018-03-09 00:38:51 +00:00
Index [Index] fix USR generation for namespace{extern{X}} 2018-02-02 14:13:37 +00:00
Lex [ObjC] Allow declaring __strong pointer fields in structs in Objective-C 2018-02-28 07:15:55 +00:00
Parse [OPENMP] Codegen for `omp declare target` construct. 2018-03-15 15:47:20 +00:00
Rewrite [analyzer] Show full analyzer invocation for reproducibility in HTML reports 2018-01-23 19:28:52 +00:00
Sema [OPENMP] Codegen for `omp declare target` construct. 2018-03-15 15:47:20 +00:00
Serialization Serialize the NonTrivialToPrimitive* flags I added in r326307. 2018-03-13 18:58:25 +00:00
StaticAnalyzer StaticAnalyzer: fix compiler warning. NFC 2018-03-14 10:16:40 +00:00
Tooling [Tooling] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-14 21:05:51 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00