Initial revision

This commit is contained in:
bal
1984-11-26 14:51:59 +00:00
parent 1833451151
commit 6a9e49f683
20 changed files with 3224 additions and 0 deletions

28
util/ego/sr/sr.h Normal file
View File

@@ -0,0 +1,28 @@
/* I N T E R N A L D A T A S T R U C T U R E S O F
*
* S T R E N G T H R E D U C T I O N
*
*/
#define LOAD 0
#define STORE 1
#define DLINK(l1,l2) l1->l_next=l2; l2->l_prev=l1
#define same_local(l1,l2) (off_set(l1) == off_set(l2))
#define LP_BLOCKS lp_extend->lpx_sr.lpx_blocks
#define LP_DONE lp_extend->lpx_sr.lpx_done
#define LP_HEADER lp_extend->lpx_sr.lpx_header
#define LP_INSTR lp_extend->lpx_sr.lpx_instr
/* Parameters to be provided by environment: */
extern bool ovfl_harmful; /* Does overflow during multiplication
* cause a trap ?
*/
extern bool arrbound_harmful; /* Is it harmful to take the address of
* a non-existing array element ?
*/
extern int Ssr; /* #optimizations found */