This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A prototype patch for haifa-sched.c


schedule_insns is declared in rtl.h and I will add debug_ready_list to
rtl.h in another patch.

-- 
H.J. Lu (hjl@gnu.org)
---
Sun Jun 21 09:53:28 1998  H.J. Lu  (hjl@gnu.org)

	* haifa-sched.c (insn_issue_delay, birthing_insn_p,
	adjust_priority, print_insn_chaino): New declaration.
	(schedule_insns, debug_ready_list): Remove declaration.
	(init_target_units, get_visual_tbl_length,
	init_block_visualization): Add prototype.

Index: haifa-sched.c
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/haifa-sched.c,v
retrieving revision 1.1.1.33
diff -u -p -r1.1.1.33 haifa-sched.c
--- haifa-sched.c	1998/06/19 16:13:36	1.1.1.33
+++ haifa-sched.c	1998/06/19 16:25:08
@@ -453,10 +453,11 @@ static void new_insn_dead_notes PROTO ((
 static void update_n_sets PROTO ((rtx, int));
 static void update_flow_info PROTO ((rtx, rtx, rtx, rtx));
 static char *safe_concat PROTO ((char *, char *, char *));
+static int insn_issue_delay PROTO ((rtx));
+static int birthing_insn_p PROTO ((rtx));
+static void adjust_priority PROTO ((rtx));
+static void print_insn_chain PROTO ((rtx));
 
-/* Main entry point of this file.  */
-void schedule_insns PROTO ((FILE *));
-
 /* Mapping of insns to their original block prior to scheduling.  */
 static int *insn_orig_block;
 #define INSN_BLOCK(insn) (insn_orig_block[INSN_UID (insn)])
@@ -743,11 +744,10 @@ static void find_post_sched_live PROTO (
 static void update_reg_usage PROTO ((void));
 static int queue_to_ready PROTO ((rtx [], int));
 
-void debug_ready_list PROTO ((rtx[], int));
-static void init_target_units PROTO (());
+static void init_target_units PROTO ((void));
 static void insn_print_units PROTO ((rtx));
-static int get_visual_tbl_length PROTO (());
-static void init_block_visualization PROTO (());
+static int get_visual_tbl_length PROTO ((void));
+static void init_block_visualization PROTO ((void));
 static void print_block_visualization PROTO ((int, char *));
 static void visualize_scheduled_insns PROTO ((int, int));
 static void visualize_no_unit PROTO ((rtx));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]