aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.h
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-09-23 16:46:55 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2015-09-23 16:46:55 +0200
commitf2c9f71da9fd748bb452e69e7825e5f28e7c741d (patch)
treeee3493395b810e3e0800b948507eda00f9269e2e /gcc/omp-low.h
parentef537cc859dd149230454398078da6d3128cfd9a (diff)
downloadgcc-f2c9f71da9fd748bb452e69e7825e5f28e7c741d.zip
gcc-f2c9f71da9fd748bb452e69e7825e5f28e7c741d.tar.gz
gcc-f2c9f71da9fd748bb452e69e7825e5f28e7c741d.tar.bz2
Refactor omp_reduction_init: omp_reduction_init_op
gcc/ * omp-low.h (omp_reduction_init_op): Declare. * omp-low.c (omp_reduction_init_op): New, broken out of ... (omp_reduction_init): ... here. Call it. * tree-parloops.c (initialize_reductions): Use omp_reduction_init_op. Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com> From-SVN: r228052
Diffstat (limited to 'gcc/omp-low.h')
-rw-r--r--gcc/omp-low.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/omp-low.h b/gcc/omp-low.h
index 8a4052e..44e35a3 100644
--- a/gcc/omp-low.h
+++ b/gcc/omp-low.h
@@ -25,6 +25,7 @@ struct omp_region;
extern tree find_omp_clause (tree, enum omp_clause_code);
extern void omp_expand_local (basic_block);
extern void free_omp_regions (void);
+extern tree omp_reduction_init_op (location_t, enum tree_code, tree);
extern tree omp_reduction_init (tree, tree);
extern bool make_gimple_omp_edges (basic_block, struct omp_region **, int *);
extern void omp_finish_file (void);