[nvptx] Rename worker_bcast variables to oacc_bcast
authorTom de Vries <tdevries@suse.de>
Wed, 19 Dec 2018 10:17:11 +0000 (10:17 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 19 Dec 2018 10:17:11 +0000 (10:17 +0000)
commit1ed57fb8b6988d649c787cbbc2c87acf823498c1
tree2ba7c7b00951cb0b5daaa05a28d32c3a54b987f2
parent1dcf26882b1a8c4f388ed6a618d6e4b1e1330057
[nvptx] Rename worker_bcast variables to oacc_bcast

Rename worker_bcast variables to oacc_bcast, avoiding worker terminology.

Build and reg-tested on x86_64 with nvptx accelerator.

2018-12-19  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx.c (worker_bcast_size): Rename as
oacc_bcast_size.
(worker_bcast_align): Rename as oacc_bcast_align.
(worker_bcast_sym): Rename as oacc_bcast_sym.
(nvptx_option_override): Update usage of oacc_bcast_*.
(struct wcast_data_t): Rename as broadcast_data_t.
(nvptx_gen_wcast): Update type of data argument and usage of
oacc_bcast_align.
(wprop_gen): Update type of data_ and usage of oacc_bcast_align.
(nvptx_wpropagate): Update type of data and usage of
oacc_bcast_{sym,size}.
(nvptx_single): Update type of data and usage of oacc_bcast_size.
(nvptx_file_end): Update usage of oacc_bcast_{sym,align,size}.

From-SVN: r267259
gcc/ChangeLog
gcc/config/nvptx/nvptx.c