* Copyright (c) 1980 The Regents of the University of California.
* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
* @(#)optim.h 5.2 (Berkeley) 4/12/91
* structure to hold trees for optimization
typedef struct slt
*Slotp
;
extern Slotp firstslot
, lastslot
; /* first, last slots in buffer */
extern int numslots
; /* number of slots */
Slotp
newslot(), optbuff(), optinsert();
struct Ctlframe
*cpframe();
** Structures for cse analysis
typedef struct IDblock
*idptr
;
typedef struct VALUEnode
*valuen
;
typedef struct IDlist
*idlptr
;
typedef struct DUPlist
*duplptr
;
typedef struct NODElist
*nodelptr
;
valuen initval
, assgnval
;
* structure to hold information on basic blocks
valuen headnode
, tailnode
;
struct bblock
*next
, *prev
;
typedef struct bblock
*Bblockp
;
extern Bblockp firstblock
; /* first block in buffer */
extern Bblockp lastblock
; /* last block in buffer */
/* data structure for optloop and regalloc routines */