ack/util/ego/il/il2_aux.h

47 lines
1.4 KiB
C
Raw Normal View History

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".
*/
bool anal_params(call_p c); /*
1984-11-26 14:14:55 +00:00
* See which parameters of the call
* may be expanded in line.
* If the formals and actuals do not
* match, return FALSE
1984-11-26 14:14:55 +00:00
*/
void assign_ratio(call_p c); /*
1984-11-26 14:14:55 +00:00
* Assigna ratio number to the call,
* indicating how desirable it is to
* expand the call in line.
*/
call_p abstract(call_p c); /*
1984-11-26 14:14:55 +00:00
* Abstract essential information from
* the call.
*/
void select_calls(proc_p proclist, FILE *ccf, long space);
/*
1984-11-26 14:14:55 +00:00
* Select the best calls to be expanded.
* Every procedure gets a list of
* selected calls appearing in it.
* space is the amount of space that the
* program is allowed to grow
* (expressed in number of EM instructions).
*/
void cleancals(proc_p alist); /*
1984-11-26 14:14:55 +00:00
* Remove all calls that were not selected.
*/
void add_actuals(proc_p plist, FILE *cfile);
/*
1984-11-26 14:14:55 +00:00
* Add the actual parameters to the descriptor abstracts
* of the selected calls.
* the calfile contains the full descriptors of all
* calls.
* These two are combined to yield a file of full
* descriptors of the selected calls.
*/
void append_abstract(call_p a, proc_p p);
/*
1984-11-26 14:14:55 +00:00
* Put the call-descriptor abstract in the p_cals
* list of p.
*/