}
// Set the range for NAME on entry to block BB to R.
-// If it has not been // accessed yet, allocate it first.
+// If it has not been accessed yet, allocate it first.
void
block_range_cache::set_bb_range (tree name, const basic_block bb,
e->src->index, e->dest->index);
print_generic_expr (dump_file, name, TDF_SLIM);
}
- // Simply calculate DEF_STMT on edge E usng the range query Q.
+ // Simply calculate DEF_STMT on edge E using the range query Q.
fold_range (r, def_stmt, e, &q);
if (dump_file && (dump_flags & TDF_DETAILS))
{
return m_query;
}
-
// Instantiate a stmt based fur_source.
-
fur_stmt::fur_stmt (gimple *s, range_query *q)
{
- m_stmt= s;
+ m_stmt = s;
if (q)
m_query = q;
else
m_query = get_global_range_query ();
}
-// Retirenve range of EXPR as it occurs as a use on stmt M_STMT.
+// Retrieve range of EXPR as it occurs as a use on stmt M_STMT.
bool
fur_stmt::get_operand (irange &r, tree expr)
return m_query;
}
-// This version of fur_source will pick a range from a stmt, and register
-// also dependencies via a gori_compute object. This is mostly an internal API.
+// This version of fur_source will pick a range from a stmt, and also register
+// dependencies via a gori_compute object. This is mostly an internal API.
class fur_depend : public fur_stmt
{
gori_compute *m_gori;
};
-// Instantiate a stmt based fur_source witrh a GORI object
+// Instantiate a stmt based fur_source with a GORI object
+
inline
fur_depend::fur_depend (gimple *s, gori_compute *gori, range_query *q)
- : fur_stmt (s, q)
+ : fur_stmt (s, q)
{
gcc_checking_assert (gori);
m_gori = gori;
}
-
// find and add any dependnecy between LHS and RHS
void
m_gori->register_dependency (lhs, rhs);
}
-
// This version of fur_source will pick a range up from a list of ranges
// supplied by the caller.
m_limit = num;
}
-// Get the next operand from the vector, ensure types are compatible,
+// Get the next operand from the vector, ensure types are compatible.
bool
fur_list::get_operand (irange &r, tree expr)
return f.fold_stmt (r, s, src);
}
-
// Fold stmt S into range R using range query Q.
bool