ack/util/ego/sr/sr_aux.h

29 lines
778 B
C
Raw Permalink Normal View History

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 */
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.
*/
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.
*/
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.
*/
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)