Commit a508ef22 by Mike Stump Committed by Mike Stump

recog.h: Rename struct recog_data to Recog_data.

	* recog.h: Rename struct recog_data to Recog_data.
	* recog.c: Likewise.
	* reload.c (can_reload_into): Likewise.
	* config/picochip/picochip.c: Likewise.

From-SVN: r198898
parent e7180acb
2013-05-14 Mike Stump <mikestump@comcast.net> 2013-05-14 Mike Stump <mikestump@comcast.net>
* recog.h: Rename struct recog_data to Recog_data.
* recog.c: Likewise.
* reload.c (can_reload_into): Likewise.
* config/picochip/picochip.c: Likewise.
2013-05-14 Mike Stump <mikestump@comcast.net>
* web.c (union_match_dups): Also check DF_REF_REAL_LOC. * web.c (union_match_dups): Also check DF_REF_REAL_LOC.
2013-05-14 Steven Bosscher <steven@gcc.gnu.org> 2013-05-14 Steven Bosscher <steven@gcc.gnu.org>
......
...@@ -187,7 +187,7 @@ struct vliw_state picochip_current_vliw_state; ...@@ -187,7 +187,7 @@ struct vliw_state picochip_current_vliw_state;
/* Save/restore recog_data. */ /* Save/restore recog_data. */
static int picochip_saved_which_alternative; static int picochip_saved_which_alternative;
static struct recog_data picochip_saved_recog_data; static struct Recog_data picochip_saved_recog_data;
/* Determine which ALU to use for the instruction in /* Determine which ALU to use for the instruction in
picochip_current_prescan_insn. */ picochip_current_prescan_insn. */
...@@ -3150,7 +3150,7 @@ picochip_save_recog_data (void) ...@@ -3150,7 +3150,7 @@ picochip_save_recog_data (void)
{ {
picochip_saved_which_alternative = which_alternative; picochip_saved_which_alternative = which_alternative;
memcpy (&picochip_saved_recog_data, &recog_data, memcpy (&picochip_saved_recog_data, &recog_data,
sizeof (struct recog_data)); sizeof (struct Recog_data));
} }
/* Restore some of the contents of global variable recog_data. */ /* Restore some of the contents of global variable recog_data. */
...@@ -3159,7 +3159,7 @@ picochip_restore_recog_data (void) ...@@ -3159,7 +3159,7 @@ picochip_restore_recog_data (void)
{ {
which_alternative = picochip_saved_which_alternative; which_alternative = picochip_saved_which_alternative;
memcpy (&recog_data, &picochip_saved_recog_data, memcpy (&recog_data, &picochip_saved_recog_data,
sizeof (struct recog_data)); sizeof (struct Recog_data));
} }
/* Ensure that no var tracking notes are emitted in the middle of a /* Ensure that no var tracking notes are emitted in the middle of a
......
...@@ -70,7 +70,7 @@ static rtx split_insn (rtx); ...@@ -70,7 +70,7 @@ static rtx split_insn (rtx);
int volatile_ok; int volatile_ok;
struct recog_data recog_data; struct Recog_data recog_data;
/* Contains a vector of operand_alternative structures for every operand. /* Contains a vector of operand_alternative structures for every operand.
Set up by preprocess_constraints. */ Set up by preprocess_constraints. */
......
...@@ -179,7 +179,7 @@ extern int which_alternative; ...@@ -179,7 +179,7 @@ extern int which_alternative;
/* The following vectors hold the results from insn_extract. */ /* The following vectors hold the results from insn_extract. */
struct recog_data struct Recog_data
{ {
/* It is very tempting to make the 5 operand related arrays into a /* It is very tempting to make the 5 operand related arrays into a
structure and index on that. However, to be source compatible structure and index on that. However, to be source compatible
...@@ -245,7 +245,7 @@ struct recog_data ...@@ -245,7 +245,7 @@ struct recog_data
rtx insn; rtx insn;
}; };
extern struct recog_data recog_data; extern struct Recog_data recog_data;
/* Contains a vector of operand_alternative structures for every operand. /* Contains a vector of operand_alternative structures for every operand.
Set up by preprocess_constraints. */ Set up by preprocess_constraints. */
......
...@@ -895,7 +895,7 @@ can_reload_into (rtx in, int regno, enum machine_mode mode) ...@@ -895,7 +895,7 @@ can_reload_into (rtx in, int regno, enum machine_mode mode)
{ {
rtx dst, test_insn; rtx dst, test_insn;
int r = 0; int r = 0;
struct recog_data save_recog_data; struct Recog_data save_recog_data;
/* For matching constraints, we often get notional input reloads where /* For matching constraints, we often get notional input reloads where
we want to use the original register as the reload register. I.e. we want to use the original register as the reload register. I.e.
......
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