/* $Id$ */ /* * (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); /* * See which parameters of the call * may be expanded in line. * If the formals and actuals do not * match, return FALSE */ void assign_ratio(call_p c); /* * Assigna ratio number to the call, * indicating how desirable it is to * expand the call in line. */ call_p abstract(call_p c); /* * Abstract essential information from * the call. */ void select_calls(proc_p proclist, FILE *ccf, long space); /* * 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); /* * Remove all calls that were not selected. */ void add_actuals(proc_p plist, FILE *cfile); /* * 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); /* * Put the call-descriptor abstract in the p_cals * list of p. */