Commit b0f43ca0 by Ian Lance Taylor Committed by Ian Lance Taylor

expr.c (struct move_by_pieces_d): Rename from move_by_pieces.

	* expr.c (struct move_by_pieces_d): Rename from move_by_pieces.
	Change all uses.
	(struct store_by_pieces_d): Rename from store_by_pieces.  Change
	call uses.

From-SVN: r148633
parent 23314e77
2009-06-17 Ian Lance Taylor <iant@google.com>
* expr.c (struct move_by_pieces_d): Rename from move_by_pieces.
Change all uses.
(struct store_by_pieces_d): Rename from store_by_pieces. Change
call uses.
2009-06-17 Adam Nemet <anemet@caviumnetworks.com> 2009-06-17 Adam Nemet <anemet@caviumnetworks.com>
* tree.h (STRIP_NOPS, STRIP_SIGN_NOPS, * tree.h (STRIP_NOPS, STRIP_SIGN_NOPS,
......
...@@ -91,7 +91,7 @@ int cse_not_expected; ...@@ -91,7 +91,7 @@ int cse_not_expected;
/* This structure is used by move_by_pieces to describe the move to /* This structure is used by move_by_pieces to describe the move to
be performed. */ be performed. */
struct move_by_pieces struct move_by_pieces_d
{ {
rtx to; rtx to;
rtx to_addr; rtx to_addr;
...@@ -109,7 +109,7 @@ struct move_by_pieces ...@@ -109,7 +109,7 @@ struct move_by_pieces
/* This structure is used by store_by_pieces to describe the clear to /* This structure is used by store_by_pieces to describe the clear to
be performed. */ be performed. */
struct store_by_pieces struct store_by_pieces_d
{ {
rtx to; rtx to;
rtx to_addr; rtx to_addr;
...@@ -126,16 +126,16 @@ static unsigned HOST_WIDE_INT move_by_pieces_ninsns (unsigned HOST_WIDE_INT, ...@@ -126,16 +126,16 @@ static unsigned HOST_WIDE_INT move_by_pieces_ninsns (unsigned HOST_WIDE_INT,
unsigned int, unsigned int,
unsigned int); unsigned int);
static void move_by_pieces_1 (rtx (*) (rtx, ...), enum machine_mode, static void move_by_pieces_1 (rtx (*) (rtx, ...), enum machine_mode,
struct move_by_pieces *); struct move_by_pieces_d *);
static bool block_move_libcall_safe_for_call_parm (void); static bool block_move_libcall_safe_for_call_parm (void);
static bool emit_block_move_via_movmem (rtx, rtx, rtx, unsigned, unsigned, HOST_WIDE_INT); static bool emit_block_move_via_movmem (rtx, rtx, rtx, unsigned, unsigned, HOST_WIDE_INT);
static tree emit_block_move_libcall_fn (int); static tree emit_block_move_libcall_fn (int);
static void emit_block_move_via_loop (rtx, rtx, rtx, unsigned); static void emit_block_move_via_loop (rtx, rtx, rtx, unsigned);
static rtx clear_by_pieces_1 (void *, HOST_WIDE_INT, enum machine_mode); static rtx clear_by_pieces_1 (void *, HOST_WIDE_INT, enum machine_mode);
static void clear_by_pieces (rtx, unsigned HOST_WIDE_INT, unsigned int); static void clear_by_pieces (rtx, unsigned HOST_WIDE_INT, unsigned int);
static void store_by_pieces_1 (struct store_by_pieces *, unsigned int); static void store_by_pieces_1 (struct store_by_pieces_d *, unsigned int);
static void store_by_pieces_2 (rtx (*) (rtx, ...), enum machine_mode, static void store_by_pieces_2 (rtx (*) (rtx, ...), enum machine_mode,
struct store_by_pieces *); struct store_by_pieces_d *);
static tree clear_storage_libcall_fn (int); static tree clear_storage_libcall_fn (int);
static rtx compress_float_constant (rtx, rtx); static rtx compress_float_constant (rtx, rtx);
static rtx get_subtarget (rtx); static rtx get_subtarget (rtx);
...@@ -876,7 +876,7 @@ rtx ...@@ -876,7 +876,7 @@ rtx
move_by_pieces (rtx to, rtx from, unsigned HOST_WIDE_INT len, move_by_pieces (rtx to, rtx from, unsigned HOST_WIDE_INT len,
unsigned int align, int endp) unsigned int align, int endp)
{ {
struct move_by_pieces data; struct move_by_pieces_d data;
rtx to_addr, from_addr = XEXP (from, 0); rtx to_addr, from_addr = XEXP (from, 0);
unsigned int max_size = MOVE_MAX_PIECES + 1; unsigned int max_size = MOVE_MAX_PIECES + 1;
enum machine_mode mode = VOIDmode, tmode; enum machine_mode mode = VOIDmode, tmode;
...@@ -1088,7 +1088,7 @@ move_by_pieces_ninsns (unsigned HOST_WIDE_INT l, unsigned int align, ...@@ -1088,7 +1088,7 @@ move_by_pieces_ninsns (unsigned HOST_WIDE_INT l, unsigned int align,
static void static void
move_by_pieces_1 (rtx (*genfun) (rtx, ...), enum machine_mode mode, move_by_pieces_1 (rtx (*genfun) (rtx, ...), enum machine_mode mode,
struct move_by_pieces *data) struct move_by_pieces_d *data)
{ {
unsigned int size = GET_MODE_SIZE (mode); unsigned int size = GET_MODE_SIZE (mode);
rtx to1 = NULL_RTX, from1; rtx to1 = NULL_RTX, from1;
...@@ -2382,7 +2382,7 @@ store_by_pieces (rtx to, unsigned HOST_WIDE_INT len, ...@@ -2382,7 +2382,7 @@ store_by_pieces (rtx to, unsigned HOST_WIDE_INT len,
rtx (*constfun) (void *, HOST_WIDE_INT, enum machine_mode), rtx (*constfun) (void *, HOST_WIDE_INT, enum machine_mode),
void *constfundata, unsigned int align, bool memsetp, int endp) void *constfundata, unsigned int align, bool memsetp, int endp)
{ {
struct store_by_pieces data; struct store_by_pieces_d data;
if (len == 0) if (len == 0)
{ {
...@@ -2434,7 +2434,7 @@ store_by_pieces (rtx to, unsigned HOST_WIDE_INT len, ...@@ -2434,7 +2434,7 @@ store_by_pieces (rtx to, unsigned HOST_WIDE_INT len,
static void static void
clear_by_pieces (rtx to, unsigned HOST_WIDE_INT len, unsigned int align) clear_by_pieces (rtx to, unsigned HOST_WIDE_INT len, unsigned int align)
{ {
struct store_by_pieces data; struct store_by_pieces_d data;
if (len == 0) if (len == 0)
return; return;
...@@ -2462,7 +2462,7 @@ clear_by_pieces_1 (void *data ATTRIBUTE_UNUSED, ...@@ -2462,7 +2462,7 @@ clear_by_pieces_1 (void *data ATTRIBUTE_UNUSED,
rtx with BLKmode). ALIGN is maximum alignment we can assume. */ rtx with BLKmode). ALIGN is maximum alignment we can assume. */
static void static void
store_by_pieces_1 (struct store_by_pieces *data ATTRIBUTE_UNUSED, store_by_pieces_1 (struct store_by_pieces_d *data ATTRIBUTE_UNUSED,
unsigned int align ATTRIBUTE_UNUSED) unsigned int align ATTRIBUTE_UNUSED)
{ {
rtx to_addr = XEXP (data->to, 0); rtx to_addr = XEXP (data->to, 0);
...@@ -2560,7 +2560,7 @@ store_by_pieces_1 (struct store_by_pieces *data ATTRIBUTE_UNUSED, ...@@ -2560,7 +2560,7 @@ store_by_pieces_1 (struct store_by_pieces *data ATTRIBUTE_UNUSED,
static void static void
store_by_pieces_2 (rtx (*genfun) (rtx, ...), enum machine_mode mode, store_by_pieces_2 (rtx (*genfun) (rtx, ...), enum machine_mode mode,
struct store_by_pieces *data) struct store_by_pieces_d *data)
{ {
unsigned int size = GET_MODE_SIZE (mode); unsigned int size = GET_MODE_SIZE (mode);
rtx to1, cst; rtx to1, cst;
......
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