Pristine Ack-5.5
[Ack-5.5.git] / util / ego / sr / sr_aux.h
1 /* $Id: sr_aux.h,v 1.4 1994/06/24 10:32:07 ceriel Exp $ */
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
8
9 extern bool is_loopconst();     /* (line_p l; lset vars)
10                                  * See if l is a loop-constant. vars is the
11                                  * set of variables changed in the loop.
12                                  */
13 extern bool is_caddress();      /* (line_p l)
14                                  * See if l loads a loop-invariant entity of
15                                  * size pointer-size.
16                                  */
17 extern int elemsize();          /* (line_p l)
18                                  * l is an instruction that loads an array
19                                  * descriptor. Try to determine the size
20                                  * of the array elements.
21                                  */
22 extern     concatenate();       /* (line_p list1,list2)
23                                  * Append list2 to the end of list1
24                                  */
25 #define is_const(l)     (INSTR(l) == op_loc)