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