aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2006-11-15 14:29:10 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2006-11-15 14:29:10 +0000
commitdd5f63f83e862faee09a5a02bd417438a81ef8a1 (patch)
tree016447456ff77c72488cc81bf2d117b7bcf6d8af /gcc/tree-flow.h
parentc78ba53a65fdd2586b93937e6a757e652149e37f (diff)
downloadgcc-dd5f63f83e862faee09a5a02bd417438a81ef8a1.zip
gcc-dd5f63f83e862faee09a5a02bd417438a81ef8a1.tar.gz
gcc-dd5f63f83e862faee09a5a02bd417438a81ef8a1.tar.bz2
tree-flow.h (multiplier_allowed_in_address_p): Adjust prototype.
* tree-flow.h (multiplier_allowed_in_address_p): Adjust prototype. * tree-ssa-loop-ivopts.c (multiplier_allowed_in_address_p): New arg MODE; all callers changed. Use it to determine validity per machine mode instead of using Pmode for all memory references. (get_address_cost): Likewise add and use new arg MEM_MODE. From-SVN: r118856
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 61910f9..6492630 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -949,7 +949,7 @@ extern void linear_transform_loops (struct loops *);
/* In tree-ssa-loop-ivopts.c */
bool expr_invariant_in_loop_p (struct loop *, tree);
-bool multiplier_allowed_in_address_p (HOST_WIDE_INT);
+bool multiplier_allowed_in_address_p (HOST_WIDE_INT, enum machine_mode);
unsigned multiply_by_cost (HOST_WIDE_INT, enum machine_mode);
/* In tree-ssa-threadupdate.c. */