sr_aux.h 759 B

12345678910111213141516171819202122232425
  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. /* S R _ A U X . H */
  7. bool is_loopconst(line_p lnp, lset vars);
  8. /* See if l is a loop-constant. vars is the
  9. * set of variables changed in the loop.
  10. */
  11. bool is_caddress(line_p lnp, lset vars);
  12. /* See if l loads a loop-invariant entity of
  13. * size pointer-size.
  14. */
  15. int elemsize(line_p lnp);
  16. /* l is an instruction that loads an array
  17. * descriptor. Try to determine the size
  18. * of the array elements.
  19. */
  20. void concatenate(line_p list1, line_p list2);
  21. /* Append list2 to the end of list1
  22. */
  23. #define is_const(l) (INSTR(l) == op_loc)