+2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
+
+ * jump.c, regmove.c, toplev.c: Include reload.h.
+
+ * reload.h (reload_cse_regs): Declare.
+
+ * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
+ reload_cse_regs, init_reload, mark_home_live, reload,
+ init_caller_save): Delete redundant prototypes.
+
2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \
dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) \
- ssa.h params.h $(TM_P_H)
+ ssa.h params.h $(TM_P_H) reload.h
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
-DTARGET_NAME=\"$(target_alias)\" \
-c $(srcdir)/toplev.c
params.h $(TM_P_H)
jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h hard-reg-set.h $(REGS_H) \
insn-config.h $(RECOG_H) $(EXPR_H) real.h except.h function.h \
- toplev.h $(INSN_ATTR_H) $(TM_P_H)
+ toplev.h $(INSN_ATTR_H) $(TM_P_H) reload.h
simplify-rtx.o : simplify-rtx.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) \
hard-reg-set.h flags.h real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h \
$(GGC_H) function.h cselib.h $(TREE_H) $(TM_P_H)
regmove.o : regmove.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) insn-config.h \
$(RECOG_H) output.h $(REGS_H) hard-reg-set.h flags.h function.h \
- $(EXPR_H) $(BASIC_BLOCK_H) toplev.h $(TM_P_H) except.h
+ $(EXPR_H) $(BASIC_BLOCK_H) toplev.h $(TM_P_H) except.h reload.h
haifa-sched.o : haifa-sched.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) sched-int.h \
$(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h flags.h insn-config.h function.h \
$(INSN_ATTR_H) toplev.h $(RECOG_H) except.h $(TM_P_H)
#include "real.h"
#include "except.h"
#include "toplev.h"
+#include "reload.h"
/* ??? Eventually must record somehow the labels used by jumps
from nested functions. */
#include "basic-block.h"
#include "except.h"
#include "toplev.h"
+#include "reload.h"
static int perhaps_ends_bb_p PARAMS ((rtx));
static int optimize_reg_copy_1 PARAMS ((rtx, rtx, rtx));
/* Functions in reload1.c: */
+extern void reload_cse_regs PARAMS ((rtx));
extern int reloads_conflict PARAMS ((int, int));
/* Initialize the reload pass once per compilation. */
extern enum rtx_code signed_condition PARAMS ((enum rtx_code));
extern void mark_jump_label PARAMS ((rtx, rtx, int, int));
-/* In reload.c */
-extern rtx find_equiv_reg PARAMS ((rtx, rtx, enum reg_class, int, short *, int, enum machine_mode));
-
/* In jump.c */
extern rtx squeeze_notes PARAMS ((rtx, rtx));
extern rtx delete_insn PARAMS ((rtx));
extern void purge_addressof PARAMS ((rtx));
extern void purge_hard_subreg_sets PARAMS ((rtx));
-/* In reload.c */
-extern int operands_match_p PARAMS ((rtx, rtx));
-extern int safe_from_earlyclobber PARAMS ((rtx, rtx));
-
/* In stmt.c */
extern void set_file_and_line_for_stmt PARAMS ((const char *, int));
extern void expand_null_return PARAMS ((void));
extern int local_alloc PARAMS ((void));
extern int function_invariant_p PARAMS ((rtx));
-/* In reload1.c */
-extern void reload_cse_regs PARAMS ((rtx));
-extern void init_reload PARAMS ((void));
-extern void mark_home_live PARAMS ((int));
-extern int reload PARAMS ((rtx, int));
-
-/* In caller-save.c */
-extern void init_caller_save PARAMS ((void));
-
/* In profile.c */
extern void init_branch_prob PARAMS ((const char *));
extern void branch_prob PARAMS ((void));
#include "diagnostic.h"
#include "ssa.h"
#include "params.h"
+#include "reload.h"
#ifdef DWARF_DEBUGGING_INFO
#include "dwarfout.h"