summaryrefslogtreecommitdiff
path: root/clang/test/OpenMP/taskloop_firstprivate_messages.cpp
AgeCommit message (Collapse)Author
2020-05-07[OPENMP]Consider 'omp_null_allocator' as a predefined allocator.Alexey Bataev
Summary: omp.h header file defines omp_null_allocator as a predefined allocator, need to consider it also as a predefined allocator. Reviewers: jdoerfert Subscribers: jholewinski, yaxunl, guansong, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D79186
2019-07-22[OPENMP]Add support for analysis of firstprivate variables.Alexey Bataev
Summary: Firstprivate variables are the variables, for which the private copies must be created in the OpenMP regions and must be initialized with the original values. Thus, we must report if the uninitialized variable is used as firstprivate. Reviewers: NoQ Subscribers: guansong, jdoerfert, caomhin, kkwli0, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64765 llvm-svn: 366689
2019-07-18[OPENMP]Provide correct data sharing attributes for loop controlAlexey Bataev
variables. Loop control variables are private in loop-based constructs and we shall take this into account when generate the code for inner constructs. Currently, those variables are reported as shared in many cases. Moved the analysis of the data-sharing attributes of the loop control variable to an early semantic stage to correctly handle their attributes. llvm-svn: 366474
2019-07-08[OPENMP]Add -Wunintialized to the erroneous tests for future fix PR42392,Alexey Bataev
NFC. llvm-svn: 365334
2019-03-28[OPENMP]Add check for undefined behavior with thread allocators onAlexey Bataev
target and task-based directives. According to OpenMP 5.0, 2.11.4 allocate Clause, Restrictions, For task, taskloop or target directives, allocation requests to memory allocators with the trait access set to thread result in unspecified behavior. Patch introduces a check for omp_thread_mem_alloc predefined allocator on target- and trask-based directives. llvm-svn: 357205
2019-03-27[OPENMP]Initial support for 'allocate' clause.Alexey Bataev
Added parsing/sema analysis of the allocate clause. llvm-svn: 357068
2018-10-29[OPENMP] Do not capture private loop counters.Alexey Bataev
If the loop counter is not declared in the context of the loop and it is private, such loop counters should not be captured in the outlined regions. llvm-svn: 345505
2017-12-29[OPENMP] Support for -fopenmp-simd option with compilation of simd loopsAlexey Bataev
only. Added support for -fopenmp-simd option that allows compilation of simd-based constructs without emission of OpenMP runtime calls. llvm-svn: 321560
2017-09-21[OPENMP] Use canonical declarations for redeclarations checks.Alexey Bataev
If the captured variable has some redeclarations we may run into the situation where the redeclaration is used instead of the canonical declaration and we may consider this variable as one not captured before. llvm-svn: 313880
2016-04-13[OPENMP 4.0] Fixed DSA analysis for taskloop directives.Alexey Bataev
Patch make clang to perform analysis for task-based directives also for taskloop-based directives. llvm-svn: 266198
2016-04-01Revert "[OPENMP] Allow skip expression after comma in clauses with lists."Alexey Bataev
This reverts commit http://reviews.llvm.org/rL265003. After some thoughts decided to emit errors here. llvm-svn: 265119
2016-03-31[OPENMP] Allow skip expression after comma in clauses with lists.Alexey Bataev
Compatibility fix for better compatibility with the existing software. llvm-svn: 265003
2015-12-01[OPENMP 4.5] Parsing/sema analysis for 'taskloop' directive.Alexey Bataev
Adds initial parsing and semantic analysis for 'taskloop' directive. llvm-svn: 254367