Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
82c68a78
Commit
82c68a78
authored
Apr 21, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add prototypes for static functions.
From-SVN: r7118
parent
81fbaa41
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
38 deletions
+52
-38
gcc/expmed.c
+9
-6
gcc/global.c
+14
-14
gcc/local-alloc.c
+29
-18
No files found.
gcc/expmed.c
View file @
82c68a78
...
...
@@ -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))
...
...
gcc/global.c
View file @
82c68a78
...
...
@@ -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,
...
...
gcc/local-alloc.c
View file @
82c68a78
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment