diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2014-05-23 13:32:01 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2014-05-23 13:32:01 +0200 |
commit | 0aadce73310807081b7df2b2310f6463e2379e00 (patch) | |
tree | e2e024643b9068bb6399b4c525c4362608dee32e /gcc/gimple.h | |
parent | eb63c927ea35dbfb28fb4431de4b77f41f2b390e (diff) | |
download | gcc-0aadce73310807081b7df2b2310f6463e2379e00.zip gcc-0aadce73310807081b7df2b2310f6463e2379e00.tar.gz gcc-0aadce73310807081b7df2b2310f6463e2379e00.tar.bz2 |
GF_OMP_FOR_SIMD: Flag for SIMD variants of OMP_FOR kinds.
gcc/
* gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD.
* omp-low.c: Update accordingly.
From-SVN: r210855
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index b1970e5..ceefbc0 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -94,8 +94,10 @@ enum gf_mask { GF_OMP_FOR_KIND_MASK = (1 << 2) - 1, GF_OMP_FOR_KIND_FOR = 0, GF_OMP_FOR_KIND_DISTRIBUTE = 1, - GF_OMP_FOR_KIND_SIMD = 2, - GF_OMP_FOR_KIND_CILKSIMD = 3, + /* Flag for SIMD variants of OMP_FOR kinds. */ + GF_OMP_FOR_SIMD = 1 << 1, + GF_OMP_FOR_KIND_SIMD = GF_OMP_FOR_SIMD | 0, + GF_OMP_FOR_KIND_CILKSIMD = GF_OMP_FOR_SIMD | 1, GF_OMP_FOR_COMBINED = 1 << 2, GF_OMP_FOR_COMBINED_INTO = 1 << 3, GF_OMP_TARGET_KIND_MASK = (1 << 2) - 1, |