25 lines
782 B
C
25 lines
782 B
C
|
|
||
|
/* R E G I S T E R A L L O C A T I O N
|
||
|
*
|
||
|
* R A _ X F O R M . H
|
||
|
*/
|
||
|
|
||
|
extern init_replacements(); /* (short psize,wsize)
|
||
|
* This routine must be called once, before
|
||
|
* any call to xform_proc. It initializes
|
||
|
* a machine dependent table.
|
||
|
*/
|
||
|
extern xform_proc(); /* (proc_p p; alloc_p alloclist;
|
||
|
* short nrinstrs; line_p instrmap[])
|
||
|
* Transform a procedure. Alloclist must
|
||
|
* contain the packed allocations (i.e. those
|
||
|
* allocations that are assigned a register).
|
||
|
*/
|
||
|
bool always_in_reg(); /* ( offset off; alloc_p allocs;
|
||
|
* short *size_out;)
|
||
|
* See if the local variable with the given
|
||
|
* offset is stored in a register during its
|
||
|
* entire lifetime. As a side effect,
|
||
|
* return the size of the local.
|
||
|
*/
|