1994-06-24 11:31:16 +00:00
|
|
|
/* $Id$ */
|
1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1984-11-26 14:35:32 +00:00
|
|
|
|
|
|
|
/* 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.
|
|
|
|
*/
|