diff options
author | Kazu Hirata <kazu@hxi.com> | 2002-01-10 00:56:56 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-01-10 00:56:56 +0000 |
commit | f4f4d0f8fb7c1bfcd5c97beea05d15ede02e5a26 (patch) | |
tree | 128e1e60a316c7721be28b666b9ba4f7130e4a88 /gcc/reload.c | |
parent | 54a8a50f804adc0ee5c30ed6e96150ec0c4c4375 (diff) | |
download | gcc-f4f4d0f8fb7c1bfcd5c97beea05d15ede02e5a26.zip gcc-f4f4d0f8fb7c1bfcd5c97beea05d15ede02e5a26.tar.gz gcc-f4f4d0f8fb7c1bfcd5c97beea05d15ede02e5a26.tar.bz2 |
read-rtl.c: Fix formatting.
* read-rtl.c: Fix formatting.
* real.c: Likewise.
* regclass.c: Likewise.
* regrename.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* rtl.c: Likewise.
From-SVN: r48704
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 579cb1b..3996050 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -1,6 +1,6 @@ /* Search an insn for pseudo regs that must be in hard regs and are not. Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -642,7 +642,7 @@ get_secondary_mem (x, mode, opnum, type) : type == RELOAD_FOR_OUTPUT ? RELOAD_FOR_OUTPUT_ADDRESS : RELOAD_OTHER); - find_reloads_address (mode, (rtx*)0, XEXP (loc, 0), &XEXP (loc, 0), + find_reloads_address (mode, (rtx*) 0, XEXP (loc, 0), &XEXP (loc, 0), opnum, type, 0, 0); } @@ -913,7 +913,7 @@ push_reload (in, out, inloc, outloc, class, default: break; - } + } /* If we are reloading a (SUBREG constant ...), really reload just the inside expression in its own mode. Similarly for (SUBREG (PLUS ...)). @@ -1047,7 +1047,7 @@ push_reload (in, out, inloc, outloc, class, order as the reloads. Thus if the outer reload is also of type RELOAD_OTHER, we are guaranteed that this inner reload will be output before the outer reload. */ - push_reload (SUBREG_REG (in), NULL_RTX, &SUBREG_REG (in), (rtx *)0, + push_reload (SUBREG_REG (in), NULL_RTX, &SUBREG_REG (in), (rtx *) 0, in_class, VOIDmode, VOIDmode, 0, 0, opnum, type); dont_remove_subreg = 1; } @@ -1925,7 +1925,7 @@ find_dummy_reload (real_in, real_out, inloc, outloc, unsigned int regno = REGNO (in) + in_offset; unsigned int nwords = HARD_REGNO_NREGS (regno, inmode); - if (! refers_to_regno_for_reload_p (regno, regno + nwords, out, (rtx*)0) + if (! refers_to_regno_for_reload_p (regno, regno + nwords, out, (rtx*) 0) && ! hard_reg_set_here_p (regno, regno + nwords, PATTERN (this_insn)) && (! earlyclobber @@ -2344,7 +2344,7 @@ immune_p (x, y, ydata) struct decomposition xdata; if (ydata.reg_flag) - return !refers_to_regno_for_reload_p (ydata.start, ydata.end, x, (rtx*)0); + return !refers_to_regno_for_reload_p (ydata.start, ydata.end, x, (rtx*) 0); if (ydata.safe) return 1; @@ -2623,7 +2623,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) ; else if (constraints[i][0] == 'p') { - find_reloads_address (VOIDmode, (rtx*)0, + find_reloads_address (VOIDmode, (rtx*) 0, recog_data.operand[i], recog_data.operand_loc[i], i, operand_type[i], ind_levels, insn); @@ -3685,7 +3685,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) { operand_reloadnum[i] = push_reload (XEXP (recog_data.operand[i], 0), NULL_RTX, - &XEXP (recog_data.operand[i], 0), (rtx*)0, + &XEXP (recog_data.operand[i], 0), (rtx*) 0, MODE_BASE_REG_CLASS (VOIDmode), GET_MODE (XEXP (recog_data.operand[i], 0)), VOIDmode, 0, 0, i, RELOAD_FOR_INPUT); @@ -4568,7 +4568,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn) tem = make_memloc (ad, regno); if (! strict_memory_address_p (GET_MODE (tem), XEXP (tem, 0))) { - find_reloads_address (GET_MODE (tem), (rtx*)0, XEXP (tem, 0), + find_reloads_address (GET_MODE (tem), (rtx*) 0, XEXP (tem, 0), &XEXP (tem, 0), opnum, ADDR_TYPE (type), ind_levels, insn); } @@ -4617,7 +4617,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn) return 0; /* If we do not have one of the cases above, we must do the reload. */ - push_reload (ad, NULL_RTX, loc, (rtx*)0, MODE_BASE_REG_CLASS (mode), + push_reload (ad, NULL_RTX, loc, (rtx*) 0, MODE_BASE_REG_CLASS (mode), GET_MODE (ad), VOIDmode, 0, 0, opnum, type); return 1; } @@ -4717,7 +4717,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn) { /* Must use TEM here, not AD, since it is the one that will have any subexpressions reloaded, if needed. */ - push_reload (tem, NULL_RTX, loc, (rtx*)0, + push_reload (tem, NULL_RTX, loc, (rtx*) 0, MODE_BASE_REG_CLASS (mode), GET_MODE (tem), VOIDmode, 0, 0, opnum, type); @@ -5432,7 +5432,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) else { reloadnum - = push_reload (x, NULL_RTX, loc, (rtx*)0, + = push_reload (x, NULL_RTX, loc, (rtx*) 0, (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), GET_MODE (x), GET_MODE (x), 0, 0, @@ -5473,7 +5473,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) XEXP (XEXP (x, 0), 0), &XEXP (XEXP (x, 0), 0), opnum, type, ind_levels, insn); - reloadnum = push_reload (x, NULL_RTX, loc, (rtx*)0, + reloadnum = push_reload (x, NULL_RTX, loc, (rtx*) 0, (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), GET_MODE (x), VOIDmode, 0, 0, opnum, type); @@ -5503,7 +5503,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) find_reloads_address (GET_MODE (x), loc, XEXP (x, 0), &XEXP (x, 0), opnum, ADDR_TYPE (type), ind_levels, insn); - push_reload (*loc, NULL_RTX, loc, (rtx*)0, + push_reload (*loc, NULL_RTX, loc, (rtx*) 0, (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), GET_MODE (x), VOIDmode, 0, 0, opnum, type); return 1; @@ -5525,7 +5525,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) that feeds this insn. */ if (reg_equiv_mem[regno] != 0) { - push_reload (reg_equiv_mem[regno], NULL_RTX, loc, (rtx*)0, + push_reload (reg_equiv_mem[regno], NULL_RTX, loc, (rtx*) 0, (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), GET_MODE (x), VOIDmode, 0, 0, opnum, type); @@ -5554,7 +5554,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) || !(context ? REGNO_OK_FOR_INDEX_P (regno) : REGNO_MODE_OK_FOR_BASE_P (regno, mode)))) { - push_reload (x, NULL_RTX, loc, (rtx*)0, + push_reload (x, NULL_RTX, loc, (rtx*) 0, (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), GET_MODE (x), VOIDmode, 0, 0, opnum, type); return 1; @@ -5566,7 +5566,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) from before this insn to after it. */ if (regno_clobbered_p (regno, this_insn, GET_MODE (x), 0)) { - push_reload (x, NULL_RTX, loc, (rtx*)0, + push_reload (x, NULL_RTX, loc, (rtx*) 0, (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), GET_MODE (x), VOIDmode, 0, 0, opnum, type); return 1; @@ -5587,7 +5587,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) if (! (context ? REGNO_OK_FOR_INDEX_P (regno) : REGNO_MODE_OK_FOR_BASE_P (regno, mode))) { - push_reload (x, NULL_RTX, loc, (rtx*)0, + push_reload (x, NULL_RTX, loc, (rtx*) 0, (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), GET_MODE (x), VOIDmode, 0, 0, opnum, type); @@ -5605,7 +5605,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) { x = find_reloads_subreg_address (x, 0, opnum, type, ind_levels, insn); - push_reload (x, NULL_RTX, loc, (rtx*)0, class, + push_reload (x, NULL_RTX, loc, (rtx*) 0, class, GET_MODE (x), VOIDmode, 0, 0, opnum, type); return 1; } @@ -5681,7 +5681,7 @@ find_reloads_address_part (x, loc, class, mode, opnum, type, ind_levels) opnum, type, ind_levels, 0); } - push_reload (x, NULL_RTX, loc, (rtx*)0, class, + push_reload (x, NULL_RTX, loc, (rtx*) 0, class, mode, VOIDmode, 0, 0, opnum, type); } @@ -6045,7 +6045,7 @@ refers_to_regno_for_reload_p (regno, endregno, x, loc) if (reg_equiv_memory_loc[r]) return refers_to_regno_for_reload_p (regno, endregno, reg_equiv_memory_loc[r], - (rtx*)0); + (rtx*) 0); if (reg_equiv_constant[r]) return 0; @@ -6191,7 +6191,7 @@ reg_overlap_mentioned_for_reload_p (x, in) endregno = regno + (regno < FIRST_PSEUDO_REGISTER ? HARD_REGNO_NREGS (regno, GET_MODE (x)) : 1); - return refers_to_regno_for_reload_p (regno, endregno, in, (rtx*)0); + return refers_to_regno_for_reload_p (regno, endregno, in, (rtx*) 0); } /* Return nonzero if anything in X contains a MEM. Look also for pseudo @@ -6446,7 +6446,7 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode) && refers_to_regno_for_reload_p (valueno, (valueno + HARD_REGNO_NREGS (valueno, mode)), - goal, (rtx*)0)) + goal, (rtx*) 0)) return 0; /* Reject registers that overlap GOAL. */ |