aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorAlex Samuel <samuel@codesourcery.com>2000-04-09 01:16:44 +0000
committerAlex Samuel <samuel@gcc.gnu.org>2000-04-09 01:16:44 +0000
commit6308dae99ae845156f9782713bee1edf84ab7af6 (patch)
treeace18ca4c80a9132da02a028b43b87b5c33c182e /gcc/rtl.h
parentd43829f9eefc944e90d71001bcef932eb7e5bdf4 (diff)
downloadgcc-6308dae99ae845156f9782713bee1edf84ab7af6.zip
gcc-6308dae99ae845156f9782713bee1edf84ab7af6.tar.gz
gcc-6308dae99ae845156f9782713bee1edf84ab7af6.tar.bz2
ssa.c (convert_to_ssa): Eliminate dead code when calling life_analysis.
* ssa.c (convert_to_ssa): Eliminate dead code when calling life_analysis. (convert_from_ssa): Call compute_bb_for_insn before life_analysis. (for_each_successor_phi): Change parameter to basic_block. (coalesce_regs_in_successor_phi_nodes): Likewise. (coalesce_regs_in_copies): Likewise. (compute_coalesced_reg_partition): Use basic_block instead of index. * rtl.h (convert_to_ssa): Delete. (convert_from_ssa): Likewise. (successor_phi_fn): Likewise. (for_each_successor_phi): Likewise. (in_ssa_form): Likewise. * basic-block.h (convert_to_ssa): Moved from rtl.h. (convert_from_ssa): Likewise. (successor_phi_fn): Likewise. (in_ssa_form): Likewise. (for_each_successor_phi): Likewise. Change parameter to basic_block. * flow.c (calculate_global_regs_live): Pass a basic_block to for_each_successor_phi. From-SVN: r33032
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 124c6bf..c22727e 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1806,15 +1806,6 @@ extern void replace_call_placeholder PARAMS ((rtx, sibcall_use_t));
extern int stack_regs_mentioned PARAMS ((rtx insn));
#endif
-/* In ssa.c */
-extern void convert_to_ssa PARAMS ((void));
-extern void convert_from_ssa PARAMS ((void));
-typedef int (*successor_phi_fn) PARAMS ((rtx, int, int, void *));
-extern int for_each_successor_phi PARAMS ((int bb,
- successor_phi_fn,
- void *));
-extern int in_ssa_form;
-
/* In toplev.c */
extern rtx stack_limit_rtx;