summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
-rw-r--r--gcc/tree-ssa-loop-prefetch.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c
index 0260b260060..f020ea341bc 100644
--- a/gcc/tree-ssa-loop-prefetch.c
+++ b/gcc/tree-ssa-loop-prefetch.c
@@ -275,7 +275,7 @@ struct mem_ref_group
struct mem_ref
{
- gimple stmt; /* Statement in that the reference appears. */
+ gimple *stmt; /* Statement in that the reference appears. */
tree mem; /* The reference. */
HOST_WIDE_INT delta; /* Constant offset of the reference. */
struct mem_ref_group *group; /* The group of references it belongs to. */
@@ -364,7 +364,7 @@ find_or_create_group (struct mem_ref_group **groups, tree base, tree step)
WRITE_P. The reference occurs in statement STMT. */
static void
-record_ref (struct mem_ref_group *group, gimple stmt, tree mem,
+record_ref (struct mem_ref_group *group, gimple *stmt, tree mem,
HOST_WIDE_INT delta, bool write_p)
{
struct mem_ref **aref;
@@ -430,7 +430,7 @@ release_mem_refs (struct mem_ref_group *groups)
struct ar_data
{
struct loop *loop; /* Loop of the reference. */
- gimple stmt; /* Statement of the reference. */
+ gimple *stmt; /* Statement of the reference. */
tree *step; /* Step of the memory reference. */
HOST_WIDE_INT *delta; /* Offset of the memory reference. */
};
@@ -496,7 +496,7 @@ idx_analyze_ref (tree base, tree *index, void *data)
static bool
analyze_ref (struct loop *loop, tree *ref_p, tree *base,
tree *step, HOST_WIDE_INT *delta,
- gimple stmt)
+ gimple *stmt)
{
struct ar_data ar_data;
tree off;
@@ -544,7 +544,7 @@ analyze_ref (struct loop *loop, tree *ref_p, tree *base,
static bool
gather_memory_references_ref (struct loop *loop, struct mem_ref_group **refs,
- tree ref, bool write_p, gimple stmt)
+ tree ref, bool write_p, gimple *stmt)
{
tree base, step;
HOST_WIDE_INT delta;
@@ -620,7 +620,7 @@ gather_memory_references (struct loop *loop, bool *no_other_refs, unsigned *ref_
basic_block bb;
unsigned i;
gimple_stmt_iterator bsi;
- gimple stmt;
+ gimple *stmt;
tree lhs, rhs;
struct mem_ref_group *refs = NULL;