1994-06-24 11:31:16 +00:00
|
|
|
/* $Id$ */
|
1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1984-11-26 14:51:59 +00:00
|
|
|
/* S R _ A U X . H */
|
|
|
|
|
|
|
|
|
2019-10-31 22:05:22 +00:00
|
|
|
bool is_loopconst(line_p l, lset vars);
|
|
|
|
/*
|
1984-11-26 14:51:59 +00:00
|
|
|
* See if l is a loop-constant. vars is the
|
|
|
|
* set of variables changed in the loop.
|
|
|
|
*/
|
2019-10-31 22:05:22 +00:00
|
|
|
bool is_caddress(line_p l, lset vars);
|
|
|
|
/*
|
1984-11-26 14:51:59 +00:00
|
|
|
* See if l loads a loop-invariant entity of
|
|
|
|
* size pointer-size.
|
|
|
|
*/
|
2019-10-31 22:05:22 +00:00
|
|
|
int elemsize(line_p l); /*
|
1984-11-26 14:51:59 +00:00
|
|
|
* l is an instruction that loads an array
|
|
|
|
* descriptor. Try to determine the size
|
|
|
|
* of the array elements.
|
|
|
|
*/
|
2019-10-31 22:05:22 +00:00
|
|
|
void concatenate(line_p list1, line_p list2);
|
|
|
|
/*
|
1984-11-26 14:51:59 +00:00
|
|
|
* Append list2 to the end of list1
|
|
|
|
*/
|
|
|
|
#define is_const(l) (INSTR(l) == op_loc)
|