target.def (goacc.dim_limit): New hook.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 5 Nov 2015 13:50:13 +0000 (13:50 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 5 Nov 2015 13:50:13 +0000 (13:50 +0000)
commitbd7519757549bb0f61433767be4587d1d287fbae
tree7e0c36ef8da7959fa24be13c6ac216e007bdfb80
parent337d2167ccf01c028e993852f6d3a4681a021505
target.def (goacc.dim_limit): New hook.

* target.def (goacc.dim_limit): New hook.
* targhooks.h (default_goacc_dim_limit): Declare.
* doc/tm.texi.in (TARGET_GOACC_DIM_LIMIT): Add.
* doc/tm.texi: Rebuilt.
* omp-low.h (get_oacc_fn_dim_size, get_oacc_ifn_dim_arg): Declare.
* omp-low.c (get_oacc_fn_dim_size, get_oacc_ifn_dim_arg): New.
(default_goacc_dim_limit): New.
* config/nvptx/nvptx.c (PTX_VECTOR_LENGTH, PTX_WORKER_LENGTH): New.
(nvptx_goacc_dim_limit) New.
(TARGET_GOACC_DIM_LIMIT): Override.
* tree-vrp.c: Include omp-low.h, target.h.
(extract_range_basic): Add handling for IFN_GOACC_DIM_SIZE &
IFN_GOACC_DIM_POS.

From-SVN: r229809
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/omp-low.c
gcc/omp-low.h
gcc/target.def
gcc/targhooks.h
gcc/tree-vrp.c