aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2001-01-09 10:25:44 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2001-01-09 10:25:44 +0000
commiteab02febcf4cd68c278d8c517d131d3f7a50933f (patch)
treea15d6fb57cb13bc26a6ce53829f8821e926dd07f /gcc/basic-block.h
parent4b49c3657f581b4f484f7dd380d174a95449cdd1 (diff)
downloadgcc-eab02febcf4cd68c278d8c517d131d3f7a50933f.zip
gcc-eab02febcf4cd68c278d8c517d131d3f7a50933f.tar.gz
gcc-eab02febcf4cd68c278d8c517d131d3f7a50933f.tar.bz2
flow.c (flow_loop_scan): Break out of ...
* flow.c (flow_loop_scan): Break out of ... (flow_loops_find) ... here. * basic-block.h (flow_loop_scan): New. (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add. (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine. From-SVN: r38822
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index f86ff3c..c48a547 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -428,6 +428,7 @@ extern void flow_loops_dump PARAMS ((const struct loops *, FILE *,
extern void flow_loop_dump PARAMS ((const struct loop *, FILE *,
void (*)(const struct loop *,
FILE *, int), int));
+extern int flow_loop_scan PARAMS ((struct loops *, struct loop *, int));
/* This structure maintains an edge list vector. */
struct edge_list
@@ -485,9 +486,11 @@ enum update_life_extent
#define LOOP_TREE 1 /* Build loop hierarchy tree. */
#define LOOP_PRE_HEADER 2 /* Analyse loop pre-header. */
-#define LOOP_EDGES 4 /* Find entry and exit edges. */
-#define LOOP_EXITS_DOMS 8 /* Find nodes that dom. all exits. */
-#define LOOP_ALL 15 /* All of the above */
+#define LOOP_ENTRY_EDGES 4 /* Find entry edges. */
+#define LOOP_EXIT_EDGES 8 /* Find exit edges. */
+#define LOOP_EDGES (LOOP_ENTRY_EDGES | LOOP_EXIT_EDGES)
+#define LOOP_EXITS_DOMS 16 /* Find nodes that dom. all exits. */
+#define LOOP_ALL 31 /* All of the above */
extern void life_analysis PARAMS ((rtx, FILE *, int));
extern void update_life_info PARAMS ((sbitmap, enum update_life_extent,