2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
+ mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
+ ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
+ ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
+ mdr_try_remove_redundant_insns, track_w_reload,
+ mdr_try_wreg_elim): Make function static to match prototype.
+ * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
+ parameter with ATTRIBUTE_UNUSED.
+
+2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
* arc.c (arc_init): Don't use ISO C style function definitions.
* arm.c (count_insns_for_constant, thumb_far_jump_used_p,
arm_get_strip_length, arm_strip_name_encoding): Likewise.
much cheaper and the move from this to the original source operand will be
no more expensive than the original move. */
-void
+static void
mdr_resequence_xy_yx (first_insn)
rtx first_insn;
{
holds the same value and thus allow one or more register loads to
be eliminated. */
-void
+static void
mdr_propagate_reg_equivs (first_insn)
rtx first_insn;
{
that we can move to earlier points within the file.
Moving these out of the way allows more peepholes to match. */
-void
+static void
mdr_try_move_dp_reload (first_insn)
rtx first_insn;
{
/* Look to see if the expression, x, can have any stack references offset by
a fixed constant, offset. If it definitely can then returns non-zero. */
-int
+static int
ip2k_check_can_adjust_stack_ref (x, offset)
rtx x;
int offset;
/* Adjusts all of the stack references in the expression pointed to by x by
a fixed offset. */
-void
+static void
ip2k_adjust_stack_ref (x, offset)
rtx *x;
int offset;
to earlier points within the file. Moving these out of the way allows more
peepholes to match. */
-void
+static void
mdr_try_move_pushes (first_insn)
rtx first_insn;
{
actually change some instruction patterns when we're doing this whereas
move propagation is just about doing a search and replace. */
-void
+static void
mdr_try_propagate_clr (first_insn)
rtx first_insn;
{
via the specified register. This is very conservative and only returns
non-zero if we definitely don't have such a memory ref. */
-int
+static int
ip2k_xexp_not_uses_reg_for_mem (x, regno)
rtx x;
unsigned int regno;
holds the same value and thus allow one or more register loads to
be eliminated. */
-void
+static void
mdr_try_propagate_move (first_insn)
rtx first_insn;
{
/* Try to remove redundant instructions. */
-void
+static void
mdr_try_remove_redundant_insns (first_insn)
rtx first_insn;
{
/* WREG equivalence tracking used within DP reload elimination. */
-int
+static int
track_w_reload (insn, w_current, w_current_ok, modifying)
rtx insn;
rtx *w_current;
/* As part of the machine-dependent reorg we scan moves into w and track them
to see where any are redundant. */
-void
+static void
mdr_try_wreg_elim (first_insn)
rtx first_insn;
{