il1_aux.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 1 _ A U X . H
  9. */
  10. bool same_size(int t1, int t2);
  11. /* See if the two types t1 and t2 have
  12. * the same size.
  13. */
  14. void rem_actuals(actual_p acts);
  15. /* remove an actual-list from core.
  16. */
  17. void remov_formals(proc_p p);
  18. /* Remove the formals-list of p from core.
  19. */
  20. void rem_indir_acc(proc_p p);
  21. /* Remove formal that may be accessed
  22. * indirectly from formal lists of p
  23. */
  24. bool par_overlap(offset off1, int t1, offset off2, int t2);
  25. /* See if the formal at offset off1 and type t1
  26. * overlaps the formal at offset off2
  27. * and type t2.
  28. */
  29. short looplevel(bblock_p b);
  30. /* Determine the loop nesting level of b.
  31. */
  32. int proclength(proc_p p);
  33. /* Determine the number of EM instructions
  34. * in p. Do not count pseudos.
  35. */
  36. line_p copy_code(line_p l1, line_p l2);
  37. /* copy the code between l1 and l2.
  38. * Pseudos may not be contained in
  39. * the list of instructions. If l1==l2
  40. * the result is only one instruction.
  41. */