diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-24 23:40:03 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-24 23:40:03 +0000 |
commit | 450d042a5291a12fd08589b74c0abf6b63581104 (patch) | |
tree | d6106abaa59ec697ae2e96cb33c733be39b7abe0 /gcc/ra.c | |
parent | 53d878e84b60ef66db86efbe173ab8724728e332 (diff) | |
download | gcc-450d042a5291a12fd08589b74c0abf6b63581104.tar.gz |
* toplev.c (dump_file_tbl): Rename from dump_file.
* bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
s/rtl_dump_file/dump_file/g.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78399 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ra.c')
-rw-r--r-- | gcc/ra.c | 46 |
1 files changed, 23 insertions, 23 deletions
@@ -647,7 +647,7 @@ void reg_alloc (void) { int changed; - FILE *ra_dump_file = rtl_dump_file; + FILE *ra_dump_file = dump_file; rtx last = get_last_insn (); if (! INSN_P (last)) @@ -691,16 +691,16 @@ reg_alloc (void) break; case 6: debug_new_regalloc = DUMP_VALIDIFY; break; } - if (!rtl_dump_file) + if (!dump_file) debug_new_regalloc = 0; /* Run regclass first, so we know the preferred and alternate classes for each pseudo. Deactivate emitting of debug info, if it's not explicitly requested. */ if ((debug_new_regalloc & DUMP_REGCLASS) == 0) - rtl_dump_file = NULL; - regclass (get_insns (), max_reg_num (), rtl_dump_file); - rtl_dump_file = ra_dump_file; + dump_file = NULL; + regclass (get_insns (), max_reg_num (), dump_file); + dump_file = ra_dump_file; /* We don't use those NOTEs, and as we anyway change all registers, they only make problems later. */ @@ -758,10 +758,10 @@ reg_alloc (void) if ((debug_new_regalloc & DUMP_DF) != 0) { rtx insn; - df_dump (df, DF_HARD_REGS, rtl_dump_file); + df_dump (df, DF_HARD_REGS, dump_file); for (insn = get_insns (); insn; insn = NEXT_INSN (insn)) if (INSN_P (insn)) - df_insn_debug_regno (df, insn, rtl_dump_file); + df_insn_debug_regno (df, insn, dump_file); } check_df (df); @@ -795,7 +795,7 @@ reg_alloc (void) therefore repeat some things, including some initialization of global data structures. */ if ((debug_new_regalloc & DUMP_REGCLASS) == 0) - rtl_dump_file = NULL; + dump_file = NULL; /* We have new pseudos (the stackwebs). */ allocate_reg_info (max_reg_num (), FALSE, FALSE); /* And new insns. */ @@ -806,8 +806,8 @@ reg_alloc (void) reg_scan_update (get_insns (), NULL, max_regno); max_regno = max_reg_num (); /* And they need useful classes too. */ - regclass (get_insns (), max_reg_num (), rtl_dump_file); - rtl_dump_file = ra_dump_file; + regclass (get_insns (), max_reg_num (), dump_file); + dump_file = ra_dump_file; /* Remember the number of defs and uses, so we can distinguish new from old refs in the next pass. */ @@ -819,8 +819,8 @@ reg_alloc (void) dump_ra (df); if (changed && (debug_new_regalloc & DUMP_RTL) != 0) { - ra_print_rtl_with_bb (rtl_dump_file, get_insns ()); - fflush (rtl_dump_file); + ra_print_rtl_with_bb (dump_file, get_insns ()); + fflush (dump_file); } /* Reset the web lists. */ @@ -838,15 +838,15 @@ reg_alloc (void) ra_debug_msg (DUMP_COSTS, "ticks for build-phase: %ld\n", ticks_build); ra_debug_msg (DUMP_COSTS, "ticks for rebuild-phase: %ld\n", ticks_rebuild); if ((debug_new_regalloc & (DUMP_FINAL_RTL | DUMP_RTL)) != 0) - ra_print_rtl_with_bb (rtl_dump_file, get_insns ()); + ra_print_rtl_with_bb (dump_file, get_insns ()); /* We might have new pseudos, so allocate the info arrays for them. */ if ((debug_new_regalloc & DUMP_SM) == 0) - rtl_dump_file = NULL; + dump_file = NULL; no_new_pseudos = 0; allocate_reg_info (max_reg_num (), FALSE, FALSE); no_new_pseudos = 1; - rtl_dump_file = ra_dump_file; + dump_file = ra_dump_file; /* Some spill insns could've been inserted after trapping calls, i.e. at the end of a basic block, which really ends at that call. @@ -855,14 +855,14 @@ reg_alloc (void) /* Cleanup the flow graph. */ if ((debug_new_regalloc & DUMP_LAST_FLOW) == 0) - rtl_dump_file = NULL; - life_analysis (get_insns (), rtl_dump_file, + dump_file = NULL; + life_analysis (get_insns (), dump_file, PROP_DEATH_NOTES | PROP_LOG_LINKS | PROP_REG_INFO); cleanup_cfg (CLEANUP_EXPENSIVE); recompute_reg_usage (get_insns (), TRUE); - if (rtl_dump_file) - dump_flow_info (rtl_dump_file); - rtl_dump_file = ra_dump_file; + if (dump_file) + dump_flow_info (dump_file); + dump_file = ra_dump_file; /* update_equiv_regs() can't be called after register allocation. It might delete some pseudos, and insert other insns setting @@ -882,8 +882,8 @@ reg_alloc (void) remove_suspicious_death_notes (); if ((debug_new_regalloc & DUMP_LAST_RTL) != 0) - ra_print_rtl_with_bb (rtl_dump_file, get_insns ()); - dump_static_insn_cost (rtl_dump_file, + ra_print_rtl_with_bb (dump_file, get_insns ()); + dump_static_insn_cost (dump_file, "after allocation/spilling, before reload", NULL); /* Allocate the reg_equiv_memory_loc array for reload. */ @@ -891,7 +891,7 @@ reg_alloc (void) /* And possibly initialize it. */ allocate_initial_values (reg_equiv_memory_loc); /* And one last regclass pass just before reload. */ - regclass (get_insns (), max_reg_num (), rtl_dump_file); + regclass (get_insns (), max_reg_num (), dump_file); } /* |