From 2862cf8840cb7af53bf67b250a95a9ad9b82de83 Mon Sep 17 00:00:00 2001
From: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 25 Jun 2010 13:13:31 +0000
Subject: 	* tree-pass.h (pass_split_functions): Declare. 	* opts.c
 (decode_options): Enable function splitting at -O2 	* timevar.def
 (TV_IPA_FNSPLIT): New macro. 	* ipa-split.c: New file. 	* common.opt
 (-fpartial-inlining): New flag. 	* Makefile.in (ipa-split.o): New
 object file. 	* passes.c (init_optimization_passes): Add ipa-split. 	*
 params.def (max-inline-insns-auto): Reduce max-inline-insns-auto to 40. 
 (partial-inlining-entry-probability): New parameters. 	* doc/invoke.texi
 (-fpartial-inlining): New.

	* testsuite/gcc.dg/tree-ssa/ipa-split.c


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161382 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/params.def | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'gcc/params.def')

diff --git a/gcc/params.def b/gcc/params.def
index 35650ff91b7..d4321e4267d 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -117,6 +117,12 @@ DEFPARAM (PARAM_EARLY_INLINER_MAX_ITERATIONS,
 	  "The maximum number of nested indirect inlining performed by early inliner",
 	  10, 0, 0)
 
+/* Limit on probability of entry BB.  */
+DEFPARAM (PARAM_PARTIAL_INLINING_ENTRY_PROBABILITY,
+	  "partial-inlining-entry-probability",
+	  "Maximum probability of the entry BB of split region (in percent relative to entry BB of the function) to make partial inlining happen",
+	  70, 0, 0)
+
 /* Limit the number of expansions created by the variable expansion
    optimization to avoid register pressure.  */
 DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS,
-- 
cgit v1.2.1

