This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r227246 - in /branches/gomp-4_0-branch/gcc: Cha...
- From: cesar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 27 Aug 2015 01:13:48 -0000
- Subject: r227246 - in /branches/gomp-4_0-branch/gcc: Cha...
Author: cesar
Date: Thu Aug 27 01:13:48 2015
New Revision: 227246
URL: https://gcc.gnu.org/viewcvs?rev=227246&root=gcc&view=rev
Log:
* doc/tm.texi: Regenerate.
* doc/tm.texi.in: Add a placeholder for TARGET_GOACC_REDUCTION.
* internal-fn.c (expand_GOACC_REDUCTION_SETUP): New function.
(expand_GOACC_REDUCTION_INIT): New function.
(expand_GOACC_REDUCTION_FINI): New function.
(expand_GOACC_REDUCTION_TEARDOWN): New function.
* internal-fn.def (DEF_INTERNAL_FN):
* omp-low.c (GOACC_REDUCTION_SETUP, GOACC_REDUCTION_INIT,
GOACC_REDUCTION_FINI, GOACC_REDUCTION_TEARDOWN): New internal
functions.
* omp-low.c (execute_oacc_transform): Expand those new internal
functions.
(make_pass_oacc_transform): Add TODO_cleanup_cfg to todo_flags_finish.
(default_goacc_reduction_setup): New function.
(default_goacc_reduction_init_fini): New function.
(default_goacc_reduction_teardown): New function.
(default_goacc_reduction): New function.
* target.def (reduction): New goacc target hook.
* targhooks.h (default_goacc_reduction): Declare
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/doc/tm.texi
branches/gomp-4_0-branch/gcc/doc/tm.texi.in
branches/gomp-4_0-branch/gcc/internal-fn.c
branches/gomp-4_0-branch/gcc/internal-fn.def
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/target.def
branches/gomp-4_0-branch/gcc/targhooks.h