Pristine Ack-5.5
[Ack-5.5.git] / util / ego / ra / ra_xform.h
1 /* $Id: ra_xform.h,v 1.4 1994/06/24 10:28:12 ceriel Exp $ */
2 /*
3  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4  * See the copyright notice in the ACK home directory, in the file "Copyright".
5  */
6
7 /*  R E G I S T E R   A L L O C A T I O N
8  *
9  *  R A _ X F O R M . H
10  */
11
12 extern init_replacements();     /* (short psize,wsize)
13                                  * This routine must be called once, before
14                                  * any call to xform_proc. It initializes
15                                  * a machine dependent table.
16                                  */
17 extern xform_proc();            /* (proc_p p; alloc_p alloclist;
18                                  *  short nrinstrs; line_p instrmap[])
19                                  * Transform a procedure. Alloclist must
20                                  * contain the packed allocations (i.e. those
21                                  * allocations that are assigned a register).
22                                  */
23 bool always_in_reg();           /* ( offset off; alloc_p allocs;
24                                  *   short *size_out;)
25                                  * See if the local variable with the given 
26                                  * offset is stored in a register during its 
27                                  * entire lifetime. As a side effect,
28                                  * return the size of the local.
29                                  */