ack/util/ego/sr/sr_aux.h
Manoel Trapier 452127650a Next batch
2015-06-24 23:41:45 +01:00

26 lines
759 B
C

/* $Id$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* S R _ A U X . H */
bool is_loopconst(line_p lnp, lset vars);
/* See if l is a loop-constant. vars is the
* set of variables changed in the loop.
*/
bool is_caddress(line_p lnp, lset vars);
/* See if l loads a loop-invariant entity of
* size pointer-size.
*/
int elemsize(line_p lnp);
/* 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);
/* Append list2 to the end of list1
*/
#define is_const(l) (INSTR(l) == op_loc)