Missed rtl.h on commit and from ChangeLog.
authorRichard Henderson <rth@gcc.gnu.org>
Wed, 3 Feb 1999 01:26:55 +0000 (17:26 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 3 Feb 1999 01:26:55 +0000 (17:26 -0800)
Add copyright to resource.c.

From-SVN: r24999

gcc/ChangeLog
gcc/resource.c
gcc/rtl.h

index 18453d508cb6efaaa75e476e603d0ef075b76a5a..68b333844ce0ccf6688a3b92f2f6adf468294d62 100644 (file)
@@ -1,7 +1,7 @@
 Tue Feb  2 23:38:35 1999  David O'Brien <obrien@FreeBSD.org>
 
-       * i386/freebsd*.h now allows '$' in label names and does not use the PCC struct
-       return method.
+       * i386/freebsd*.h now allows '$' in label names and does not use the
+       PCC struct return method.
 
 Tue Feb  2 22:38:23 1999  Jim Wilson  <wilson@cygnus.com>
 
@@ -29,6 +29,7 @@ Fri Jan 29 21:00:56 1999  Bob Manson  <manson@charmed.cygnus.com>
        * haifa-sched.c (regno_use_in): Moved to rtlanal.c.
        (split_block_insns): Moved to recog.c.
        (update_flow_info): Make public.
+       * rtl.h: Declare them.
 
        * reorg.c: Moved the functions dealing with computing resource
        usage to resource.c.
index 020212c21fe5511bcbc86393f22bb068219617f3..c76e253fe1012e6f62d4d9395805fe87b9699a6f 100644 (file)
@@ -1,3 +1,23 @@
+/* Definitions for computing resource usage of specific insns.
+   Copyright (C) 1999 Free Software Foundation, Inc.
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
+
 #include "config.h"
 #include "rtl.h"
 #include "hard-reg-set.h"
@@ -49,7 +69,14 @@ static HARD_REG_SET current_live_regs;
    Also only used by the next two functions.  */
 
 static HARD_REG_SET pending_dead_regs;
-
+\f
+static void update_live_status         PROTO ((rtx, rtx));
+static int find_basic_block            PROTO ((rtx));
+static rtx next_insn_no_annul          PROTO ((rtx));
+static rtx find_dead_or_set_registers  PROTO ((rtx, struct resources*,
+                                               rtx*, int, struct resources,
+                                               struct resources));
+\f
 /* Utility function called from mark_target_live_regs via note_stores.
    It deadens any CLOBBERed registers and livens any SET registers.  */
 
index 6c2c1b3adf4333f04603dfd4bb7266513fc6904a..bb36e4eb38c6d112c190495fcf6e9acbd12d02a3 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1037,6 +1037,7 @@ extern int computed_jump_p                PROTO((rtx));
 typedef int (*rtx_function)             PROTO((rtx *, void *));
 extern int for_each_rtx                 PROTO((rtx *, rtx_function, void *));
 extern int insn_first_p                        PROTO((rtx, rtx));
+extern rtx regno_use_in                        PROTO((int, rtx));
 
 /* flow.c */
 
@@ -1064,6 +1065,9 @@ extern enum reg_class reg_alternate_class PROTO((int));
 
 extern rtx get_first_nonparm_insn      PROTO((void));
 
+extern void split_block_insns          PROTO((int, int));
+extern void update_flow_info           PROTO((rtx, rtx, rtx, rtx));
+
 /* Standard pieces of rtx, to be substituted directly into things.  */
 #define pc_rtx         (&global_rtl.pc_val)
 #define cc0_rtx                (&global_rtl.cc0_val)