r225780 - in /branches/gomp-4_1-branch/gcc: Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Jul 14 15:51:00 GMT 2015
Author: jakub
Date: Tue Jul 14 15:51:42 2015
New Revision: 225780
URL: https://gcc.gnu.org/viewcvs?rev=225780&root=gcc&view=rev
Log:
* tree-core.h (enum omp_clause_code): Add
OMP_CLAUSE_USE_DEVICE_PTR and OMP_CLAUSE_IS_DEVICE_PTR.
* gimplify.c (gimplify_scan_omp_clauses): Handle
OMP_CLAUSE_USE_DEVICE_PTR and OMP_CLAUSE_IS_DEVICE_PTR
like OMP_CLAUSE_FIRSTPRIVATE.
(gimplify_adjust_omp_clauses): Handle OMP_CLAUSE_{USE,IS}_DEVICE_PTR.
* tree.c (omp_clause_num_ops): Add entries for
OMP_CLAUSE_{USE,IS}_DEVICE_PTR.
(omp_clause_code_name): Likewise.
(walk_tree_1): Handle OMP_CLAUSE_{USE,IS}_DEVICE_PTR.
* tree-nested.c (convert_nonlocal_omp_clauses,
convert_local_omp_clauses): Likewise.
* omp-low.c (scan_sharing_clauses): Likewise.
* tree-pretty-print.c (dump_omp_clause): Likewise.
c-family/
* c-omp.c (c_omp_split_clauses): Improve function comment.
Handle OMP_CLAUSE_IS_DEVICE_PTR. Adjust for OMP_CLAUSE_PRIVATE
and OMP_CLAUSE_FIRSTPRIVATE being supported also on
#pragma omp target construct.
* c-pragma.h (enum pragma_omp_clause): Add
PRAGMA_OMP_CLAUSE_IS_DEVICE_PTR and
PRAGMA_OMP_CLAUSE_USE_DEVICE_PTR.
c/
* c-parser.c (c_parser_omp_clause_name): Parse use_device_ptr
and is_device_ptr.
(c_parser_omp_clause_use_device_ptr,
c_parser_omp_clause_is_device_ptr): New functions.
(c_parser_omp_all_clauses): Handle
PRAGMA_OMP_CLAUSE_{IS,USE}_DEVICE_PTR.
(OMP_TARGET_DATA_CLAUSE_MASK): Add PRAGMA_OMP_CLAUSE_USE_DEVICE_PTR.
(OMP_TARGET_CLAUSE_MASK): Add PRAGMA_OMP_CLAUSE_IS_DEVICE_PTR.
* c-typeck.c (c_finish_omp_clauses): Handle
OMP_CLAUSE_{USE,IS}_DEVICE_PTR.
cp/
* parser.c (cp_parser_omp_clause_name): Parse use_device_ptr
and is_device_ptr.
(cp_parser_omp_all_clauses): Handle OMP_CLAUSE_{USE,IS}_DEVICE_PTR.
(OMP_TARGET_DATA_CLAUSE_MASK): Add PRAGMA_OMP_CLAUSE_USE_DEVICE_PTR.
(OMP_TARGET_CLAUSE_MASK): Add PRAGMA_OMP_CLAUSE_IS_DEVICE_PTR.
* pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_{USE,IS}_DEVICE_PTR.
* semantics.c (finish_omp_clauses): Likewise.
Modified:
branches/gomp-4_1-branch/gcc/ChangeLog.gomp
branches/gomp-4_1-branch/gcc/c-family/ChangeLog.gomp
branches/gomp-4_1-branch/gcc/c-family/c-omp.c
branches/gomp-4_1-branch/gcc/c-family/c-pragma.h
branches/gomp-4_1-branch/gcc/c/ChangeLog.gomp
branches/gomp-4_1-branch/gcc/c/c-parser.c
branches/gomp-4_1-branch/gcc/c/c-typeck.c
branches/gomp-4_1-branch/gcc/cp/ChangeLog.gomp
branches/gomp-4_1-branch/gcc/cp/parser.c
branches/gomp-4_1-branch/gcc/cp/pt.c
branches/gomp-4_1-branch/gcc/cp/semantics.c
branches/gomp-4_1-branch/gcc/gimplify.c
branches/gomp-4_1-branch/gcc/omp-low.c
branches/gomp-4_1-branch/gcc/tree-core.h
branches/gomp-4_1-branch/gcc/tree-nested.c
branches/gomp-4_1-branch/gcc/tree-pretty-print.c
branches/gomp-4_1-branch/gcc/tree.c
More information about the Gcc-cvs
mailing list