nvptx.c (bb_pair_t, [...]): New types.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 18 Nov 2015 18:33:38 +0000 (18:33 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 18 Nov 2015 18:33:38 +0000 (18:33 +0000)
commit912442c25dfc470ad8fc11d29d9a5b1e8dbcd042
tree538fa8aef03cc3d746cf94efc077a9b722e19eed
parent482a338d0113756c63035861fa05aa003b49cf65
nvptx.c (bb_pair_t, [...]): New types.

gcc/
* config/nvptx/nvptx.c (bb_pair_t, bb_pair_vec_t): New types.
(pseudo_node_t, struct bracket, bracket_vec_t): New types.
(struct bb_sese): New struct.
(bb_sese::~bb_sese, bb_sese::append, bb_sese::remove): New.
(BB_GET_SESE, BB_SET_SESE): Define.
(nvptx_sese_number, nvptx_sese_pseudo, nvptx_sese_color): New.
(nvptx_find_sese): New.
(nvptx_neuter_pars): Find SESE regions when optimizing.

gcc/testsuite/
* gcc.dg/goacc/nvptx-sese-1.c: New.

From-SVN: r230561
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/goacc/nvptx-sese-1.c [new file with mode: 0644]