+2014-08-25 David Malcolm <dmalcolm@redhat.com>
+
+ * config/iq2000/iq2000-protos.h (final_prescan_insn): Strengthen
+ first param from rtx to rtx_insn *.
+ (iq2000_adjust_insn_length): Likewise.
+ (iq2000_output_conditional_branch): Likewise.
+ * config/iq2000/iq2000.c (final_prescan_insn): Likewise for param
+ "insn" and local "nop_insn".
+ (iq2000_annotate_frame_insn): Likewise for param "insn".
+ (iq2000_expand_prologue): Likewise for both locals "insn".
+ (iq2000_adjust_insn_length): Likewise for param "insn".
+ (iq2000_output_conditional_branch): Likewise.
+
2014-08-25 David Malcolm <dmalcolm@redhat.com>
* config/ia64/ia64.c (ia64_expand_tls_address): Strengthen local
extern const char * iq2000_fill_delay_slot (const char *, enum delay_type, rtx *, rtx);
extern const char * iq2000_move_1word (rtx *, rtx, int);
extern HOST_WIDE_INT iq2000_debugger_offset (rtx, HOST_WIDE_INT);
-extern void final_prescan_insn (rtx, rtx *, int);
+extern void final_prescan_insn (rtx_insn *, rtx *, int);
extern HOST_WIDE_INT compute_frame_size (HOST_WIDE_INT);
extern int iq2000_initial_elimination_offset (int, int);
extern void iq2000_expand_prologue (void);
extern void iq2000_expand_epilogue (void);
extern void iq2000_expand_eh_return (rtx);
extern int iq2000_can_use_return_insn (void);
-extern int iq2000_adjust_insn_length (rtx, int);
-extern char * iq2000_output_conditional_branch (rtx, rtx *, int, int, int, int);
+extern int iq2000_adjust_insn_length (rtx_insn *, int);
+extern char * iq2000_output_conditional_branch (rtx_insn *, rtx *,
+ int, int, int, int);
#ifdef RTX_CODE
extern rtx gen_int_relational (enum rtx_code, rtx, rtx, rtx, int *);
of load delays, and also to update the delay slot statistics. */
void
-final_prescan_insn (rtx insn, rtx opvec[] ATTRIBUTE_UNUSED,
+final_prescan_insn (rtx_insn *insn, rtx opvec[] ATTRIBUTE_UNUSED,
int noperands ATTRIBUTE_UNUSED)
{
if (dslots_number_nops > 0)
|| (GET_CODE (PATTERN (insn)) == RETURN))
&& NEXT_INSN (PREV_INSN (insn)) == insn)
{
- rtx nop_insn = emit_insn_after (gen_nop (), insn);
+ rtx_insn *nop_insn = emit_insn_after (gen_nop (), insn);
INSN_ADDRESSES_NEW (nop_insn, -1);
}
operation DWARF_PATTERN. */
static void
-iq2000_annotate_frame_insn (rtx insn, rtx dwarf_pattern)
+iq2000_annotate_frame_insn (rtx_insn *insn, rtx dwarf_pattern)
{
RTX_FRAME_RELATED_P (insn) = 1;
REG_NOTES (insn) = alloc_EXPR_LIST (REG_FRAME_RELATED_EXPR,
if (tsize > 0)
{
rtx tsize_rtx = GEN_INT (tsize);
- rtx adjustment_rtx, insn, dwarf_pattern;
+ rtx adjustment_rtx, dwarf_pattern;
+ rtx_insn *insn;
if (tsize > 32767)
{
if (frame_pointer_needed)
{
- rtx insn = 0;
+ rtx_insn *insn = 0;
insn = emit_insn (gen_movsi (hard_frame_pointer_rtx,
stack_pointer_rtx));
attributes in the machine-description file. */
int
-iq2000_adjust_insn_length (rtx insn, int length)
+iq2000_adjust_insn_length (rtx_insn *insn, int length)
{
/* A unconditional jump has an unfilled delay slot if it is not part
of a sequence. A conditional jump normally has a delay slot. */
reversed conditional branch around a `jr' instruction. */
char *
-iq2000_output_conditional_branch (rtx insn, rtx * operands, int two_operands_p,
- int float_p, int inverted_p, int length)
+iq2000_output_conditional_branch (rtx_insn *insn, rtx * operands,
+ int two_operands_p, int float_p,
+ int inverted_p, int length)
{
static char buffer[200];
/* The kind of comparison we are doing. */