aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-04-26 11:13:14 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-04-26 11:13:14 +0000
commitdd366ec309a4afc80ce5b6442321eb847b1b851f (patch)
tree027570a5994a1bcef5487d0da3c38370ec98d67f /gcc/cfgloop.h
parenta9e0d843713b294d12c3a3faedbc0c817e581014 (diff)
downloadgcc-dd366ec309a4afc80ce5b6442321eb847b1b851f.zip
gcc-dd366ec309a4afc80ce5b6442321eb847b1b851f.tar.gz
gcc-dd366ec309a4afc80ce5b6442321eb847b1b851f.tar.bz2
Makefile.in (lto-streamer-in.o): Add $(CFGLOOP_H) dependency.
2013-04-26 Richard Biener <rguenther@suse.de> * Makefile.in (lto-streamer-in.o): Add $(CFGLOOP_H) dependency. (lto-streamer-out.o): Likewise. * cfgloop.c (init_loops_structure): Export, add struct function argument and adjust. (flow_loops_find): Adjust. * cfgloop.h (enum loop_estimation): Add EST_LAST. (init_loops_structure): Declare. * lto-streamer-in.c: Include cfgloop.h. (input_cfg): Input the loop tree. * lto-streamer-out.c: Include cfgloop.h. (output_cfg): Output the loop tree. (output_struct_function_base): Do not drop PROP_loops. From-SVN: r198334
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 948e805..5c38599 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -97,7 +97,8 @@ enum loop_estimation
/* Estimate was not computed yet. */
EST_NOT_COMPUTED,
/* Estimate is ready. */
- EST_AVAILABLE
+ EST_AVAILABLE,
+ EST_LAST
};
/* Structure to hold information for each natural loop. */
@@ -213,6 +214,7 @@ struct GTY (()) loops {
/* Loop recognition. */
bool bb_loop_header_p (basic_block);
+void init_loops_structure (struct function *, struct loops *, unsigned);
extern struct loops *flow_loops_find (struct loops *);
extern void disambiguate_loops_with_multiple_latches (void);
extern void flow_loops_free (struct loops *);