Add prototypes for static functions.

From-SVN: r7118
This commit is contained in:
Richard Kenner 1994-04-21 15:31:56 -04:00
parent 81fbaa4179
commit 82c68a7824
3 changed files with 52 additions and 38 deletions

View File

@ -30,12 +30,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "real.h"
#include "recog.h"
static rtx extract_split_bit_field ();
static rtx extract_fixed_bit_field ();
static void store_split_bit_field ();
static void store_fixed_bit_field ();
static rtx mask_rtx ();
static rtx lshift_value ();
static void store_fixed_bit_field PROTO((rtx, int, int, int, rtx, int));
static void store_split_bit_field PROTO((rtx, int, int, rtx, int));
static rtx extract_fixed_bit_field PROTO((enum machine_mode, rtx, int,
int, int, rtx, int, int));
static rtx mask_rtx PROTO((enum machine_mode, int,
int, int));
static rtx lshift_value PROTO((enum machine_mode, rtx,
int, int));
static rtx extract_split_bit_field PROTO((rtx, int, int, int, int));
#define CEIL(x,y) (((x) + (y) - 1) / (y))

View File

@ -250,20 +250,20 @@ static int n_regs_set;
static HARD_REG_SET eliminable_regset;
static int allocno_compare ();
static void mark_reg_store ();
static void mark_reg_clobber ();
static void mark_reg_conflicts ();
static void mark_reg_live_nc ();
static void mark_reg_death ();
static void dump_conflicts ();
void dump_global_regs ();
static void find_reg ();
static void global_conflicts ();
static void expand_preferences ();
static void prune_preferences ();
static void record_conflicts ();
static void set_preference ();
static int allocno_compare PROTO((int *, int *));
static void global_conflicts PROTO((void));
static void expand_preferences PROTO((void));
static void prune_preferences PROTO((void));
static void find_reg PROTO((int, HARD_REG_SET, int, int, int));
static void record_one_conflict PROTO((int));
static void record_conflicts PROTO((short *, int));
static void mark_reg_store PROTO((rtx, rtx));
static void mark_reg_clobber PROTO((rtx, rtx));
static void mark_reg_conflicts PROTO((rtx));
static void mark_reg_death PROTO((rtx));
static void mark_reg_live_nc PROTO((int, enum machine_mode));
static void set_preference PROTO((rtx, rtx));
static void dump_conflicts PROTO((FILE *));
/* Perform allocation of pseudo-registers not allocated by local_alloc.
FILE is a file to output debugging information on,

View File

@ -237,21 +237,32 @@ static int scratch_index;
static int this_insn_number;
static rtx this_insn;
static void block_alloc ();
static void update_equiv_regs ();
static int no_conflict_p ();
static int combine_regs ();
static void wipe_dead_reg ();
static int find_free_reg ();
static void reg_is_born ();
static void reg_is_set ();
static void mark_life ();
static void post_mark_life ();
static int qty_compare ();
static int qty_compare_1 ();
static int reg_meets_class_p ();
static void update_qty_class ();
static int requires_inout_p ();
static void alloc_qty PROTO((int, enum machine_mode, int, int));
static void alloc_qty_for_scratch PROTO((rtx, int, rtx, int, int));
static void validate_equiv_mem_from_store PROTO((rtx, rtx));
static int validate_equiv_mem PROTO((rtx, rtx, rtx));
static int memref_referenced_p PROTO((rtx, rtx));
static int memref_used_between_p PROTO((rtx, rtx, rtx));
static void optimize_reg_copy_1 PROTO((rtx, rtx, rtx));
static void optimize_reg_copy_2 PROTO((rtx, rtx, rtx));
static void update_equiv_regs PROTO((void));
static void block_alloc PROTO((int));
static int qty_compare PROTO((int, int));
static int qty_compare_1 PROTO((int *, int *));
static int combine_regs PROTO((rtx, rtx, int, int, rtx, int));
static int reg_meets_class_p PROTO((int, enum reg_class));
static int reg_classes_overlap_p PROTO((enum reg_class, enum reg_class,
int));
static void update_qty_class PROTO((int, int));
static void reg_is_set PROTO((rtx, rtx));
static void reg_is_born PROTO((rtx, int));
static void wipe_dead_reg PROTO((rtx, int));
static int find_free_reg PROTO((enum reg_class, enum machine_mode,
int, int, int, int, int));
static void mark_life PROTO((int, enum machine_mode, int));
static void post_mark_life PROTO((int, enum machine_mode, int, int, int));
static int no_conflict_p PROTO((rtx, rtx, rtx));
static int requires_inout_p PROTO((char *));
/* Allocate a new quantity (new within current basic block)
for register number REGNO which is born at index BIRTH
@ -1909,9 +1920,9 @@ find_free_reg (class, mode, qty, accept_call_clobbered, just_try_suggested,
born_index, dead_index)
enum reg_class class;
enum machine_mode mode;
int qty;
int accept_call_clobbered;
int just_try_suggested;
int qty;
int born_index, dead_index;
{
register int i, ins;
@ -2070,9 +2081,9 @@ mark_life (regno, mode, life)
static void
post_mark_life (regno, mode, life, birth, death)
register int regno, life, birth;
int regno;
enum machine_mode mode;
int death;
int life, birth, death;
{
register int j = HARD_REGNO_NREGS (regno, mode);
#ifdef HARD_REG_SET