aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authorIra Rosen <ira.rosen@linaro.org>2011-03-24 08:23:39 +0000
committerIra Rosen <irar@gcc.gnu.org>2011-03-24 08:23:39 +0000
commitbfe068c3d311b07208084f3259929187f29ed37b (patch)
treeafb8a3198cdee843553c12f114920b4078828339 /gcc/params.h
parent3137991dfc4e0b6023c4b75b2ae1eb86bea32241 (diff)
downloadgcc-bfe068c3d311b07208084f3259929187f29ed37b.zip
gcc-bfe068c3d311b07208084f3259929187f29ed37b.tar.gz
gcc-bfe068c3d311b07208084f3259929187f29ed37b.tar.bz2
invoke.texi (max-stores-to-sink): Document.
* doc/invoke.texi (max-stores-to-sink): Document. * params.h (MAX_STORES_TO_SINK): Define. * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 if either vectorization or if-conversion is disabled. * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from tree-vect-data-refs.c vect_equal_offsets. (dr_equal_offsets_p): New function. (find_data_references_in_bb): Remove static. * tree-data-ref.h (find_data_references_in_bb): Declare. (dr_equal_offsets_p): Likewise. * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. (vect_drs_dependent_in_basic_block): Update calls to vect_equal_offsets. (vect_check_interleaving): Likewise. * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. (cond_if_else_store_replacement): Rename to... (cond_if_else_store_replacement_1): ... this. Change arguments and documentation. (cond_if_else_store_replacement): New function. * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. * params.def (PARAM_MAX_STORES_TO_SINK): Define. From-SVN: r171381
Diffstat (limited to 'gcc/params.h')
-rw-r--r--gcc/params.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/params.h b/gcc/params.h
index c4c12a4..98a64fd 100644
--- a/gcc/params.h
+++ b/gcc/params.h
@@ -204,4 +204,6 @@ extern void init_param_values (int *params);
PARAM_VALUE (PARAM_PREFETCH_MIN_INSN_TO_MEM_RATIO)
#define MIN_NONDEBUG_INSN_UID \
PARAM_VALUE (PARAM_MIN_NONDEBUG_INSN_UID)
+#define MAX_STORES_TO_SINK \
+ PARAM_VALUE (PARAM_MAX_STORES_TO_SINK)
#endif /* ! GCC_PARAMS_H */