il_aux.h 1.7 KB

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