ra_xform.h 957 B

1234567891011121314151617181920212223242526272829
  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. /* R E G I S T E R A L L O C A T I O N
  7. *
  8. * R A _ X F O R M . H
  9. */
  10. extern init_replacements(); /* (short psize,wsize)
  11. * This routine must be called once, before
  12. * any call to xform_proc. It initializes
  13. * a machine dependent table.
  14. */
  15. extern xform_proc(); /* (proc_p p; alloc_p alloclist;
  16. * short nrinstrs; line_p instrmap[])
  17. * Transform a procedure. Alloclist must
  18. * contain the packed allocations (i.e. those
  19. * allocations that are assigned a register).
  20. */
  21. bool always_in_reg(); /* ( offset off; alloc_p allocs;
  22. * short *size_out;)
  23. * See if the local variable with the given
  24. * offset is stored in a register during its
  25. * entire lifetime. As a side effect,
  26. * return the size of the local.
  27. */