llvm-project/clang/lib
Alexey Bataev 475a7440f1 [OPENMP] Replace calls of getAssociatedStmt().
getAssociatedStmt() returns the outermost captured statement for the
OpenMP directive. It may return incorrect region in case of combined
constructs. Reworked the code to reduce the number of calls of
getAssociatedStmt() and used getInnermostCapturedStmt() and
getCapturedStmt() functions instead.
In case of firstprivate variables it may lead to an extra allocas
generation for private copies even if the variable is passed by value
into outlined function and could be used directly as private copy.

llvm-svn: 322393
2018-01-12 19:39:11 +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] Replace calls of getAssociatedStmt(). 2018-01-12 19:39:11 +00:00
ASTMatchers Remove creation of out-of-bounds value of enumeration type (resulting in UB). 2017-12-08 23:29:59 +00:00
Analysis Handle scoped_lockable objects being returned by value in C++17. 2018-01-11 22:13:57 +00:00
Basic [RISCV] Add the RISCV target and compiler driver 2018-01-11 13:36:56 +00:00
CodeGen [OPENMP] Replace calls of getAssociatedStmt(). 2018-01-12 19:39:11 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [WebAssembly] Support -stdlib=libc++ switch 2018-01-12 17:54:49 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format Revert "[ClangFormat] IndentWrappedFunctionNames should be true in the google ObjC style" 2017-12-14 21:44:11 +00:00
Frontend [CodeComplete] Add an option to omit results from the preamble. 2018-01-12 14:51:47 +00:00
FrontendTool [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) 2017-10-18 05:21:17 +00:00
Headers [OpenCL] Reorder the CLK_sRGBx/sRGBA defines, NFC 2018-01-11 14:05:38 +00:00
Index [Index] Reduce size of SymbolInfo struct. 2017-12-23 19:31:24 +00:00
Lex [Lex] Avoid out-of-bounds dereference in LexAngledStringLiteral. 2018-01-12 18:54:35 +00:00
Parse [OpenMP] Fix handling of clause on wrong directive, by Joel. E. Denny 2018-01-09 19:21:04 +00:00
Rewrite [analyzer] Add Javascript to analyzer HTML output to allow keyboard navigation. 2017-12-21 22:57:51 +00:00
Sema [OPENMP] Replace calls of getAssociatedStmt(). 2018-01-12 19:39:11 +00:00
Serialization Track in the AST whether the operand to a UnaryOperator can overflow and then use that logic when evaluating constant expressions and emitting codegen. 2018-01-09 13:07:03 +00:00
StaticAnalyzer [analyzer] [NFC] Minor refactoring of trackNullOrUndefValue 2018-01-10 01:30:32 +00:00
Tooling Add a tool executor that runs actions on all TUs in the compilation database. 2018-01-05 10:32:16 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00