r222281 - in /branches/gomp-4_0-branch/gcc: Cha...
tschwinge@gcc.gnu.org
tschwinge@gcc.gnu.org
Tue Apr 21 19:48:00 GMT 2015
Author: tschwinge
Date: Tue Apr 21 19:48:16 2015
New Revision: 222281
URL: https://gcc.gnu.org/viewcvs?rev=222281&root=gcc&view=rev
Log:
Add pass_ch_oacc_kernels to pass_oacc_kernels
gcc/
* omp-low.c (loop_in_oacc_kernels_region_p): New function.
* omp-low.h (loop_in_oacc_kernels_region_p): Declare.
* passes.def: Add pass_ch_oacc_kernels to pass group pass_oacc_kernels.
* tree-pass.h (make_pass_ch_oacc_kernels): Declare
* tree-ssa-loop-ch.c: Include omp-low.h.
(pass_ch_execute): Declare.
(pass_ch::execute): Factor out ...
(pass_ch_execute): ... this new function. If handling oacc kernels,
skip loops that are not in oacc kernels region.
(pass_ch_oacc_kernels::execute):
(pass_data_ch_oacc_kernels): New pass_data.
(class pass_ch_oacc_kernels): New pass.
(pass_ch_oacc_kernels::execute, make_pass_ch_oacc_kernels): New
function.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/omp-low.h
branches/gomp-4_0-branch/gcc/passes.def
branches/gomp-4_0-branch/gcc/tree-pass.h
branches/gomp-4_0-branch/gcc/tree-ssa-loop-ch.c
More information about the Gcc-cvs
mailing list