Alexey Bataev
c77dd5257a
[OPENMP] Initial support for '#pragma omp for'.
...
llvm-svn: 211096
2014-06-17 11:49:22 +00:00
Alexey Bataev
c5e025831b
[OPENMP] Initial support of 'reduction' clause
...
llvm-svn: 211007
2014-06-16 07:08:35 +00:00
Craig Topper
4b56692e30
[C++11] Use 'nullptr'.
...
llvm-svn: 210448
2014-06-09 02:04:02 +00:00
Alp Toker
15e62a37f0
Fix typos
...
llvm-svn: 210328
2014-06-06 12:02:07 +00:00
Alexander Musman
1bb328cca5
[OPENMP] Parsing/Sema for OMPLasprivateClause.
...
Parsing this clause, allowing it on directive ‘omp simd’ and semantic checks.
llvm-svn: 210184
2014-06-04 13:06:39 +00:00
Alexander Musman
64d33f1d46
[OPENMP] Small comment and reformatting fixes.
...
Fix post-commit review comments by Carlo Bertolli
for commit r209660 - OMP collapse clause.
Re-formatted TransformOMP* functions in TreeTransform.h with clang-format.
llvm-svn: 210169
2014-06-04 07:53:32 +00:00
Alexander Musman
a8e9d2eccc
[OPENMP] Loop canonical form analysis (Sema)
...
This patch implements semantic analysis to make sure that the loop is in OpenMP canonical form.
This is the form required for 'omp simd', 'omp for' and other loop pragmas.
Differential revision: http://reviews.llvm.org/D3778
llvm-svn: 210095
2014-06-03 10:16:47 +00:00
Alexander Musman
f0d76e7dc3
Parsing/Sema for OMPAlignedClause.
...
llvm-svn: 209816
2014-05-29 14:36:25 +00:00
Nikola Smiljanic
03ff2596cb
Refactoring. Remove Owned method from Sema.
...
llvm-svn: 209812
2014-05-29 14:05:12 +00:00
Nikola Smiljanic
01a7598561
Refactoring. Remove release and take methods from ActionResult. Rename takeAs to getAs.
...
llvm-svn: 209800
2014-05-29 10:55:11 +00:00
Alexey Bataev
18b92eeacb
[OPENMP] Additional checking for local vars in initial values for threadprivate vars
...
llvm-svn: 209716
2014-05-28 07:40:25 +00:00
Alexey Bataev
ed09d24078
[OPENMP][C++11] Formatting and make more C++11 compliant of OpenMP sema.
...
llvm-svn: 209713
2014-05-28 05:53:51 +00:00
Alexander Musman
8bd31e69a4
Parsing/Sema for OMPCollapseClause.
...
Actual usage in Sema for collapsing loops will in some future patch.
llvm-svn: 209660
2014-05-27 15:12:19 +00:00
Alexander Musman
cb7f9c40f8
C++11 - Use nullptr in lib/Sema/SemaOpenMP.cpp and some reformatting (no functional changes).
...
llvm-svn: 208879
2014-05-15 13:04:49 +00:00
Alexey Bataev
4ca40eda36
[OPENMP] Removed unnecessary enums from OpenMP constructs
...
llvm-svn: 208516
2014-05-12 04:23:46 +00:00
Alexey Bataev
9959db5fa9
[OPENMP] Initial codegen for '#pragma omp parallel'
...
llvm-svn: 208077
2014-05-06 10:08:46 +00:00
Alexey Bataev
bcbadb65ab
[OPENMP] 'proc_bind' clause support - Parsing and sema analysis for OpenMP clause 'proc_bind'
...
llvm-svn: 208060
2014-05-06 06:04:14 +00:00
Alp Toker
b6cc592ea3
Fix a bunch of mislayered clang/Lex includes from Sema
...
llvm-svn: 207896
2014-05-03 03:45:55 +00:00
John Thompson
2255f2ce90
Initial implementation of -modules-earch-all option, for searching for symbols in non-imported modules.
...
llvm-svn: 206977
2014-04-23 12:57:01 +00:00
Alexander Musman
8dba66412b
[OPENMP] parsing 'linear' clause (for directive 'omp simd')
...
Differential Revision: http://reviews.llvm.org/D3272
llvm-svn: 206891
2014-04-22 13:09:42 +00:00
Fraser Cormack
111023cdc6
Test commit: minor formatting
...
llvm-svn: 206264
2014-04-15 08:59:09 +00:00
Alexey Bataev
d48bcd8a46
[OPENMP] Implemented 'copyin' clause
...
llvm-svn: 205164
2014-03-31 03:36:38 +00:00
Ted Kremenek
725a09732e
Placate -Wunreachable-code by removing unnecessary logic to handle NUM_OPENMP_DEFAULT_KINDS <= 1.
...
llvm-svn: 204487
2014-03-21 17:34:28 +00:00
Alexey Bataev
62c87d2509
[OPENMP] parsing of clause 'safelen' (for directive 'omp simd')
...
llvm-svn: 204428
2014-03-21 04:51:18 +00:00
Alexey Bataev
750a58bcd9
[OPENMP] DSA fix
...
llvm-svn: 204143
2014-03-18 12:19:12 +00:00
Alexey Bataev
a590b08308
[OPENMP] Simplified data-sharing attributes analysis.
...
llvm-svn: 204135
2014-03-18 10:23:46 +00:00
Craig Topper
e14c0f8e73
[C++11] Add 'override' keyword to virtual methods that override their base class.
...
llvm-svn: 203640
2014-03-12 04:55:44 +00:00
Alexey Bataev
d178ad4943
[OPENMP] Small update in threadprivate variables processing to fix template instantiation.
...
llvm-svn: 203214
2014-03-07 08:03:37 +00:00
Alexey Bataev
d4dbdf5438
[OPENMP] Updated comments and _OPENMP macro value for OpenMP 4.0 (for 'omp simd' support)
...
llvm-svn: 203114
2014-03-06 12:27:56 +00:00
Alexey Bataev
568a833f68
[OPENMP] Clause 'num_threads'
...
llvm-svn: 203087
2014-03-06 06:15:19 +00:00
Benjamin Kramer
167e999be9
[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.
...
llvm-svn: 202635
2014-03-02 12:20:24 +00:00
Alexey Bataev
1b59ab5683
[OPENMP] First changes for Parsing and Sema for 'omp simd' directive support
...
llvm-svn: 202360
2014-02-27 08:29:12 +00:00
Alexey Bataev
aadd52e5cc
[OPENMP] 'if' clause support (no CodeGen support)
...
llvm-svn: 201297
2014-02-13 05:29:23 +00:00
Alexey Bataev
ec3da87f82
[OPENMP] Bug fixes in threadprivate declaration and data sharing attributes processing. ( http://llvm-reviews.chandlerc.com/D2451 )
...
llvm-svn: 200513
2014-01-31 05:15:34 +00:00
Chandler Carruth
5553d0d4ca
Sort all the #include lines with LLVM's utils/sort_includes.py which
...
encodes the canonical rules for LLVM's style. I noticed this had drifted
quite a bit when cleaning up LLVM, so wanted to clean up Clang as well.
llvm-svn: 198686
2014-01-07 11:51:46 +00:00
Ted Kremenek
c37877d7a4
Convert anachronistic use of 'void *' to 'DeclContext *' in Scope that was a holdover from the long-dead Action interface.
...
llvm-svn: 192203
2013-10-08 17:08:03 +00:00
Alexey Bataev
d5af8e472d
[OpenMP] Added parsing and semantic analysis for firstprivate clause
...
llvm-svn: 191730
2013-10-01 05:32:34 +00:00
Alexey Bataev
7d2960bd2a
[OPENMP] Improved variable lookup procedure for threadprivate variables.
...
llvm-svn: 191416
2013-09-26 03:24:06 +00:00
Alexey Bataev
756c196f14
[OPENMP] Bug fixes and improvements.
...
1. Fixed constructor of shared clause.
2. Some macros for clauses processing are replaced by private template methods.
3. Additional checks in sema analysis of OpenMP clauses.
llvm-svn: 191265
2013-09-24 03:17:45 +00:00
Aaron Ballman
1f2bc24d9b
Silencing an MSVC warning about an empty control statement (it dislikes ; but is fine with {}).
...
llvm-svn: 190305
2013-09-09 13:29:38 +00:00
Alexey Bataev
758e55ee58
OpenMP: Data-sharing attributes analysis and clause 'shared' (fixed test threadprivate_messages.cpp)
...
llvm-svn: 190183
2013-09-06 18:03:48 +00:00
Rafael Espindola
e892ccec0d
Revert "OpenMP: Data-sharing attributes analysis and clause 'shared'"
...
This reverts commit r189795.
threadprivate_messages.cpp is faling on windows.
llvm-svn: 189811
2013-09-03 14:33:09 +00:00
Alexey Bataev
d4183dabd7
OpenMP: Data-sharing attributes analysis and clause 'shared'
...
llvm-svn: 189795
2013-09-03 12:55:52 +00:00
Richard Smith
f9b1510576
Refactor all diagnosing of TypoCorrections through a common function, in
...
preparation for teaching this function how to diagnose a correction that
includes importing a module.
llvm-svn: 188602
2013-08-17 00:46:16 +00:00
Alexey Bataev
5ec3eb11fc
OpenMP: basic support for #pragma omp parallel
...
llvm-svn: 186647
2013-07-19 03:13:43 +00:00
Alexey Bataev
6f6f3b4baf
OpenMP threadprivate with qualified names.
...
llvm-svn: 181683
2013-05-13 04:18:18 +00:00
Richard Smith
fd3834f7a1
Annotate flavor of TLS variable (statically or dynamically initialized) onto the AST.
...
llvm-svn: 179447
2013-04-13 02:43:54 +00:00
Alexey Bataev
a769e07232
OpenMP threadprivate directive parsing and semantic analysis
...
llvm-svn: 177705
2013-03-22 06:34:35 +00:00