summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/threadprivate_messages.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP]Initial support for 'allocate' clause.Alexey Bataev2019-03-271-1/+1
| | | | | | Added parsing/sema analysis of the allocate clause. llvm-svn: 357068
* [OPENMP] Support for -fopenmp-simd option with compilation of simd loopsAlexey Bataev2017-12-291-0/+3
| | | | | | | | | only. Added support for -fopenmp-simd option that allows compilation of simd-based constructs without emission of OpenMP runtime calls. llvm-svn: 321560
* [OPENMP] Allow to reference threadprivate variable in same directive.Alexey Bataev2016-02-091-1/+1
| | | | llvm-svn: 260213
* [OPENMP] Fix for declarative/standalone directives use.Alexey Bataev2016-01-131-0/+3
| | | | | | Fixes processing of declarative directives and standalone executable directives. Declarative directives should not be allowed as an immediate statements and standalone executable directives are allowed to be used in case-stmt constructs. llvm-svn: 257586
* Produce a better diagnostic for global register variables.Akira Hatanaka2015-11-181-1/+4
| | | | | | | | | | | | | | | | | | Currently, when there is a global register variable in a program that is bound to an invalid register, clang/llvm prints an error message that is not very user-friendly. This commit improves the diagnostic and moves the check that used to be in the backend to Sema. In addition, it makes changes to error out if the size of the register doesn't match the declared variable size. e.g., volatile register int B asm ("rbp"); rdar://problem/23084219 Differential Revision: http://reviews.llvm.org/D13834 llvm-svn: 253405
* [OpenMP] Add TLS-based implementation for threadprivate directive.Samuel Antao2015-07-131-0/+1
| | | | llvm-svn: 242080
* [OPENMP] -fopenmp enables OpenMP support (fix for http://llvm.org/PR23492)Alexey Bataev2015-05-201-1/+1
| | | | | | | -fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified). Differential Revision: http://reviews.llvm.org/D9736 llvm-svn: 237769
* [OPENMP] Allow redeclaration of variables as threadprivate.Alexey Bataev2015-04-081-14/+13
| | | | | | No need to emit an error message if the variable is redeclared as threadprivate. llvm-svn: 234402
* [OPENMP] Fix crash on code emitting if errors are found.Alexey Bataev2015-03-181-1/+1
| | | | | | | Codegen for threadprivate variables (and in some other cases) may cause crash of the compiler if some diagnostic is produced later. This happens because some of the autogenerated globals are not removed from InternalVars StringMap when llvm::Module is reset. Differential Revision: http://reviews.llvm.org/D8360 llvm-svn: 232610
* [OPENMP] Consider global named register variables as threadprivate by default.Alexey Bataev2015-01-131-0/+3
| | | | | | Register are thread-local by default, so we have to consider them as threadprivate. llvm-svn: 225759
* Rnamed Class to TestClassAlexey Bataev2014-06-061-5/+5
| | | | llvm-svn: 210305
* [OPENMP] Additional checking for local vars in initial values for ↵Alexey Bataev2014-05-281-1/+3
| | | | | | threadprivate vars llvm-svn: 209716
* Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda ↵David Blaikie2014-04-021-2/+2
| | | | | | | | | | | | at ... )') For namespaces, this is consistent with mangling and GCC's debug info behavior. For structs, GCC uses <anonymous struct> but we prefer consistency between all anonymous entities but don't want to confuse them with template arguments, etc, so we'll just go with parens in all cases. llvm-svn: 205398
* [OPENMP] Added option -fopenmp=libiomp5|libgompAlexey Bataev2014-03-061-1/+1
| | | | llvm-svn: 203081
* Enhance OpenMP parser tests from r197553 / r197598Alp Toker2013-12-181-3/+6
| | | | | | | | | Move some of the verifier directives away from the end of the pragma line. This ensures that the diagnostics relate to the trailing token being tested and not the verifier comments which are themselves part of the token stream. llvm-svn: 197616
* Fix OpenMP recovery with trailing tokens following the pragmaAlp Toker2013-12-181-0/+6
| | | | | | | | The recovery was failing due to a missing case in SkipUntil(). Also add back tests from r197553 that were reverted in the previous commit. llvm-svn: 197598
* Revert "[OPENMP] Fix for parsing OpenMP directives with extra braces, ↵Alp Toker2013-12-181-6/+0
| | | | | | | | | | | brackets and parens" These parser changes were redundant. The same or better recovery can be achieved with a one-line fix to SkipUntil() due to land in the next commit. This reverts commit r197553. llvm-svn: 197597
* [OPENMP] Fix for parsing OpenMP directives with extra braces, brackets and ↵Alexey Bataev2013-12-181-0/+6
| | | | | | parens llvm-svn: 197553
* [OPENMP] Improved variable lookup procedure for threadprivate variables.Alexey Bataev2013-09-261-3/+3
| | | | llvm-svn: 191416
* Revert "OpenMP: Data-sharing attributes analysis and clause 'shared'"Rafael Espindola2013-09-031-1/+1
| | | | | | | | This reverts commit r189795. threadprivate_messages.cpp is faling on windows. llvm-svn: 189811
* OpenMP: Data-sharing attributes analysis and clause 'shared'Alexey Bataev2013-09-031-1/+1
| | | | llvm-svn: 189795
* Refactor all diagnosing of TypoCorrections through a common function, inRichard Smith2013-08-171-1/+1
| | | | | | | preparation for teaching this function how to diagnose a correction that includes importing a module. llvm-svn: 188602
* OpenMP: basic support for #pragma omp parallelAlexey Bataev2013-07-191-3/+3
| | | | llvm-svn: 186647
* OpenMP threadprivate with qualified names.Alexey Bataev2013-05-131-24/+28
| | | | llvm-svn: 181683
* OpenMP threadprivate directive parsing and semantic analysisAlexey Bataev2013-03-221-0/+119
llvm-svn: 177705
OpenPOWER on IntegriCloud