Pristine Ack-5.5
[Ack-5.5.git] / util / ego / cf / cf_loop.h
1 /* $Id: cf_loop.h,v 1.4 1994/06/24 10:20:26 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 /*  C O N T R O L   F L O W
7  *
8  *  L O O P   D E T E C T I O N
9  */
10
11 extern loop_detection();        /* (proc_p p)
12                                  * Detect all loops of procedure p.
13                                  * Every basic block of p is assigned
14                                  * a set of all loops it is part of.
15                                  * For every loop we record the number
16                                  * of blocks it contains, the loop entry
17                                  * block and its nesting level (0 = outer
18                                  * loop, 1 = loop within loop etc.).
19                                  */