Commit 4969d05d by Richard Kenner

Add prototypes for static functions.

(struct move_by_pieces): Move definition before function forward decls.

From-SVN: r3725
parent 446ac30f
...@@ -86,21 +86,51 @@ tree cleanups_this_call; ...@@ -86,21 +86,51 @@ tree cleanups_this_call;
returned. */ returned. */
static rtx saveregs_value; static rtx saveregs_value;
rtx store_expr (); /* This structure is used by move_by_pieces to describe the move to
static void store_constructor (); be performed. */
static rtx store_field ();
static rtx expand_builtin (); struct move_by_pieces
static rtx compare (); {
static rtx do_store_flag (); rtx to;
static void preexpand_calls (); rtx to_addr;
static rtx expand_increment (); int autinc_to;
static void init_queue (); int explicit_inc_to;
rtx from;
void do_pending_stack_adjust (); rtx from_addr;
static void do_jump_for_compare (); int autinc_from;
static void do_jump_by_parts_equality (); int explicit_inc_from;
static void do_jump_by_parts_equality_rtx (); int len;
static void do_jump_by_parts_greater (); int offset;
int reverse;
};
static rtx enqueue_insn PROTO((rtx, rtx));
static int queued_subexp_p PROTO((rtx));
static void init_queue PROTO((void));
static void move_by_pieces PROTO((rtx, rtx, int, int));
static int move_by_pieces_ninsns PROTO((unsigned int, int));
static void move_by_pieces_1 PROTO((rtx (*) (), enum machine_mode,
struct move_by_pieces *));
static void group_insns PROTO((rtx));
static void store_constructor PROTO((tree, rtx));
static rtx store_field PROTO((rtx, int, int, enum machine_mode, tree,
enum machine_mode, int, int, int));
static tree save_noncopied_parts PROTO((tree, tree));
static tree init_noncopied_parts PROTO((tree, tree));
static int safe_from_p PROTO((rtx, tree));
static int fixed_type_p PROTO((tree));
static int get_pointer_alignment PROTO((tree, unsigned));
static tree string_constant PROTO((tree, tree *));
static tree c_strlen PROTO((tree));
static rtx expand_builtin PROTO((tree, rtx, rtx, enum machine_mode, int));
static rtx expand_increment PROTO((tree, int));
static void preexpand_calls PROTO((tree));
static void do_jump_by_parts_greater PROTO((tree, int, rtx, rtx));
static void do_jump_by_parts_equality PROTO((tree, rtx, rtx));
static void do_jump_by_parts_equality_rtx PROTO((rtx, rtx, rtx));
static void do_jump_for_compare PROTO((rtx, rtx, rtx));
static rtx compare PROTO((tree, enum rtx_code, enum rtx_code));
static rtx do_store_flag PROTO((tree, rtx, enum machine_mode, int));
/* Record for each mode whether we can move a register directly to or /* Record for each mode whether we can move a register directly to or
from an object of that mode in memory. If we can't, we won't try from an object of that mode in memory. If we can't, we won't try
...@@ -1094,24 +1124,6 @@ convert_to_mode (mode, x, unsignedp) ...@@ -1094,24 +1124,6 @@ convert_to_mode (mode, x, unsignedp)
through protect_from_queue before calling. through protect_from_queue before calling.
ALIGN (in bytes) is maximum alignment we can assume. */ ALIGN (in bytes) is maximum alignment we can assume. */
struct move_by_pieces
{
rtx to;
rtx to_addr;
int autinc_to;
int explicit_inc_to;
rtx from;
rtx from_addr;
int autinc_from;
int explicit_inc_from;
int len;
int offset;
int reverse;
};
static void move_by_pieces_1 ();
static int move_by_pieces_ninsns ();
static void static void
move_by_pieces (to, from, len, align) move_by_pieces (to, from, len, align)
rtx to, from; rtx to, from;
...@@ -3323,7 +3335,8 @@ store_field (target, bitsize, bitpos, mode, exp, value_mode, ...@@ -3323,7 +3335,8 @@ store_field (target, bitsize, bitpos, mode, exp, value_mode,
this case, but the address of the object can be found. */ this case, but the address of the object can be found. */
tree tree
get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode, punsignedp, pvolatilep) get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode,
punsignedp, pvolatilep)
tree exp; tree exp;
int *pbitsize; int *pbitsize;
int *pbitpos; int *pbitpos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment