From: Thomas Schwinge Date: Tue, 28 Feb 2017 08:41:55 +0000 (+0100) Subject: Rename the "openmp" group of optimizations to "omp" X-Git-Tag: upstream/12.2.0~40954 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd2b8c8bd3839a847cc40adc78561ab73448e4cb;p=platform%2Fupstream%2Fgcc.git Rename the "openmp" group of optimizations to "omp" gcc/ * dumpfile.h (OPTGROUP_OPENMP): Rename to OPTGROUP_OMP. Adjust all users. * dumpfile.c (optgroup_options): Instead of "openmp", associate OPTGROUP_OMP with "omp". From-SVN: r245768 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c1025d..b699944 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-02-28 Thomas Schwinge + + * dumpfile.h (OPTGROUP_OPENMP): Rename to OPTGROUP_OMP. Adjust + all users. + * dumpfile.c (optgroup_options): Instead of "openmp", associate + OPTGROUP_OMP with "omp". + 2017-02-27 Pat Haugen PR target/79544 diff --git a/gcc/doc/optinfo.texi b/gcc/doc/optinfo.texi index 415e9a9..cf6ce00 100644 --- a/gcc/doc/optinfo.texi +++ b/gcc/doc/optinfo.texi @@ -59,8 +59,9 @@ Loop optimization passes. Enabled by @option{-loop}. @item OPTGROUP_INLINE Inlining passes. Enabled by @option{-inline}. -@item OPTGROUP_OPENMP -OpenMP passes. Enabled by @option{-openmp}. +@item OPTGROUP_OMP +OMP (Offloading and Multi Processing) passes. Enabled by +@option{-omp}. @item OPTGROUP_VEC Vectorization passes. Enabled by @option{-vec}. diff --git a/gcc/dumpfile.c b/gcc/dumpfile.c index 2c5dce2..6b9a47c 100644 --- a/gcc/dumpfile.c +++ b/gcc/dumpfile.c @@ -140,7 +140,7 @@ static const struct dump_option_value_info optgroup_options[] = {"ipa", OPTGROUP_IPA}, {"loop", OPTGROUP_LOOP}, {"inline", OPTGROUP_INLINE}, - {"openmp", OPTGROUP_OPENMP}, + {"omp", OPTGROUP_OMP}, {"vec", OPTGROUP_VEC}, {"optall", OPTGROUP_ALL}, {NULL, 0} diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h index 7c8f7a2..3886f98 100644 --- a/gcc/dumpfile.h +++ b/gcc/dumpfile.h @@ -99,7 +99,8 @@ enum tree_dump_index #define OPTGROUP_LOOP (1 << 2) /* Loop optimization passes */ #define OPTGROUP_INLINE (1 << 3) /* Inlining passes */ #define OPTGROUP_VEC (1 << 4) /* Vectorization passes */ -#define OPTGROUP_OPENMP (1 << 5) /* OpenMP specific transformations */ +#define OPTGROUP_OMP (1 << 5) /* OMP (Offloading and Multi + Processing) transformations */ #define OPTGROUP_OTHER (1 << 6) /* All other passes */ #define OPTGROUP_ALL (OPTGROUP_IPA | OPTGROUP_LOOP | OPTGROUP_INLINE \ | OPTGROUP_VEC | OPTGROUP_OTHER) diff --git a/gcc/omp-expand.c b/gcc/omp-expand.c index 55e54e4..ea951d6 100644 --- a/gcc/omp-expand.c +++ b/gcc/omp-expand.c @@ -8134,7 +8134,7 @@ const pass_data pass_data_expand_omp = { GIMPLE_PASS, /* type */ "ompexp", /* name */ - OPTGROUP_OPENMP, /* optinfo_flags */ + OPTGROUP_OMP, /* optinfo_flags */ TV_NONE, /* tv_id */ PROP_gimple_any, /* properties_required */ PROP_gimple_eomp, /* properties_provided */ @@ -8181,7 +8181,7 @@ const pass_data pass_data_expand_omp_ssa = { GIMPLE_PASS, /* type */ "ompexpssa", /* name */ - OPTGROUP_OPENMP, /* optinfo_flags */ + OPTGROUP_OMP, /* optinfo_flags */ TV_NONE, /* tv_id */ PROP_cfg | PROP_ssa, /* properties_required */ PROP_gimple_eomp, /* properties_provided */ diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 35df02c..c2c69cb 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -8920,7 +8920,7 @@ const pass_data pass_data_lower_omp = { GIMPLE_PASS, /* type */ "omplower", /* name */ - OPTGROUP_OPENMP, /* optinfo_flags */ + OPTGROUP_OMP, /* optinfo_flags */ TV_NONE, /* tv_id */ PROP_gimple_any, /* properties_required */ PROP_gimple_lomp | PROP_gimple_lomp_dev, /* properties_provided */ @@ -9232,7 +9232,7 @@ const pass_data pass_data_diagnose_omp_blocks = { GIMPLE_PASS, /* type */ "*diagnose_omp_blocks", /* name */ - OPTGROUP_OPENMP, /* optinfo_flags */ + OPTGROUP_OMP, /* optinfo_flags */ TV_NONE, /* tv_id */ PROP_gimple_any, /* properties_required */ 0, /* properties_provided */ diff --git a/gcc/omp-offload.c b/gcc/omp-offload.c index aed9e14..fad038f 100644 --- a/gcc/omp-offload.c +++ b/gcc/omp-offload.c @@ -1625,7 +1625,7 @@ const pass_data pass_data_oacc_device_lower = { GIMPLE_PASS, /* type */ "oaccdevlow", /* name */ - OPTGROUP_OPENMP, /* optinfo_flags */ + OPTGROUP_OMP, /* optinfo_flags */ TV_NONE, /* tv_id */ PROP_cfg, /* properties_required */ 0 /* Possibly PROP_gimple_eomp. */, /* properties_provided */ @@ -1727,7 +1727,7 @@ const pass_data pass_data_omp_device_lower = { GIMPLE_PASS, /* type */ "ompdevlow", /* name */ - OPTGROUP_OPENMP, /* optinfo_flags */ + OPTGROUP_OMP, /* optinfo_flags */ TV_NONE, /* tv_id */ PROP_cfg, /* properties_required */ PROP_gimple_lomp_dev, /* properties_provided */ @@ -1771,7 +1771,7 @@ const pass_data pass_data_omp_target_link = { GIMPLE_PASS, /* type */ "omptargetlink", /* name */ - OPTGROUP_OPENMP, /* optinfo_flags */ + OPTGROUP_OMP, /* optinfo_flags */ TV_NONE, /* tv_id */ PROP_ssa, /* properties_required */ 0, /* properties_provided */