aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-08-03 15:34:49 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-08-03 13:34:49 +0000
commit178df94ff18a589455749496b4cd6888feb567b0 (patch)
tree1a926b9bc202452ffb1c89f9db59da5c72ea357e /gcc/cfgloop.h
parent4164b2fb1628493c3b529b1e9ee045a504f44a0e (diff)
downloadgcc-178df94ff18a589455749496b4cd6888feb567b0.zip
gcc-178df94ff18a589455749496b4cd6888feb567b0.tar.gz
gcc-178df94ff18a589455749496b4cd6888feb567b0.tar.bz2
cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.
* cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag. * cfgloopmanip.c (duplicate_loop_to_header_edge): Special case profile updating for complette unrolling. * loop-unroll.c (peel_loop_completely): Use it. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise. (tree_unroll_loops_completely): Disable code growing unrolling of cold loops. * update-conroll.c: New testcase. * update-conroll-2.c: New testcase. From-SVN: r102687
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 34cebe2..0bfb8d8 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -298,6 +298,8 @@ extern bool can_duplicate_loop_p (struct loop *loop);
duplicate_loop_to_header_edge. */
#define DLTHE_RECORD_COPY_NUMBER 2 /* Record copy number in the aux
field of newly create BB. */
+#define DLTHE_FLAG_COMPLETTE_PEEL 4 /* Update frequencies expecting
+ a complette peeling. */
extern struct loop * duplicate_loop (struct loops *, struct loop *,
struct loop *);