Pristine Ack-5.5
[Ack-5.5.git] / util / ego / il / il_aux.h
1 /* $Id: il_aux.h,v 1.5 1994/06/24 10:26:11 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 /*  I N L I N E   S U B S T I T U T I O N
8  *
9  *  I L _ A U X . H
10  */
11
12 extern int    tsize();          /* (int type)
13                                  * Determine the size of a variable of
14                                  * the given type.
15                                  */
16 extern line_p duplicate();      /* (line_p lnp)
17                                  * Make a duplicate of the given EM
18                                  * instruction. Pseudos may not be
19                                  * passed as argumnets.
20                                  */
21 extern line_p copy_expr();      /* (line_p l1)
22                                  * copy the expression l1.
23                                  * Pseudos may not be contained in
24                                  * the list of instructions.
25                                  */
26 extern rem_call();              /* (call_p c)
27                                  * Remove a call from main memory.
28                                  */
29 extern rem_graph();             /* (proc_p p)
30                                  * Remove the CFG and EM text of
31                                  * a procedure from core.
32                                  */
33 extern remcc();                 /* (calcnt_p head)
34                                  * Remove call-count info from core.
35                                  */
36 extern call_p getcall();        /* (FILE *cf)
37                                  * Read a call from the call-file
38                                  */
39 extern line_p get_text();       /* (FILE *lf; proc_p *p_out)
40                                  * Read the EM text of one procedure.
41                                  * The procedure read is returned via
42                                  * p_out.
43                                  */
44 extern calcnt_p getcc();        /* (FILE *ccf; proc_p p)
45                                  * Read the call-count information
46                                  * of procedure p.
47                                  */
48 extern putcall();               /* (call_p call; FILE *cfile; short level)
49                                  * Write the call 
50                                  * with the given id to the given file.
51                                  * The level is the nesting level, used by
52                                  * putcall when it calls itself recurively.
53                                  * It should be 0 on outer levels.
54                                  */
55 extern long putcc();            /* (calcnt_p head; FILE *ccf)
56                                  * Write call-count information to
57                                  * file ccf.
58                                  */