il1_cal.h 702 B

123456789101112131415161718192021222324252627282930313233343536
  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 _ C A L . C
  9. */
  10. struct class {
  11. byte src_class;
  12. byte res_class;
  13. };
  14. typedef struct class *class_p;
  15. extern struct class classtab[];
  16. #define NOCLASS 0
  17. #define CLASS1 1
  18. #define CLASS2 2
  19. #define CLASS3 3
  20. #define CLASS4 4
  21. #define CLASS5 5
  22. #define CLASS6 6
  23. #define CLASS7 7
  24. #define CLASS8 8
  25. #define CLASS9 9
  26. void anal_cal(proc_p p, line_p call, bblock_p b, FILE *cf);
  27. /* analyze a call instruction;
  28. * try to recognize the actual parameter
  29. * expressions.
  30. */