Commit b214288d by Kazu Hirata Committed by Kazu Hirata

cfgloop.c (flow_loop_outside_edge_p): Remove.

	* cfgloop.c (flow_loop_outside_edge_p): Remove.
	* cfgloop.h: Remove the prototype for
	flow_loop_outside_edge_p.

From-SVN: r110325
parent 17a4fdaa
......@@ -7,6 +7,10 @@
* cfgloopmanip.c (split_loop_bb): Remove.
* cfgloop.h: Remove the prototype for split_loop_bb.
* cfgloop.c (flow_loop_outside_edge_p): Remove.
* cfgloop.h: Remove the prototype for
flow_loop_outside_edge_p.
2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
* df-scan.c (df_record_entry_block_defs): Check if
......
......@@ -771,15 +771,6 @@ flow_bb_inside_loop_p (const struct loop *loop, const basic_block bb)
return loop == source_loop || flow_loop_nested_p (loop, source_loop);
}
/* Return nonzero if edge E enters header of LOOP from outside of LOOP. */
bool
flow_loop_outside_edge_p (const struct loop *loop, edge e)
{
gcc_assert (e->dest == loop->header);
return !flow_bb_inside_loop_p (loop, e->src);
}
/* Enumeration predicate for get_loop_body. */
static bool
glb_enum_p (basic_block bb, void *glb_header)
......
......@@ -245,7 +245,6 @@ extern void create_loop_notes (void);
/* Loop data structure manipulation/querying. */
extern void flow_loop_tree_node_add (struct loop *, struct loop *);
extern void flow_loop_tree_node_remove (struct loop *);
extern bool flow_loop_outside_edge_p (const struct loop *, edge);
extern bool flow_loop_nested_p (const struct loop *, const struct loop *);
extern bool flow_bb_inside_loop_p (const struct loop *, const basic_block);
extern struct loop * find_common_loop (struct loop *, struct loop *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment