diff options
author | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-23 14:46:55 +0000 |
---|---|---|
committer | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-23 14:46:55 +0000 |
commit | df67b98cfa2f5943ddc469380abf4f3821f0f6af (patch) | |
tree | ee3493395b810e3e0800b948507eda00f9269e2e /gcc/omp-low.h | |
parent | 6c1bd04c3bac12d73baa19d45a13bbf7058ee3ad (diff) | |
download | gcc-df67b98cfa2f5943ddc469380abf4f3821f0f6af.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/omp-low.h')
-rw-r--r-- | gcc/omp-low.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/omp-low.h b/gcc/omp-low.h index 8a4052efcad..44e35a35918 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); |