Pristine Ack-5.5
[Ack-5.5.git] / util / ego / share / map.h
1 /* $Id: map.h,v 1.4 1994/06/24 10:30:35 ceriel Exp $ */
2 /*
3  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4  * See the copyright notice in the ACK home directory, in the file "Copyright".
5  */
6 /* M A P . H */
7
8 extern short plength;   /* length of pmap, i.e. number of procs */
9 extern short olength;   /* length of omap, i.e. number of objects */
10 extern short llength;   /* length of lmap and lbmap, i.e.
11                          * # instruction labels in current proc.
12                          */
13 extern short lplength;  /* length of lpmap, i.e. number of loops
14                          * in current procedure.
15                          */
16 extern short blength;   /* length of bmap, i.e. number of basic blocks
17                          * in current procedure.
18                          */
19
20
21 extern line_p *lmap;    /* contains for every label_id its
22                          * defining occurrence (line structure)
23                          *   label_id --> line_p
24                          */
25 extern bblock_p *lbmap; /* contains for every label_id its
26                          * basic block.
27                          *   label_id --> bblock_p
28                          */
29 extern proc_p   *pmap;  /* contains for every proc_id its proc structure
30                          *   proc_id --> proc_p
31                          */
32 extern obj_p    *omap;  /* contains for every obj_id its object struct
33                          *   obj_id --> obj_p
34                          */
35 extern loop_p   *lpmap; /* contains for every loop_id its loop struct
36                          *   loop_id --> loop_p
37                          */
38 extern bblock_p *bmap;  /* contains for every block_id its bblock struct
39                          *   block_id --> bblock_p
40                          */
41
42 extern dblock_p fdblock;/* first dblock, heads dblock list */
43 extern proc_p   fproc;  /* first proc, heads proc table */