]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cfgloopmanip.h
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / cfgloopmanip.h
index 75b2a5e9b7565bfde49bbdc23fecd0e5f0c85e14..af6a29f70c42e42747364ce385255aefd15dcc63 100644 (file)
@@ -32,6 +32,8 @@ enum
                                           field of newly create BB.  */
 #define DLTHE_FLAG_COMPLETTE_PEEL 4    /* Update frequencies expecting
                                           a complete peeling.  */
+#define DLTHE_FLAG_FLAT_PROFILE 8      /* Profile is flat; do not reduce
+                                          count by unroll factor.  */
 extern edge mfb_kj_edge;
 
 extern bool remove_path (edge, bool * = NULL, bitmap = NULL);
@@ -64,5 +66,7 @@ class loop * loop_version (class loop *, void *,
                            profile_probability, profile_probability,
                            profile_probability, profile_probability, bool);
 void adjust_loop_info_after_peeling (class loop *loop, int npeel, bool precise);
+void scale_dominated_blocks_in_loop (class loop *loop, basic_block bb,
+                                    profile_count num, profile_count den);
 
 #endif /* GCC_CFGLOOPMANIP_H */