comparison gcc/params.def @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* params.def - Run-time parameters. 1 /* params.def - Run-time parameters.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
3 2011
3 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
4 Written by Mark Mitchell <mark@codesourcery.com>. 5 Written by Mark Mitchell <mark@codesourcery.com>.
5 6
6 This file is part of GCC. 7 This file is part of GCC.
7 8
76 inlined by virtue of -finline-functions (-O3). 77 inlined by virtue of -finline-functions (-O3).
77 This limit should be chosen to be below or equal to the limit 78 This limit should be chosen to be below or equal to the limit
78 that is applied to functions marked inlined (or defined in the 79 that is applied to functions marked inlined (or defined in the
79 class declaration in C++) given by the "max-inline-insns-single" 80 class declaration in C++) given by the "max-inline-insns-single"
80 parameter. 81 parameter.
81 The default value is 90. */ 82 The default value is 40. */
82 DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO, 83 DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO,
83 "max-inline-insns-auto", 84 "max-inline-insns-auto",
84 "The maximum number of instructions when automatically inlining", 85 "The maximum number of instructions when automatically inlining",
85 50, 0, 0) 86 40, 0, 0)
86 87
87 DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE, 88 DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE,
88 "max-inline-insns-recursive", 89 "max-inline-insns-recursive",
89 "The maximum number of instructions inline function can grow to via recursive inlining", 90 "The maximum number of instructions inline function can grow to via recursive inlining",
90 450, 0, 0) 91 450, 0, 0)
114 handled by late inlining. */ 115 handled by late inlining. */
115 DEFPARAM (PARAM_EARLY_INLINER_MAX_ITERATIONS, 116 DEFPARAM (PARAM_EARLY_INLINER_MAX_ITERATIONS,
116 "max-early-inliner-iterations", 117 "max-early-inliner-iterations",
117 "The maximum number of nested indirect inlining performed by early inliner", 118 "The maximum number of nested indirect inlining performed by early inliner",
118 10, 0, 0) 119 10, 0, 0)
120
121 /* Limit on probability of entry BB. */
122 DEFPARAM (PARAM_COMDAT_SHARING_PROBABILITY,
123 "comdat-sharing-probability",
124 "Probability that COMDAT function will be shared with different compilatoin unit",
125 20, 0, 0)
126
127 /* Limit on probability of entry BB. */
128 DEFPARAM (PARAM_PARTIAL_INLINING_ENTRY_PROBABILITY,
129 "partial-inlining-entry-probability",
130 "Maximum probability of the entry BB of split region (in percent relative to entry BB of the function) to make partial inlining happen",
131 70, 0, 0)
119 132
120 /* Limit the number of expansions created by the variable expansion 133 /* Limit the number of expansions created by the variable expansion
121 optimization to avoid register pressure. */ 134 optimization to avoid register pressure. */
122 DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS, 135 DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS,
123 "max-variable-expansions-in-unroller", 136 "max-variable-expansions-in-unroller",
183 "How much can given compilation unit grow because of the interprocedural constant propagation (in percent)", 196 "How much can given compilation unit grow because of the interprocedural constant propagation (in percent)",
184 10, 0, 0) 197 10, 0, 0)
185 DEFPARAM(PARAM_EARLY_INLINING_INSNS, 198 DEFPARAM(PARAM_EARLY_INLINING_INSNS,
186 "early-inlining-insns", 199 "early-inlining-insns",
187 "Maximal estimated growth of function body caused by early inlining of single call", 200 "Maximal estimated growth of function body caused by early inlining of single call",
188 8, 0, 0) 201 10, 0, 0)
189 DEFPARAM(PARAM_LARGE_STACK_FRAME, 202 DEFPARAM(PARAM_LARGE_STACK_FRAME,
190 "large-stack-frame", 203 "large-stack-frame",
191 "The size of stack frame to be considered large", 204 "The size of stack frame to be considered large",
192 256, 0, 0) 205 256, 0, 0)
193 DEFPARAM(PARAM_STACK_FRAME_GROWTH, 206 DEFPARAM(PARAM_STACK_FRAME_GROWTH,
199 significantly more memory than this value. */ 212 significantly more memory than this value. */
200 DEFPARAM(PARAM_MAX_GCSE_MEMORY, 213 DEFPARAM(PARAM_MAX_GCSE_MEMORY,
201 "max-gcse-memory", 214 "max-gcse-memory",
202 "The maximum amount of memory to be allocated by GCSE", 215 "The maximum amount of memory to be allocated by GCSE",
203 50 * 1024 * 1024, 0, 0) 216 50 * 1024 * 1024, 0, 0)
217
218 /* The GCSE optimization of an expression will avoided if the ratio of
219 insertions to deletions is greater than this value. */
220 DEFPARAM(PARAM_MAX_GCSE_INSERTION_RATIO,
221 "max-gcse-insertion-ratio",
222 "The maximum ratio of insertions to deletions of expressions in GCSE",
223 20, 0, 0)
204 224
205 /* This is the threshold ratio when to perform partial redundancy 225 /* This is the threshold ratio when to perform partial redundancy
206 elimination after reload. We perform partial redundancy elimination 226 elimination after reload. We perform partial redundancy elimination
207 when the following holds: 227 when the following holds:
208 (Redundant load execution count) 228 (Redundant load execution count)
217 redundancy elimination in gcse after reload. */ 237 redundancy elimination in gcse after reload. */
218 DEFPARAM(PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION, 238 DEFPARAM(PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION,
219 "gcse-after-reload-critical-fraction", 239 "gcse-after-reload-critical-fraction",
220 "The threshold ratio of critical edges execution count that permit performing redundancy elimination after reload", 240 "The threshold ratio of critical edges execution count that permit performing redundancy elimination after reload",
221 10, 0, 0) 241 10, 0, 0)
242
243 /* GCSE will use GCSE_COST_DISTANCE_RATION as a scaling factor
244 to calculate maximum distance for which an expression is allowed to move
245 from its rtx_cost. */
246 DEFPARAM(PARAM_GCSE_COST_DISTANCE_RATIO,
247 "gcse-cost-distance-ratio",
248 "Scaling factor in calculation of maximum distance an expression can be moved by GCSE optimizations",
249 10, 0, 0)
250 /* GCSE won't restrict distance for which an expression with rtx_cost greater
251 than COSTS_N_INSN(GCSE_UNRESTRICTED_COST) is allowed to move. */
252 DEFPARAM(PARAM_GCSE_UNRESTRICTED_COST,
253 "gcse-unrestricted-cost",
254 "Cost at which GCSE optimizations will not constraint the distance an expression can travel",
255 3, 0, 0)
256
257 /* How deep from a given basic block the dominator tree should be searched
258 for expressions to hoist to the block. The value of 0 will avoid limiting
259 the search. */
260 DEFPARAM(PARAM_MAX_HOIST_DEPTH,
261 "max-hoist-depth",
262 "Maximum depth of search in the dominator tree for expressions to hoist",
263 30, 0, 0)
264
222 /* This parameter limits the number of insns in a loop that will be unrolled, 265 /* This parameter limits the number of insns in a loop that will be unrolled,
223 and by how much the loop is unrolled. 266 and by how much the loop is unrolled.
224 267
225 This limit should be at most half of the peeling limits: loop unroller 268 This limit should be at most half of the peeling limits: loop unroller
226 decides to not unroll loops that iterate fewer than 2*number of allowed 269 decides to not unroll loops that iterate fewer than 2*number of allowed
436 10, 0, 0) 479 10, 0, 0)
437 480
438 DEFPARAM(PARAM_SCEV_MAX_EXPR_SIZE, 481 DEFPARAM(PARAM_SCEV_MAX_EXPR_SIZE,
439 "scev-max-expr-size", 482 "scev-max-expr-size",
440 "Bound on size of expressions used in the scalar evolutions analyzer", 483 "Bound on size of expressions used in the scalar evolutions analyzer",
441 20, 0, 0) 484 100, 0, 0)
485
486 DEFPARAM(PARAM_SCEV_MAX_EXPR_COMPLEXITY,
487 "scev-max-expr-complexity",
488 "Bound on the complexity of the expressions in the scalar evolutions analyzer",
489 10, 0, 0)
442 490
443 DEFPARAM(PARAM_OMEGA_MAX_VARS, 491 DEFPARAM(PARAM_OMEGA_MAX_VARS,
444 "omega-max-vars", 492 "omega-max-vars",
445 "Bound on the number of variables in Omega constraint systems", 493 "Bound on the number of variables in Omega constraint systems",
446 128, 0, 0) 494 128, 0, 0)
801 "ipa-sra-ptr-growth-factor", 849 "ipa-sra-ptr-growth-factor",
802 "Maximum allowed growth of size of new parameters ipa-sra replaces " 850 "Maximum allowed growth of size of new parameters ipa-sra replaces "
803 "a pointer to an aggregate with", 851 "a pointer to an aggregate with",
804 2, 0, 0) 852 2, 0, 0)
805 853
854 DEFPARAM (PARAM_DEVIRT_TYPE_LIST_SIZE,
855 "devirt-type-list-size",
856 "Maximum size of a type list associated with each parameter for "
857 "devirtualization",
858 8, 0, 0)
859
860 /* WHOPR partitioning configuration. */
861
862 DEFPARAM (PARAM_LTO_PARTITIONS,
863 "lto-partitions",
864 "Number of paritions program should be split to",
865 32, 0, 0)
866
867 DEFPARAM (MIN_PARTITION_SIZE,
868 "lto-min-partition",
869 "Size of minimal paritition for WHOPR (in estimated instructions)",
870 1000, 0, 0)
871
872 /* Diagnostic parameters. */
873
874 DEFPARAM (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP,
875 "cxx-max-namespaces-for-diagnostic-help",
876 "Maximum number of namespaces to search for alternatives when "
877 "name lookup fails",
878 1000, 0, 0)
879
806 /* 880 /*
807 Local variables: 881 Local variables:
808 mode:c 882 mode:c
809 End: 883 End:
810 */ 884 */