summaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-15 14:29:10 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-15 14:29:10 +0000
commite7f482a08ee0cd87a5139ebab968efa4c6452187 (patch)
tree016447456ff77c72488cc81bf2d117b7bcf6d8af /gcc/tree-flow.h
parent1403633ef27ccefcd8a1f94e6b64cbfcd5f3f768 (diff)
downloadgcc-e7f482a08ee0cd87a5139ebab968efa4c6452187.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118856 138bc75d-0d04-0410-961f-82ee72b054a4
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 61910f9e1a9..64926306ba9 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. */