aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-11-17 21:42:09 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-11-17 21:42:09 +0000
commit886c388d74901f294841263f2c2400fe8a586eae (patch)
tree6af2fa8536739693ee356033f1818403b79d8687 /gcc/cfgloop.h
parent211c93053a337e65ef245d933f4804a492ba5c6e (diff)
downloadgcc-886c388d74901f294841263f2c2400fe8a586eae.zip
gcc-886c388d74901f294841263f2c2400fe8a586eae.tar.gz
gcc-886c388d74901f294841263f2c2400fe8a586eae.tar.bz2
Add in_oacc_kernels_region in struct loop
2015-11-17 Tom de Vries <tom@codesourcery.com> * cfgloop.h (struct loop): Add in_oacc_kernels_region field. * omp-low.c (mark_loops_in_oacc_kernels_region): New function. (expand_omp_target): Call mark_loops_in_oacc_kernels_region. From-SVN: r230502
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 6af6893..ee73bf9 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -191,6 +191,9 @@ struct GTY ((chain_next ("%h.next"))) loop {
/* True if we should try harder to vectorize this loop. */
bool force_vectorize;
+ /* True if the loop is part of an oacc kernels region. */
+ bool in_oacc_kernels_region;
+
/* For SIMD loops, this is a unique identifier of the loop, referenced
by IFN_GOMP_SIMD_VF, IFN_GOMP_SIMD_LANE and IFN_GOMP_SIMD_LAST_LANE
builtins. */