annotate gcc/params.def @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* params.def - Run-time parameters.
16
kono
parents: 14
diff changeset
2 Copyright (C) 2001-2017 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 Written by Mark Mitchell <mark@codesourcery.com>.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 This file is part of GCC.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 GCC is free software; you can redistribute it and/or modify it under
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 the terms of the GNU General Public License as published by the Free
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 Software Foundation; either version 3, or (at your option) any later
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 for more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 along with GCC; see the file COPYING3. If not see
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 <http://www.gnu.org/licenses/>. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 /* This file contains definitions for language-independent
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 parameters. The DEFPARAM macro takes 6 arguments:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 - The enumeral corresponding to this parameter.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
26 - The name that can be used to set this parameter using the
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 command-line option `--param <name>=<value>'.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 - A help string explaining how the parameter is used.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 - A default value for the parameter.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 - The minimum acceptable value for the parameter.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 - The maximum acceptable value for the parameter (if greater than
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 the minimum).
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37
16
kono
parents: 14
diff changeset
38 The DEFPARAMENUM<N> macro is similar, but instead of the minumum and maximum
kono
parents: 14
diff changeset
39 arguments, it contains a list of <N> allowed strings, corresponding to
kono
parents: 14
diff changeset
40 integer values 0..<N>-1. Note that the default argument needs to be
kono
parents: 14
diff changeset
41 specified as one of the allowed strings, rather than an integer value.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42
16
kono
parents: 14
diff changeset
43 Be sure to add an entry to invoke.texi summarizing the parameter. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 /* When branch is predicted to be taken with probability lower than this
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 threshold (in percent), then it is considered well predictable. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 DEFPARAM (PARAM_PREDICTABLE_BRANCH_OUTCOME,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 "predictable-branch-outcome",
16
kono
parents: 14
diff changeset
49 "Maximal estimated outcome of branch considered predictable.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 2, 0, 50)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51
16
kono
parents: 14
diff changeset
52 DEFPARAM (PARAM_INLINE_MIN_SPEEDUP,
kono
parents: 14
diff changeset
53 "inline-min-speedup",
kono
parents: 14
diff changeset
54 "The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-insns-auto.",
kono
parents: 14
diff changeset
55 8, 0, 0)
kono
parents: 14
diff changeset
56
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 /* The single function inlining limit. This is the maximum size
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
58 of a function counted in internal gcc instructions (not in
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 real machine instructions) that is eligible for inlining
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 by the tree inliner.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 The default value is 450.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 Only functions marked inline (or methods defined in the class
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 definition for C++) are affected by this.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 There are more restrictions to inlining: If inlined functions
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 call other functions, the already inlined instructions are
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
66 counted and once the recursive inline limit (see
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
67 "max-inline-insns" parameter) is exceeded, the acceptable size
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 gets decreased. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 DEFPARAM (PARAM_MAX_INLINE_INSNS_SINGLE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 "max-inline-insns-single",
16
kono
parents: 14
diff changeset
71 "The maximum number of instructions in a single function eligible for inlining.",
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
72 400, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 /* The single function inlining limit for functions that are
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 inlined by virtue of -finline-functions (-O3).
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76 This limit should be chosen to be below or equal to the limit
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
77 that is applied to functions marked inlined (or defined in the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 class declaration in C++) given by the "max-inline-insns-single"
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
79 parameter.
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
80 The default value is 40. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
81 DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
82 "max-inline-insns-auto",
16
kono
parents: 14
diff changeset
83 "The maximum number of instructions when automatically inlining.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
84 40, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
85
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
86 DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
87 "max-inline-insns-recursive",
16
kono
parents: 14
diff changeset
88 "The maximum number of instructions inline function can grow to via recursive inlining.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89 450, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
90
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE_AUTO,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
92 "max-inline-insns-recursive-auto",
16
kono
parents: 14
diff changeset
93 "The maximum number of instructions non-inline function can grow to via recursive inlining.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 450, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEPTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 "max-inline-recursive-depth",
16
kono
parents: 14
diff changeset
98 "The maximum depth of recursive inlining for inline functions.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
99 8, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
100
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
101 DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEPTH_AUTO,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
102 "max-inline-recursive-depth-auto",
16
kono
parents: 14
diff changeset
103 "The maximum depth of recursive inlining for non-inline functions.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
104 8, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
105
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
106 DEFPARAM (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
107 "min-inline-recursive-probability",
16
kono
parents: 14
diff changeset
108 "Inline recursively only when the probability of call being executed exceeds the parameter.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
109 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
110
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
111 /* Limit of iterations of early inliner. This basically bounds number of
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
112 nested indirect calls early inliner can resolve. Deeper chains are still
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
113 handled by late inlining. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
114 DEFPARAM (PARAM_EARLY_INLINER_MAX_ITERATIONS,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
115 "max-early-inliner-iterations",
16
kono
parents: 14
diff changeset
116 "The maximum number of nested indirect inlining performed by early inliner.",
kono
parents: 14
diff changeset
117 1, 0, 0)
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
118
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
119 /* Limit on probability of entry BB. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
120 DEFPARAM (PARAM_COMDAT_SHARING_PROBABILITY,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
121 "comdat-sharing-probability",
16
kono
parents: 14
diff changeset
122 "Probability that COMDAT function will be shared with different compilation unit.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
123 20, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
124
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
125 /* Limit on probability of entry BB. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
126 DEFPARAM (PARAM_PARTIAL_INLINING_ENTRY_PROBABILITY,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
127 "partial-inlining-entry-probability",
16
kono
parents: 14
diff changeset
128 "Maximum probability of the entry BB of split region (in percent relative to entry BB of the function) to make partial inlining happen.",
kono
parents: 14
diff changeset
129 70, 0, 100)
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
130
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
131 /* Limit the number of expansions created by the variable expansion
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
132 optimization to avoid register pressure. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
133 DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
134 "max-variable-expansions-in-unroller",
16
kono
parents: 14
diff changeset
135 "If -fvariable-expansion-in-unroller is used, the maximum number of times that an individual variable will be expanded during loop unrolling.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
136 1, 0, 0)
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
137
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
138 /* Limit loop autovectorization to loops with large enough iteration count. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
139 DEFPARAM (PARAM_MIN_VECT_LOOP_BOUND,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
140 "min-vect-loop-bound",
16
kono
parents: 14
diff changeset
141 "If -ftree-vectorize is used, the minimal loop bound of a loop to be considered for vectorization.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
142 1, 1, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
143
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
144 /* The maximum number of instructions to consider when looking for an
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
145 instruction to fill a delay slot. If more than this arbitrary
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
146 number of instructions is searched, the time savings from filling
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
147 the delay slot will be minimal so stop searching. Increasing
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
148 values mean more aggressive optimization, making the compile time
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
149 increase with probably small improvement in executable run time. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
150 DEFPARAM (PARAM_MAX_DELAY_SLOT_INSN_SEARCH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
151 "max-delay-slot-insn-search",
16
kono
parents: 14
diff changeset
152 "The maximum number of instructions to consider to fill a delay slot.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
153 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
154
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
155 /* When trying to fill delay slots, the maximum number of instructions
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
156 to consider when searching for a block with valid live register
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
157 information. Increasing this arbitrarily chosen value means more
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
158 aggressive optimization, increasing the compile time. This
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
159 parameter should be removed when the delay slot code is rewritten
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
160 to maintain the control-flow graph. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
161 DEFPARAM(PARAM_MAX_DELAY_SLOT_LIVE_SEARCH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
162 "max-delay-slot-live-search",
16
kono
parents: 14
diff changeset
163 "The maximum number of instructions to consider to find accurate live register information.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
164 333, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
165
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
166 /* This parameter limits the number of branch elements that the
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
167 scheduler will track anti-dependencies through without resetting
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
168 the tracking mechanism. Large functions with few calls or barriers
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
169 can generate lists containing many 1000's of dependencies. Generally
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
170 the compiler either uses all available memory, or runs for far too long. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
171 DEFPARAM(PARAM_MAX_PENDING_LIST_LENGTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
172 "max-pending-list-length",
16
kono
parents: 14
diff changeset
173 "The maximum length of scheduling's pending operations list.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
174 32, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
175
16
kono
parents: 14
diff changeset
176 /* This parameter limits the number of backtracking attempts when using the
kono
parents: 14
diff changeset
177 haifa scheduler for modulo scheduling. */
kono
parents: 14
diff changeset
178 DEFPARAM(PARAM_MAX_MODULO_BACKTRACK_ATTEMPTS,
kono
parents: 14
diff changeset
179 "max-modulo-backtrack-attempts",
kono
parents: 14
diff changeset
180 "The maximum number of backtrack attempts the scheduler should make when modulo scheduling a loop.",
kono
parents: 14
diff changeset
181 40, 0, 0)
kono
parents: 14
diff changeset
182
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
183 DEFPARAM(PARAM_LARGE_FUNCTION_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
184 "large-function-insns",
16
kono
parents: 14
diff changeset
185 "The size of function body to be considered large.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 2700, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
187 DEFPARAM(PARAM_LARGE_FUNCTION_GROWTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
188 "large-function-growth",
16
kono
parents: 14
diff changeset
189 "Maximal growth due to inlining of large function (in percent).",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
190 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
191 DEFPARAM(PARAM_LARGE_UNIT_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
192 "large-unit-insns",
16
kono
parents: 14
diff changeset
193 "The size of translation unit to be considered large.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
194 10000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
195 DEFPARAM(PARAM_INLINE_UNIT_GROWTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
196 "inline-unit-growth",
16
kono
parents: 14
diff changeset
197 "How much can given compilation unit grow because of the inlining (in percent).",
kono
parents: 14
diff changeset
198 20, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
199 DEFPARAM(PARAM_IPCP_UNIT_GROWTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
200 "ipcp-unit-growth",
16
kono
parents: 14
diff changeset
201 "How much can given compilation unit grow because of the interprocedural constant propagation (in percent).",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
202 10, 0, 0)
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
203 DEFPARAM(PARAM_EARLY_INLINING_INSNS,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
204 "early-inlining-insns",
16
kono
parents: 14
diff changeset
205 "Maximal estimated growth of function body caused by early inlining of single call.",
kono
parents: 14
diff changeset
206 14, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
207 DEFPARAM(PARAM_LARGE_STACK_FRAME,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
208 "large-stack-frame",
16
kono
parents: 14
diff changeset
209 "The size of stack frame to be considered large.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
210 256, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
211 DEFPARAM(PARAM_STACK_FRAME_GROWTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
212 "large-stack-frame-growth",
16
kono
parents: 14
diff changeset
213 "Maximal stack frame growth due to inlining (in percent).",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
214 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
215
16
kono
parents: 14
diff changeset
216 DEFPARAM(PARAM_STACK_CLASH_PROTECTION_GUARD_SIZE,
kono
parents: 14
diff changeset
217 "stack-clash-protection-guard-size",
kono
parents: 14
diff changeset
218 "Size of the stack guard expressed as a power of two.",
kono
parents: 14
diff changeset
219 12, 12, 30)
kono
parents: 14
diff changeset
220
kono
parents: 14
diff changeset
221 DEFPARAM(PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL,
kono
parents: 14
diff changeset
222 "stack-clash-protection-probe-interval",
kono
parents: 14
diff changeset
223 "Interval in which to probe the stack expressed as a power of two.",
kono
parents: 14
diff changeset
224 12, 10, 16)
kono
parents: 14
diff changeset
225
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
226 /* The GCSE optimization will be disabled if it would require
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
227 significantly more memory than this value. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
228 DEFPARAM(PARAM_MAX_GCSE_MEMORY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
229 "max-gcse-memory",
16
kono
parents: 14
diff changeset
230 "The maximum amount of memory to be allocated by GCSE.",
kono
parents: 14
diff changeset
231 128 * 1024 * 1024, 0, 0)
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
232
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
233 /* The GCSE optimization of an expression will avoided if the ratio of
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
234 insertions to deletions is greater than this value. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
235 DEFPARAM(PARAM_MAX_GCSE_INSERTION_RATIO,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
236 "max-gcse-insertion-ratio",
16
kono
parents: 14
diff changeset
237 "The maximum ratio of insertions to deletions of expressions in GCSE.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
238 20, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
239
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
240 /* This is the threshold ratio when to perform partial redundancy
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
241 elimination after reload. We perform partial redundancy elimination
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
242 when the following holds:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
243 (Redundant load execution count)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
244 ------------------------------- >= GCSE_AFTER_RELOAD_PARTIAL_FRACTION
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
245 (Added loads execution count) */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
246 DEFPARAM(PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
247 "gcse-after-reload-partial-fraction",
16
kono
parents: 14
diff changeset
248 "The threshold ratio for performing partial redundancy elimination after reload.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
249 3, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
250 /* This is the threshold ratio of the critical edges execution count compared to
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
251 the redundant loads execution count that permits performing the load
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
252 redundancy elimination in gcse after reload. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
253 DEFPARAM(PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
254 "gcse-after-reload-critical-fraction",
16
kono
parents: 14
diff changeset
255 "The threshold ratio of critical edges execution count that permit performing redundancy elimination after reload.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
256 10, 0, 0)
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
257
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
258 /* GCSE will use GCSE_COST_DISTANCE_RATION as a scaling factor
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
259 to calculate maximum distance for which an expression is allowed to move
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
260 from its rtx_cost. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
261 DEFPARAM(PARAM_GCSE_COST_DISTANCE_RATIO,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
262 "gcse-cost-distance-ratio",
16
kono
parents: 14
diff changeset
263 "Scaling factor in calculation of maximum distance an expression can be moved by GCSE optimizations.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
264 10, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
265 /* GCSE won't restrict distance for which an expression with rtx_cost greater
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
266 than COSTS_N_INSN(GCSE_UNRESTRICTED_COST) is allowed to move. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
267 DEFPARAM(PARAM_GCSE_UNRESTRICTED_COST,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
268 "gcse-unrestricted-cost",
16
kono
parents: 14
diff changeset
269 "Cost at which GCSE optimizations will not constraint the distance an expression can travel.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
270 3, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
271
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
272 /* How deep from a given basic block the dominator tree should be searched
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
273 for expressions to hoist to the block. The value of 0 will avoid limiting
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
274 the search. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
275 DEFPARAM(PARAM_MAX_HOIST_DEPTH,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
276 "max-hoist-depth",
16
kono
parents: 14
diff changeset
277 "Maximum depth of search in the dominator tree for expressions to hoist.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
278 30, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
279
16
kono
parents: 14
diff changeset
280
kono
parents: 14
diff changeset
281 /* When synthesizing expnonentiation by a real constant operations using square
kono
parents: 14
diff changeset
282 roots, this controls how deep sqrt chains we are willing to generate. */
kono
parents: 14
diff changeset
283 DEFPARAM(PARAM_MAX_POW_SQRT_DEPTH,
kono
parents: 14
diff changeset
284 "max-pow-sqrt-depth",
kono
parents: 14
diff changeset
285 "Maximum depth of sqrt chains to use when synthesizing exponentiation by a real constant.",
kono
parents: 14
diff changeset
286 5, 1, 32)
kono
parents: 14
diff changeset
287
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
288 /* This parameter limits the number of insns in a loop that will be unrolled,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
289 and by how much the loop is unrolled.
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
290
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
291 This limit should be at most half of the peeling limits: loop unroller
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
292 decides to not unroll loops that iterate fewer than 2*number of allowed
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
293 unrollings and thus we would have loops that are neither peeled or unrolled
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
294 otherwise. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
295 DEFPARAM(PARAM_MAX_UNROLLED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
296 "max-unrolled-insns",
16
kono
parents: 14
diff changeset
297 "The maximum number of instructions to consider to unroll in a loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
298 200, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
299 /* This parameter limits how many times the loop is unrolled depending
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
300 on number of insns really executed in each iteration. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
301 DEFPARAM(PARAM_MAX_AVERAGE_UNROLLED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
302 "max-average-unrolled-insns",
16
kono
parents: 14
diff changeset
303 "The maximum number of instructions to consider to unroll in a loop on average.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
304 80, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
305 /* The maximum number of unrollings of a single loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
306 DEFPARAM(PARAM_MAX_UNROLL_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
307 "max-unroll-times",
16
kono
parents: 14
diff changeset
308 "The maximum number of unrollings of a single loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
309 8, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
310 /* The maximum number of insns of a peeled loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
311 DEFPARAM(PARAM_MAX_PEELED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
312 "max-peeled-insns",
16
kono
parents: 14
diff changeset
313 "The maximum number of insns of a peeled loop.",
kono
parents: 14
diff changeset
314 100, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
315 /* The maximum number of peelings of a single loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
316 DEFPARAM(PARAM_MAX_PEEL_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
317 "max-peel-times",
16
kono
parents: 14
diff changeset
318 "The maximum number of peelings of a single loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
319 16, 0, 0)
16
kono
parents: 14
diff changeset
320 /* The maximum number of peelings of a single loop that is peeled completely. */
kono
parents: 14
diff changeset
321 DEFPARAM(PARAM_MAX_PEEL_BRANCHES,
kono
parents: 14
diff changeset
322 "max-peel-branches",
kono
parents: 14
diff changeset
323 "The maximum number of branches on the path through the peeled sequence.",
kono
parents: 14
diff changeset
324 32, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
325 /* The maximum number of insns of a peeled loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
326 DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
327 "max-completely-peeled-insns",
16
kono
parents: 14
diff changeset
328 "The maximum number of insns of a completely peeled loop.",
kono
parents: 14
diff changeset
329 200, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
330 /* The maximum number of peelings of a single loop that is peeled completely. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
331 DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
332 "max-completely-peel-times",
16
kono
parents: 14
diff changeset
333 "The maximum number of peelings of a single loop that is peeled completely.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
334 16, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
335 /* The maximum number of insns of a peeled loop that rolls only once. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
336 DEFPARAM(PARAM_MAX_ONCE_PEELED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
337 "max-once-peeled-insns",
16
kono
parents: 14
diff changeset
338 "The maximum number of insns of a peeled loop that rolls only once.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
339 400, 0, 0)
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
340 /* The maximum depth of a loop nest we completely peel. */
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
341 DEFPARAM(PARAM_MAX_UNROLL_ITERATIONS,
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
342 "max-completely-peel-loop-nest-depth",
16
kono
parents: 14
diff changeset
343 "The maximum depth of a loop nest we completely peel.",
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
344 8, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
345
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
346 /* The maximum number of insns of an unswitched loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
347 DEFPARAM(PARAM_MAX_UNSWITCH_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
348 "max-unswitch-insns",
16
kono
parents: 14
diff changeset
349 "The maximum number of insns of an unswitched loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
350 50, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
351 /* The maximum level of recursion in unswitch_single_loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
352 DEFPARAM(PARAM_MAX_UNSWITCH_LEVEL,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
353 "max-unswitch-level",
16
kono
parents: 14
diff changeset
354 "The maximum number of unswitchings in a single loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
355 3, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
356
16
kono
parents: 14
diff changeset
357 /* The maximum number of insns in loop header duplicated by he copy loop
kono
parents: 14
diff changeset
358 headers pass. */
kono
parents: 14
diff changeset
359 DEFPARAM(PARAM_MAX_LOOP_HEADER_INSNS,
kono
parents: 14
diff changeset
360 "max-loop-header-insns",
kono
parents: 14
diff changeset
361 "The maximum number of insns in loop header duplicated by he copy loop headers pass.",
kono
parents: 14
diff changeset
362 20, 0, 0)
kono
parents: 14
diff changeset
363
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
364 /* The maximum number of iterations of a loop the brute force algorithm
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
365 for analysis of # of iterations of the loop tries to evaluate. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
366 DEFPARAM(PARAM_MAX_ITERATIONS_TO_TRACK,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
367 "max-iterations-to-track",
16
kono
parents: 14
diff changeset
368 "Bound on the number of iterations the brute force # of iterations analysis algorithm evaluates.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
369 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
370 /* A cutoff to avoid costly computations of the number of iterations in
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
371 the doloop transformation. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
372 DEFPARAM(PARAM_MAX_ITERATIONS_COMPUTATION_COST,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
373 "max-iterations-computation-cost",
16
kono
parents: 14
diff changeset
374 "Bound on the cost of an expression to compute the number of iterations.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
375 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
376
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
377 /* This parameter is used to tune SMS MAX II calculations. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
378 DEFPARAM(PARAM_SMS_MAX_II_FACTOR,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
379 "sms-max-ii-factor",
16
kono
parents: 14
diff changeset
380 "A factor for tuning the upper bound that swing modulo scheduler uses for scheduling a loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
381 100, 0, 0)
16
kono
parents: 14
diff changeset
382 /* The minimum value of stage count that swing modulo scheduler will generate. */
kono
parents: 14
diff changeset
383 DEFPARAM(PARAM_SMS_MIN_SC,
kono
parents: 14
diff changeset
384 "sms-min-sc",
kono
parents: 14
diff changeset
385 "The minimum value of stage count that swing modulo scheduler will generate.",
kono
parents: 14
diff changeset
386 2, 1, 1)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
387 DEFPARAM(PARAM_SMS_DFA_HISTORY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
388 "sms-dfa-history",
16
kono
parents: 14
diff changeset
389 "The number of cycles the swing modulo scheduler considers when checking conflicts using DFA.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
390 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
391 DEFPARAM(PARAM_SMS_LOOP_AVERAGE_COUNT_THRESHOLD,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
392 "sms-loop-average-count-threshold",
16
kono
parents: 14
diff changeset
393 "A threshold on the average loop count considered by the swing modulo scheduler.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
394 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
395
16
kono
parents: 14
diff changeset
396 DEFPARAM(HOT_BB_COUNT_WS_PERMILLE,
kono
parents: 14
diff changeset
397 "hot-bb-count-ws-permille",
kono
parents: 14
diff changeset
398 "A basic block profile count is considered hot if it contributes to "
kono
parents: 14
diff changeset
399 "the given permillage of the entire profiled execution.",
kono
parents: 14
diff changeset
400 999, 0, 1000)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
401 DEFPARAM(HOT_BB_FREQUENCY_FRACTION,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
402 "hot-bb-frequency-fraction",
16
kono
parents: 14
diff changeset
403 "Select fraction of the maximal frequency of executions of basic block in function given basic block needs to have to be considered hot.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
404 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
405
16
kono
parents: 14
diff changeset
406 DEFPARAM(UNLIKELY_BB_COUNT_FRACTION,
kono
parents: 14
diff changeset
407 "unlikely-bb-count-fraction",
kono
parents: 14
diff changeset
408 "The minimum fraction of profile runs a given basic block execution count must be not to be considered unlikely.",
kono
parents: 14
diff changeset
409 20, 1, 10000)
kono
parents: 14
diff changeset
410
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
411 DEFPARAM (PARAM_ALIGN_THRESHOLD,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
412 "align-threshold",
16
kono
parents: 14
diff changeset
413 "Select fraction of the maximal frequency of executions of basic block in function given basic block get alignment.",
kono
parents: 14
diff changeset
414 100, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
415
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
416 DEFPARAM (PARAM_ALIGN_LOOP_ITERATIONS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
417 "align-loop-iterations",
16
kono
parents: 14
diff changeset
418 "Loops iterating at least selected number of iterations will get loop alignment..",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
419 4, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
420
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
421 /* For guessed profiles, the loops having unknown number of iterations
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
422 are predicted to iterate relatively few (10) times at average.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
423 For functions containing one loop with large known number of iterations
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
424 and other loops having unbounded loops we would end up predicting all
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
425 the other loops cold that is not usually the case. So we need to artificially
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
426 flatten the profile.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
427
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
428 We need to cut the maximal predicted iterations to large enough iterations
16
kono
parents: 14
diff changeset
429 so the loop appears important, but safely within maximum hotness
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
430 range. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
431
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
432 DEFPARAM(PARAM_MAX_PREDICTED_ITERATIONS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
433 "max-predicted-iterations",
16
kono
parents: 14
diff changeset
434 "The maximum number of loop iterations we predict statically.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
435 100, 0, 0)
16
kono
parents: 14
diff changeset
436
kono
parents: 14
diff changeset
437 /* This parameter controls the probability of builtin_expect. The default
kono
parents: 14
diff changeset
438 value is 90%. This empirical value is obtained through the weighted
kono
parents: 14
diff changeset
439 probability of FDO counters (with the FDO count value as the weight)
kono
parents: 14
diff changeset
440 in some real world programs:
kono
parents: 14
diff changeset
441 (1) Google performance test benchmarks: the probability is 0.9081.
kono
parents: 14
diff changeset
442 (2) Linux 3.3 kernel running Google search workload: the probability
kono
parents: 14
diff changeset
443 is 0.8717. */
kono
parents: 14
diff changeset
444
kono
parents: 14
diff changeset
445 DEFPARAM(BUILTIN_EXPECT_PROBABILITY,
kono
parents: 14
diff changeset
446 "builtin-expect-probability",
kono
parents: 14
diff changeset
447 "Set the estimated probability in percentage for builtin expect. The default value is 90% probability.",
kono
parents: 14
diff changeset
448 90, 0, 100)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
449 DEFPARAM(TRACER_DYNAMIC_COVERAGE_FEEDBACK,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
450 "tracer-dynamic-coverage-feedback",
16
kono
parents: 14
diff changeset
451 "The percentage of function, weighted by execution frequency, that must be covered by trace formation. Used when profile feedback is available.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
452 95, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
453 DEFPARAM(TRACER_DYNAMIC_COVERAGE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
454 "tracer-dynamic-coverage",
16
kono
parents: 14
diff changeset
455 "The percentage of function, weighted by execution frequency, that must be covered by trace formation. Used when profile feedback is not available.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
456 75, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
457 DEFPARAM(TRACER_MAX_CODE_GROWTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
458 "tracer-max-code-growth",
16
kono
parents: 14
diff changeset
459 "Maximal code growth caused by tail duplication (in percent).",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
460 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
461 DEFPARAM(TRACER_MIN_BRANCH_RATIO,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
462 "tracer-min-branch-ratio",
16
kono
parents: 14
diff changeset
463 "Stop reverse growth if the reverse probability of best edge is less than this threshold (in percent).",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
464 10, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
465 DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY_FEEDBACK,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
466 "tracer-min-branch-probability-feedback",
16
kono
parents: 14
diff changeset
467 "Stop forward growth if the probability of best edge is less than this threshold (in percent). Used when profile feedback is available.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
468 80, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
469 DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
470 "tracer-min-branch-probability",
16
kono
parents: 14
diff changeset
471 "Stop forward growth if the probability of best edge is less than this threshold (in percent). Used when profile feedback is not available.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
472 50, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
473
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
474 /* The maximum number of incoming edges to consider for crossjumping. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
475 DEFPARAM(PARAM_MAX_CROSSJUMP_EDGES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
476 "max-crossjump-edges",
16
kono
parents: 14
diff changeset
477 "The maximum number of incoming edges to consider for crossjumping.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
478 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
479
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
480 /* The minimum number of matching instructions to consider for crossjumping. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
481 DEFPARAM(PARAM_MIN_CROSSJUMP_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
482 "min-crossjump-insns",
16
kono
parents: 14
diff changeset
483 "The minimum number of matching instructions to consider for crossjumping.",
kono
parents: 14
diff changeset
484 5, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
485
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
486 /* The maximum number expansion factor when copying basic blocks. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
487 DEFPARAM(PARAM_MAX_GROW_COPY_BB_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
488 "max-grow-copy-bb-insns",
16
kono
parents: 14
diff changeset
489 "The maximum expansion factor when copying basic blocks.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
490 8, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
491
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
492 /* The maximum number of insns to duplicate when unfactoring computed gotos. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
493 DEFPARAM(PARAM_MAX_GOTO_DUPLICATION_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
494 "max-goto-duplication-insns",
16
kono
parents: 14
diff changeset
495 "The maximum number of insns to duplicate when unfactoring computed gotos.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
496 8, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
497
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
498 /* The maximum length of path considered in cse. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
499 DEFPARAM(PARAM_MAX_CSE_PATH_LENGTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
500 "max-cse-path-length",
16
kono
parents: 14
diff changeset
501 "The maximum length of path considered in cse.",
kono
parents: 14
diff changeset
502 10, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
503 DEFPARAM(PARAM_MAX_CSE_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
504 "max-cse-insns",
16
kono
parents: 14
diff changeset
505 "The maximum instructions CSE process before flushing.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
506 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
507
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
508 /* The cost of expression in loop invariant motion that is considered
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
509 expensive. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
510 DEFPARAM(PARAM_LIM_EXPENSIVE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
511 "lim-expensive",
16
kono
parents: 14
diff changeset
512 "The minimum cost of an expensive expression in the loop invariant motion.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
513 20, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
514
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
515 /* Bound on number of candidates for induction variables below that
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
516 all candidates are considered for each use in induction variable
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
517 optimizations. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
518
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
519 DEFPARAM(PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
520 "iv-consider-all-candidates-bound",
16
kono
parents: 14
diff changeset
521 "Bound on number of candidates below that all candidates are considered in iv optimizations.",
kono
parents: 14
diff changeset
522 40, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
523
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
524 /* The induction variable optimizations give up on loops that contain more
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
525 induction variable uses. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
526
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
527 DEFPARAM(PARAM_IV_MAX_CONSIDERED_USES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
528 "iv-max-considered-uses",
16
kono
parents: 14
diff changeset
529 "Bound on number of iv uses in loop optimized in iv optimizations.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
530 250, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
531
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
532 /* If there are at most this number of ivs in the set, try removing unnecessary
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
533 ivs from the set always. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
534
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
535 DEFPARAM(PARAM_IV_ALWAYS_PRUNE_CAND_SET_BOUND,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
536 "iv-always-prune-cand-set-bound",
16
kono
parents: 14
diff changeset
537 "If number of candidates in the set is smaller, we always try to remove unused ivs during its optimization.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
538 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
539
16
kono
parents: 14
diff changeset
540 DEFPARAM(PARAM_AVG_LOOP_NITER,
kono
parents: 14
diff changeset
541 "avg-loop-niter",
kono
parents: 14
diff changeset
542 "Average number of iterations of a loop.",
kono
parents: 14
diff changeset
543 10, 1, 0)
kono
parents: 14
diff changeset
544
kono
parents: 14
diff changeset
545 DEFPARAM(PARAM_DSE_MAX_OBJECT_SIZE,
kono
parents: 14
diff changeset
546 "dse-max-object-size",
kono
parents: 14
diff changeset
547 "Maximum size (in bytes) of objects tracked bytewise by dead store elimination.",
kono
parents: 14
diff changeset
548 256, 0, 0)
kono
parents: 14
diff changeset
549
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
550 DEFPARAM(PARAM_SCEV_MAX_EXPR_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
551 "scev-max-expr-size",
16
kono
parents: 14
diff changeset
552 "Bound on size of expressions used in the scalar evolutions analyzer.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
553 100, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
554
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
555 DEFPARAM(PARAM_SCEV_MAX_EXPR_COMPLEXITY,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
556 "scev-max-expr-complexity",
16
kono
parents: 14
diff changeset
557 "Bound on the complexity of the expressions in the scalar evolutions analyzer.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
558 10, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
559
16
kono
parents: 14
diff changeset
560 DEFPARAM (PARAM_MAX_TREE_IF_CONVERSION_PHI_ARGS,
kono
parents: 14
diff changeset
561 "max-tree-if-conversion-phi-args",
kono
parents: 14
diff changeset
562 "Maximum number of arguments in a PHI supported by TREE if-conversion "
kono
parents: 14
diff changeset
563 "unless the loop is marked with simd pragma.",
kono
parents: 14
diff changeset
564 4, 2, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
565
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
566 DEFPARAM(PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
567 "vect-max-version-for-alignment-checks",
16
kono
parents: 14
diff changeset
568 "Bound on number of runtime checks inserted by the vectorizer's loop versioning for alignment check.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
569 6, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
570
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
571 DEFPARAM(PARAM_VECT_MAX_VERSION_FOR_ALIAS_CHECKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
572 "vect-max-version-for-alias-checks",
16
kono
parents: 14
diff changeset
573 "Bound on number of runtime checks inserted by the vectorizer's loop versioning for alias check.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
574 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
575
16
kono
parents: 14
diff changeset
576 DEFPARAM(PARAM_VECT_MAX_PEELING_FOR_ALIGNMENT,
kono
parents: 14
diff changeset
577 "vect-max-peeling-for-alignment",
kono
parents: 14
diff changeset
578 "Maximum number of loop peels to enhance alignment of data references in a loop.",
kono
parents: 14
diff changeset
579 -1, -1, 64)
kono
parents: 14
diff changeset
580
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
581 DEFPARAM(PARAM_MAX_CSELIB_MEMORY_LOCATIONS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
582 "max-cselib-memory-locations",
16
kono
parents: 14
diff changeset
583 "The maximum memory locations recorded by cselib.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
584 500, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
585
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
586 #ifdef ENABLE_GC_ALWAYS_COLLECT
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
587 # define GGC_MIN_EXPAND_DEFAULT 0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
588 # define GGC_MIN_HEAPSIZE_DEFAULT 0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
589 #else
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
590 # define GGC_MIN_EXPAND_DEFAULT 30
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
591 # define GGC_MIN_HEAPSIZE_DEFAULT 4096
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
592 #endif
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
593
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
594 DEFPARAM(GGC_MIN_EXPAND,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
595 "ggc-min-expand",
16
kono
parents: 14
diff changeset
596 "Minimum heap expansion to trigger garbage collection, as a percentage of the total size of the heap.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
597 GGC_MIN_EXPAND_DEFAULT, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
598
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
599 DEFPARAM(GGC_MIN_HEAPSIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
600 "ggc-min-heapsize",
16
kono
parents: 14
diff changeset
601 "Minimum heap size before we start collecting garbage, in kilobytes.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
602 GGC_MIN_HEAPSIZE_DEFAULT, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
603
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
604 #undef GGC_MIN_EXPAND_DEFAULT
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
605 #undef GGC_MIN_HEAPSIZE_DEFAULT
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
606
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
607 DEFPARAM(PARAM_MAX_RELOAD_SEARCH_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
608 "max-reload-search-insns",
16
kono
parents: 14
diff changeset
609 "The maximum number of instructions to search backward when looking for equivalent reload.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
610 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
611
16
kono
parents: 14
diff changeset
612 DEFPARAM(PARAM_SINK_FREQUENCY_THRESHOLD,
kono
parents: 14
diff changeset
613 "sink-frequency-threshold",
kono
parents: 14
diff changeset
614 "Target block's relative execution frequency (as a percentage) required to sink a statement.",
kono
parents: 14
diff changeset
615 75, 0, 100)
kono
parents: 14
diff changeset
616
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
617 DEFPARAM(PARAM_MAX_SCHED_REGION_BLOCKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
618 "max-sched-region-blocks",
16
kono
parents: 14
diff changeset
619 "The maximum number of blocks in a region to be considered for interblock scheduling.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
620 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
621
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
622 DEFPARAM(PARAM_MAX_SCHED_REGION_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
623 "max-sched-region-insns",
16
kono
parents: 14
diff changeset
624 "The maximum number of insns in a region to be considered for interblock scheduling.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
625 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
626
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
627 DEFPARAM(PARAM_MAX_PIPELINE_REGION_BLOCKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
628 "max-pipeline-region-blocks",
16
kono
parents: 14
diff changeset
629 "The maximum number of blocks in a region to be considered for interblock scheduling.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
630 15, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
631
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
632 DEFPARAM(PARAM_MAX_PIPELINE_REGION_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
633 "max-pipeline-region-insns",
16
kono
parents: 14
diff changeset
634 "The maximum number of insns in a region to be considered for interblock scheduling.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
635 200, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
636
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
637 DEFPARAM(PARAM_MIN_SPEC_PROB,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
638 "min-spec-prob",
16
kono
parents: 14
diff changeset
639 "The minimum probability of reaching a source block for interblock speculative scheduling.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
640 40, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
641
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
642 DEFPARAM(PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
643 "max-sched-extend-regions-iters",
16
kono
parents: 14
diff changeset
644 "The maximum number of iterations through CFG to extend regions.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
645 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
646
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
647 DEFPARAM(PARAM_MAX_SCHED_INSN_CONFLICT_DELAY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
648 "max-sched-insn-conflict-delay",
16
kono
parents: 14
diff changeset
649 "The maximum conflict delay for an insn to be considered for speculative motion.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
650 3, 1, 10)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
651
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
652 DEFPARAM(PARAM_SCHED_SPEC_PROB_CUTOFF,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
653 "sched-spec-prob-cutoff",
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
654 "The minimal probability of speculation success (in percents), so that speculative insn will be scheduled.",
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
655 40, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
656
16
kono
parents: 14
diff changeset
657 DEFPARAM(PARAM_SCHED_STATE_EDGE_PROB_CUTOFF,
kono
parents: 14
diff changeset
658 "sched-state-edge-prob-cutoff",
kono
parents: 14
diff changeset
659 "The minimum probability an edge must have for the scheduler to save its state across it.",
kono
parents: 14
diff changeset
660 10, 0, 100)
kono
parents: 14
diff changeset
661
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
662 DEFPARAM(PARAM_SELSCHED_MAX_LOOKAHEAD,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
663 "selsched-max-lookahead",
16
kono
parents: 14
diff changeset
664 "The maximum size of the lookahead window of selective scheduling.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
665 50, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
666
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
667 DEFPARAM(PARAM_SELSCHED_MAX_SCHED_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
668 "selsched-max-sched-times",
16
kono
parents: 14
diff changeset
669 "Maximum number of times that an insn could be scheduled.",
kono
parents: 14
diff changeset
670 2, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
671
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
672 DEFPARAM(PARAM_SELSCHED_INSNS_TO_RENAME,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
673 "selsched-insns-to-rename",
16
kono
parents: 14
diff changeset
674 "Maximum number of instructions in the ready list that are considered eligible for renaming.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
675 2, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
676
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
677 DEFPARAM (PARAM_SCHED_MEM_TRUE_DEP_COST,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
678 "sched-mem-true-dep-cost",
16
kono
parents: 14
diff changeset
679 "Minimal distance between possibly conflicting store and load.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
680 1, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
681
16
kono
parents: 14
diff changeset
682 DEFPARAM (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH,
kono
parents: 14
diff changeset
683 "sched-autopref-queue-depth",
kono
parents: 14
diff changeset
684 "Hardware autoprefetcher scheduler model control flag. Number of lookahead cycles the model looks into; at '0' only enable instruction sorting heuristic. Disabled by default.",
kono
parents: 14
diff changeset
685 -1, 0, 0)
kono
parents: 14
diff changeset
686
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
687 DEFPARAM(PARAM_MAX_LAST_VALUE_RTL,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
688 "max-last-value-rtl",
16
kono
parents: 14
diff changeset
689 "The maximum number of RTL nodes that can be recorded as combiner's last value.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
690 10000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
691
16
kono
parents: 14
diff changeset
692 DEFPARAM(PARAM_MAX_COMBINE_INSNS,
kono
parents: 14
diff changeset
693 "max-combine-insns",
kono
parents: 14
diff changeset
694 "The maximum number of insns combine tries to combine.",
kono
parents: 14
diff changeset
695 4, 2, 4)
kono
parents: 14
diff changeset
696
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
697 /* INTEGER_CST nodes are shared for values [{-1,0} .. N) for
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
698 {signed,unsigned} integral types. This determines N.
16
kono
parents: 14
diff changeset
699 Experimentation shows 251 to be a good value that generates the
kono
parents: 14
diff changeset
700 least amount of garbage for allocating the TREE_VEC storage. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
701 DEFPARAM (PARAM_INTEGER_SHARE_LIMIT,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
702 "integer-share-limit",
16
kono
parents: 14
diff changeset
703 "The upper bound for sharing integer constants.",
kono
parents: 14
diff changeset
704 251, 2, 2)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
705
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
706 DEFPARAM (PARAM_SSP_BUFFER_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
707 "ssp-buffer-size",
16
kono
parents: 14
diff changeset
708 "The lower bound for a buffer to be considered for stack smashing protection.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
709 8, 1, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
710
16
kono
parents: 14
diff changeset
711 DEFPARAM (PARAM_MIN_SIZE_FOR_STACK_SHARING,
kono
parents: 14
diff changeset
712 "min-size-for-stack-sharing",
kono
parents: 14
diff changeset
713 "The minimum size of variables taking part in stack slot sharing "
kono
parents: 14
diff changeset
714 "when not optimizing.",
kono
parents: 14
diff changeset
715 32, 0, 0)
kono
parents: 14
diff changeset
716
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
717 /* When we thread through a block we have to make copies of the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
718 statements within the block. Clearly for large blocks the code
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
719 duplication is bad.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
720
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
721 PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS specifies the maximum number
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
722 of statements and PHI nodes allowed in a block which is going to
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
723 be duplicated for thread jumping purposes.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
724
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
725 Some simple analysis showed that more than 99% of the jump
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
726 threading opportunities are for blocks with less than 15
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
727 statements. So we can get the benefits of jump threading
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
728 without excessive code bloat for pathological cases with the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
729 throttle set at 15 statements. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
730 DEFPARAM (PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
731 "max-jump-thread-duplication-stmts",
16
kono
parents: 14
diff changeset
732 "Maximum number of statements allowed in a block that needs to be duplicated when threading jumps.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
733 15, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
734
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
735 /* This is the maximum number of fields a variable may have before the pointer analysis machinery
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
736 will stop trying to treat it in a field-sensitive manner.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
737 There are programs out there with thousands of fields per structure, and handling them
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
738 field-sensitively is not worth the cost. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
739 DEFPARAM (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
740 "max-fields-for-field-sensitive",
16
kono
parents: 14
diff changeset
741 "Maximum number of fields in a structure before pointer analysis treats the structure as a single variable.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
742 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
743
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
744 DEFPARAM(PARAM_MAX_SCHED_READY_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
745 "max-sched-ready-insns",
16
kono
parents: 14
diff changeset
746 "The maximum number of instructions ready to be issued to be considered by the scheduler during the first scheduling pass.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
747 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
748
16
kono
parents: 14
diff changeset
749 /* This is the maximum number of active local stores RTL DSE will consider. */
kono
parents: 14
diff changeset
750 DEFPARAM (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES,
kono
parents: 14
diff changeset
751 "max-dse-active-local-stores",
kono
parents: 14
diff changeset
752 "Maximum number of active local stores in RTL dead store elimination.",
kono
parents: 14
diff changeset
753 5000, 0, 0)
kono
parents: 14
diff changeset
754
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
755 /* Prefetching and cache-optimizations related parameters. Default values are
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
756 usually set by machine description. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
757
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
758 /* The number of insns executed before prefetch is completed. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
759
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
760 DEFPARAM (PARAM_PREFETCH_LATENCY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
761 "prefetch-latency",
16
kono
parents: 14
diff changeset
762 "The number of insns executed before prefetch is completed.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
763 200, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
764
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
765 /* The number of prefetches that can run at the same time. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
766
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
767 DEFPARAM (PARAM_SIMULTANEOUS_PREFETCHES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
768 "simultaneous-prefetches",
16
kono
parents: 14
diff changeset
769 "The number of prefetches that can run at the same time.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
770 3, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
771
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
772 /* The size of L1 cache in kB. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
773
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
774 DEFPARAM (PARAM_L1_CACHE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
775 "l1-cache-size",
16
kono
parents: 14
diff changeset
776 "The size of L1 cache.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
777 64, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
778
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
779 /* The size of L1 cache line in bytes. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
780
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
781 DEFPARAM (PARAM_L1_CACHE_LINE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
782 "l1-cache-line-size",
16
kono
parents: 14
diff changeset
783 "The size of L1 cache line.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
784 32, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
785
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
786 /* The size of L2 cache in kB. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
787
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
788 DEFPARAM (PARAM_L2_CACHE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
789 "l2-cache-size",
16
kono
parents: 14
diff changeset
790 "The size of L2 cache.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
791 512, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
792
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
793 /* Whether we should use canonical types rather than deep "structural"
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
794 type checking. Setting this value to 1 (the default) improves
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
795 compilation performance in the C++ and Objective-C++ front end;
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
796 this value should only be set to zero to work around bugs in the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
797 canonical type system by disabling it. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
798
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
799 DEFPARAM (PARAM_USE_CANONICAL_TYPES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
800 "use-canonical-types",
16
kono
parents: 14
diff changeset
801 "Whether to use canonical types.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
802 1, 0, 1)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
803
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
804 DEFPARAM (PARAM_MAX_PARTIAL_ANTIC_LENGTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
805 "max-partial-antic-length",
16
kono
parents: 14
diff changeset
806 "Maximum length of partial antic set when performing tree pre optimization.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
807 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
808
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
809 /* The following is used as a stop-gap limit for cases where really huge
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
810 SCCs blow up memory and compile-time use too much. If we hit this limit,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
811 SCCVN and such FRE and PRE will be not done at all for the current
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
812 function. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
813
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
814 DEFPARAM (PARAM_SCCVN_MAX_SCC_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
815 "sccvn-max-scc-size",
16
kono
parents: 14
diff changeset
816 "Maximum size of a SCC before SCCVN stops processing a function.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
817 10000, 10, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
818
16
kono
parents: 14
diff changeset
819 /* The following is used as a stop-gap limit for cases where really huge
kono
parents: 14
diff changeset
820 functions blow up compile-time use too much. It limits the number of
kono
parents: 14
diff changeset
821 alias-queries we do for finding common subexpressions for memory loads and
kono
parents: 14
diff changeset
822 stores. The number of alias-queries is otherwise limited by the number of
kono
parents: 14
diff changeset
823 stores on paths to function entry. */
kono
parents: 14
diff changeset
824
kono
parents: 14
diff changeset
825 DEFPARAM (PARAM_SCCVN_MAX_ALIAS_QUERIES_PER_ACCESS,
kono
parents: 14
diff changeset
826 "sccvn-max-alias-queries-per-access",
kono
parents: 14
diff changeset
827 "Maximum number of disambiguations to perform per memory access.",
kono
parents: 14
diff changeset
828 1000, 0, 0)
kono
parents: 14
diff changeset
829
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
830 DEFPARAM (PARAM_IRA_MAX_LOOPS_NUM,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
831 "ira-max-loops-num",
16
kono
parents: 14
diff changeset
832 "Max loops number for regional RA.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
833 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
834
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
835 DEFPARAM (PARAM_IRA_MAX_CONFLICT_TABLE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
836 "ira-max-conflict-table-size",
16
kono
parents: 14
diff changeset
837 "Max size of conflict table in MB.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
838 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
839
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
840 DEFPARAM (PARAM_IRA_LOOP_RESERVED_REGS,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
841 "ira-loop-reserved-regs",
16
kono
parents: 14
diff changeset
842 "The number of registers in each class kept unused by loop invariant motion.",
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
843 2, 0, 0)
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
844
16
kono
parents: 14
diff changeset
845 DEFPARAM (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS,
kono
parents: 14
diff changeset
846 "lra-max-considered-reload-pseudos",
kono
parents: 14
diff changeset
847 "The max number of reload pseudos which are considered during spilling a non-reload pseudo.",
kono
parents: 14
diff changeset
848 500, 0, 0)
kono
parents: 14
diff changeset
849
kono
parents: 14
diff changeset
850 DEFPARAM (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF,
kono
parents: 14
diff changeset
851 "lra-inheritance-ebb-probability-cutoff",
kono
parents: 14
diff changeset
852 "Minimal fall-through edge probability in percentage used to add BB to inheritance EBB in LRA.",
kono
parents: 14
diff changeset
853 40, 0, 100)
kono
parents: 14
diff changeset
854
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
855 /* Switch initialization conversion will refuse to create arrays that are
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
856 bigger than this parameter times the number of switch branches. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
857
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
858 DEFPARAM (PARAM_SWITCH_CONVERSION_BRANCH_RATIO,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
859 "switch-conversion-max-branch-ratio",
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
860 "The maximum ratio between array size and switch branches for "
16
kono
parents: 14
diff changeset
861 "a switch conversion to take place.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
862 8, 1, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
863
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
864 /* Size of tiles when doing loop blocking. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
865
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
866 DEFPARAM (PARAM_LOOP_BLOCK_TILE_SIZE,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
867 "loop-block-tile-size",
16
kono
parents: 14
diff changeset
868 "size of tiles for loop blocking.",
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
869 51, 0, 0)
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
870
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
871 /* Maximal number of parameters that we allow in a SCoP. */
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
872
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
873 DEFPARAM (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS,
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
874 "graphite-max-nb-scop-params",
16
kono
parents: 14
diff changeset
875 "maximum number of parameters in a SCoP.",
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
876 10, 0, 0)
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
877
16
kono
parents: 14
diff changeset
878 /* Maximal number of array references in a scop. */
kono
parents: 14
diff changeset
879
kono
parents: 14
diff changeset
880 DEFPARAM (PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP,
kono
parents: 14
diff changeset
881 "graphite-max-arrays-per-scop",
kono
parents: 14
diff changeset
882 "maximum number of arrays per scop.",
kono
parents: 14
diff changeset
883 100, 0, 0)
kono
parents: 14
diff changeset
884
kono
parents: 14
diff changeset
885 DEFPARAM (PARAM_MAX_ISL_OPERATIONS,
kono
parents: 14
diff changeset
886 "max-isl-operations",
kono
parents: 14
diff changeset
887 "maximum number of isl operations, 0 means unlimited",
kono
parents: 14
diff changeset
888 350000, 0, 0)
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
889
16
kono
parents: 14
diff changeset
890 /* For testsuite purposes allow to check for codegen error handling. */
kono
parents: 14
diff changeset
891 DEFPARAM (PARAM_GRAPHITE_ALLOW_CODEGEN_ERRORS,
kono
parents: 14
diff changeset
892 "graphite-allow-codegen-errors",
kono
parents: 14
diff changeset
893 "whether codegen errors should be ICEs when -fchecking.",
kono
parents: 14
diff changeset
894 0, 0, 1)
kono
parents: 14
diff changeset
895
kono
parents: 14
diff changeset
896 /* Avoid data dependence analysis on very large loops. */
kono
parents: 14
diff changeset
897 DEFPARAM (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS,
kono
parents: 14
diff changeset
898 "loop-max-datarefs-for-datadeps",
kono
parents: 14
diff changeset
899 "Maximum number of datarefs in loop for building loop data dependencies.",
kono
parents: 14
diff changeset
900 1000, 0, 0)
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
901
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
902 /* Avoid doing loop invariant motion on very large loops. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
903
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
904 DEFPARAM (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
905 "loop-invariant-max-bbs-in-loop",
16
kono
parents: 14
diff changeset
906 "Max basic blocks number in loop for loop invariant motion.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
907 10000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
908
16
kono
parents: 14
diff changeset
909 /* When the parameter is 1, use the internal function id
kono
parents: 14
diff changeset
910 to look up for profile data. Otherwise, use a more stable
kono
parents: 14
diff changeset
911 external id based on assembler name and source location. */
kono
parents: 14
diff changeset
912 DEFPARAM (PARAM_PROFILE_FUNC_INTERNAL_ID,
kono
parents: 14
diff changeset
913 "profile-func-internal-id",
kono
parents: 14
diff changeset
914 "use internal function id in profile lookup.",
kono
parents: 14
diff changeset
915 0, 0, 1)
kono
parents: 14
diff changeset
916
kono
parents: 14
diff changeset
917 /* When the parameter is 1, track the most frequent N target
kono
parents: 14
diff changeset
918 addresses in indirect-call profile. This disables
kono
parents: 14
diff changeset
919 indirect_call_profiler_v2 which tracks single target. */
kono
parents: 14
diff changeset
920 DEFPARAM (PARAM_INDIR_CALL_TOPN_PROFILE,
kono
parents: 14
diff changeset
921 "indir-call-topn-profile",
kono
parents: 14
diff changeset
922 "track topn target addresses in indirect-call profile.",
kono
parents: 14
diff changeset
923 0, 0, 1)
kono
parents: 14
diff changeset
924
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
925 /* Avoid SLP vectorization of large basic blocks. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
926 DEFPARAM (PARAM_SLP_MAX_INSNS_IN_BB,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
927 "slp-max-insns-in-bb",
16
kono
parents: 14
diff changeset
928 "Maximum number of instructions in basic block to be considered for SLP vectorization.",
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
929 1000, 0, 0)
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
930
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
931 DEFPARAM (PARAM_MIN_INSN_TO_PREFETCH_RATIO,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
932 "min-insn-to-prefetch-ratio",
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
933 "Min. ratio of insns to prefetches to enable prefetching for "
16
kono
parents: 14
diff changeset
934 "a loop with an unknown trip count.",
kono
parents: 14
diff changeset
935 9, 0, 0)
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
936
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
937 DEFPARAM (PARAM_PREFETCH_MIN_INSN_TO_MEM_RATIO,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
938 "prefetch-min-insn-to-mem-ratio",
16
kono
parents: 14
diff changeset
939 "Min. ratio of insns to mem ops to enable prefetching in a loop.",
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
940 3, 0, 0)
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
941
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
942 /* Set maximum hash table size for var tracking. */
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
943
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
944 DEFPARAM (PARAM_MAX_VARTRACK_SIZE,
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
945 "max-vartrack-size",
16
kono
parents: 14
diff changeset
946 "Max. size of var tracking hash tables.",
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
947 50000000, 0, 0)
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
948
16
kono
parents: 14
diff changeset
949 /* Set maximum recursion depth for var tracking expression expansion
kono
parents: 14
diff changeset
950 and resolution. */
kono
parents: 14
diff changeset
951
kono
parents: 14
diff changeset
952 DEFPARAM (PARAM_MAX_VARTRACK_EXPR_DEPTH,
kono
parents: 14
diff changeset
953 "max-vartrack-expr-depth",
kono
parents: 14
diff changeset
954 "Max. recursion depth for expanding var tracking expressions.",
kono
parents: 14
diff changeset
955 12, 0, 0)
kono
parents: 14
diff changeset
956
kono
parents: 14
diff changeset
957 /* Set maximum length of value location list for which var tracking
kono
parents: 14
diff changeset
958 should add reverse operations. */
kono
parents: 14
diff changeset
959
kono
parents: 14
diff changeset
960 DEFPARAM (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE,
kono
parents: 14
diff changeset
961 "max-vartrack-reverse-op-size",
kono
parents: 14
diff changeset
962 "Max. size of loc list for which reverse ops should be added.",
kono
parents: 14
diff changeset
963 50, 0, 0)
kono
parents: 14
diff changeset
964
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
965 /* Set minimum insn uid for non-debug insns. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
966
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
967 DEFPARAM (PARAM_MIN_NONDEBUG_INSN_UID,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
968 "min-nondebug-insn-uid",
16
kono
parents: 14
diff changeset
969 "The minimum UID to be used for a nondebug insn.",
kono
parents: 14
diff changeset
970 0, 0, 0)
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
971
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
972 DEFPARAM (PARAM_IPA_SRA_PTR_GROWTH_FACTOR,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
973 "ipa-sra-ptr-growth-factor",
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
974 "Maximum allowed growth of size of new parameters ipa-sra replaces "
16
kono
parents: 14
diff changeset
975 "a pointer to an aggregate with.",
9
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
976 2, 0, 0)
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
977
16
kono
parents: 14
diff changeset
978 DEFPARAM (PARAM_TM_MAX_AGGREGATE_SIZE,
kono
parents: 14
diff changeset
979 "tm-max-aggregate-size",
kono
parents: 14
diff changeset
980 "Size in bytes after which thread-local aggregates should be "
kono
parents: 14
diff changeset
981 "instrumented with the logging functions instead of save/restore "
kono
parents: 14
diff changeset
982 "pairs.",
kono
parents: 14
diff changeset
983 9, 0, 0)
kono
parents: 14
diff changeset
984
kono
parents: 14
diff changeset
985 DEFPARAM (PARAM_SRA_MAX_SCALARIZATION_SIZE_SPEED,
kono
parents: 14
diff changeset
986 "sra-max-scalarization-size-Ospeed",
kono
parents: 14
diff changeset
987 "Maximum size, in storage units, of an aggregate which should be "
kono
parents: 14
diff changeset
988 "considered for scalarization when compiling for speed.",
kono
parents: 14
diff changeset
989 0, 0, 0)
kono
parents: 14
diff changeset
990
kono
parents: 14
diff changeset
991 DEFPARAM (PARAM_SRA_MAX_SCALARIZATION_SIZE_SIZE,
kono
parents: 14
diff changeset
992 "sra-max-scalarization-size-Osize",
kono
parents: 14
diff changeset
993 "Maximum size, in storage units, of an aggregate which should be "
kono
parents: 14
diff changeset
994 "considered for scalarization when compiling for size.",
kono
parents: 14
diff changeset
995 0, 0, 0)
kono
parents: 14
diff changeset
996
kono
parents: 14
diff changeset
997 DEFPARAM (PARAM_IPA_CP_VALUE_LIST_SIZE,
kono
parents: 14
diff changeset
998 "ipa-cp-value-list-size",
kono
parents: 14
diff changeset
999 "Maximum size of a list of values associated with each parameter for "
kono
parents: 14
diff changeset
1000 "interprocedural constant propagation.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1001 8, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1002
16
kono
parents: 14
diff changeset
1003 DEFPARAM (PARAM_IPA_CP_EVAL_THRESHOLD,
kono
parents: 14
diff changeset
1004 "ipa-cp-eval-threshold",
kono
parents: 14
diff changeset
1005 "Threshold ipa-cp opportunity evaluation that is still considered "
kono
parents: 14
diff changeset
1006 "beneficial to clone..",
kono
parents: 14
diff changeset
1007 500, 0, 0)
kono
parents: 14
diff changeset
1008
kono
parents: 14
diff changeset
1009 DEFPARAM (PARAM_IPA_CP_RECURSION_PENALTY,
kono
parents: 14
diff changeset
1010 "ipa-cp-recursion-penalty",
kono
parents: 14
diff changeset
1011 "Percentage penalty the recursive functions will receive when they "
kono
parents: 14
diff changeset
1012 "are evaluated for cloning..",
kono
parents: 14
diff changeset
1013 40, 0, 100)
kono
parents: 14
diff changeset
1014
kono
parents: 14
diff changeset
1015 DEFPARAM (PARAM_IPA_CP_SINGLE_CALL_PENALTY,
kono
parents: 14
diff changeset
1016 "ipa-cp-single-call-penalty",
kono
parents: 14
diff changeset
1017 "Percentage penalty functions containing a single call to another "
kono
parents: 14
diff changeset
1018 "function will receive when they are evaluated for cloning..",
kono
parents: 14
diff changeset
1019 15, 0, 100)
kono
parents: 14
diff changeset
1020
kono
parents: 14
diff changeset
1021 DEFPARAM (PARAM_IPA_MAX_AGG_ITEMS,
kono
parents: 14
diff changeset
1022 "ipa-max-agg-items",
kono
parents: 14
diff changeset
1023 "Maximum number of aggregate content items for a parameter in "
kono
parents: 14
diff changeset
1024 "jump functions and lattices.",
kono
parents: 14
diff changeset
1025 16, 0, 0)
kono
parents: 14
diff changeset
1026
kono
parents: 14
diff changeset
1027 DEFPARAM (PARAM_IPA_CP_LOOP_HINT_BONUS,
kono
parents: 14
diff changeset
1028 "ipa-cp-loop-hint-bonus",
kono
parents: 14
diff changeset
1029 "Compile-time bonus IPA-CP assigns to candidates which make loop "
kono
parents: 14
diff changeset
1030 "bounds or strides known..",
kono
parents: 14
diff changeset
1031 64, 0, 0)
kono
parents: 14
diff changeset
1032
kono
parents: 14
diff changeset
1033 DEFPARAM (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS,
kono
parents: 14
diff changeset
1034 "ipa-cp-array-index-hint-bonus",
kono
parents: 14
diff changeset
1035 "Compile-time bonus IPA-CP assigns to candidates which make an array "
kono
parents: 14
diff changeset
1036 "index known..",
kono
parents: 14
diff changeset
1037 48, 0, 0)
kono
parents: 14
diff changeset
1038
kono
parents: 14
diff changeset
1039 DEFPARAM (PARAM_IPA_MAX_AA_STEPS,
kono
parents: 14
diff changeset
1040 "ipa-max-aa-steps",
kono
parents: 14
diff changeset
1041 "Maximum number of statements that will be visited by IPA formal "
kono
parents: 14
diff changeset
1042 "parameter analysis based on alias analysis in any given function.",
kono
parents: 14
diff changeset
1043 25000, 0, 0)
kono
parents: 14
diff changeset
1044
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1045 /* WHOPR partitioning configuration. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1046
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1047 DEFPARAM (PARAM_LTO_PARTITIONS,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1048 "lto-partitions",
16
kono
parents: 14
diff changeset
1049 "Number of partitions the program should be split to.",
kono
parents: 14
diff changeset
1050 32, 1, 0)
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1051
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1052 DEFPARAM (MIN_PARTITION_SIZE,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1053 "lto-min-partition",
16
kono
parents: 14
diff changeset
1054 "Minimal size of a partition for LTO (in estimated instructions).",
kono
parents: 14
diff changeset
1055 10000, 0, 0)
kono
parents: 14
diff changeset
1056
kono
parents: 14
diff changeset
1057 DEFPARAM (MAX_PARTITION_SIZE,
kono
parents: 14
diff changeset
1058 "lto-max-partition",
kono
parents: 14
diff changeset
1059 "Maximal size of a partition for LTO (in estimated instructions).",
kono
parents: 14
diff changeset
1060 1000000, 0, INT_MAX)
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1061
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1062 /* Diagnostic parameters. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1063
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1064 DEFPARAM (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1065 "cxx-max-namespaces-for-diagnostic-help",
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1066 "Maximum number of namespaces to search for alternatives when "
16
kono
parents: 14
diff changeset
1067 "name lookup fails.",
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1068 1000, 0, 0)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
1069
16
kono
parents: 14
diff changeset
1070 /* Maximum number of conditional store pairs that can be sunk. */
kono
parents: 14
diff changeset
1071 DEFPARAM (PARAM_MAX_STORES_TO_SINK,
kono
parents: 14
diff changeset
1072 "max-stores-to-sink",
kono
parents: 14
diff changeset
1073 "Maximum number of conditional store pairs that can be sunk.",
kono
parents: 14
diff changeset
1074 2, 0, 0)
kono
parents: 14
diff changeset
1075
kono
parents: 14
diff changeset
1076 /* Override CASE_VALUES_THRESHOLD of when to switch from doing switch
kono
parents: 14
diff changeset
1077 statements via if statements to using a table jump operation. If the value
kono
parents: 14
diff changeset
1078 is 0, the default CASE_VALUES_THRESHOLD will be used. */
kono
parents: 14
diff changeset
1079 DEFPARAM (PARAM_CASE_VALUES_THRESHOLD,
kono
parents: 14
diff changeset
1080 "case-values-threshold",
kono
parents: 14
diff changeset
1081 "The smallest number of different values for which it is best to "
kono
parents: 14
diff changeset
1082 "use a jump-table instead of a tree of conditional branches, "
kono
parents: 14
diff changeset
1083 "if 0, use the default for the machine.",
kono
parents: 14
diff changeset
1084 0, 0, 0)
kono
parents: 14
diff changeset
1085
kono
parents: 14
diff changeset
1086 /* Data race flags for C++0x memory model compliance. */
kono
parents: 14
diff changeset
1087 DEFPARAM (PARAM_ALLOW_STORE_DATA_RACES,
kono
parents: 14
diff changeset
1088 "allow-store-data-races",
kono
parents: 14
diff changeset
1089 "Allow new data races on stores to be introduced.",
kono
parents: 14
diff changeset
1090 0, 0, 1)
kono
parents: 14
diff changeset
1091
kono
parents: 14
diff changeset
1092 /* Reassociation width to be used by tree reassoc optimization. */
kono
parents: 14
diff changeset
1093 DEFPARAM (PARAM_TREE_REASSOC_WIDTH,
kono
parents: 14
diff changeset
1094 "tree-reassoc-width",
kono
parents: 14
diff changeset
1095 "Set the maximum number of instructions executed in parallel in "
kono
parents: 14
diff changeset
1096 "reassociated tree. If 0, use the target dependent heuristic..",
kono
parents: 14
diff changeset
1097 0, 0, 0)
kono
parents: 14
diff changeset
1098
kono
parents: 14
diff changeset
1099 DEFPARAM (PARAM_MAX_TAIL_MERGE_COMPARISONS,
kono
parents: 14
diff changeset
1100 "max-tail-merge-comparisons",
kono
parents: 14
diff changeset
1101 "Maximum amount of similar bbs to compare a bb with.",
kono
parents: 14
diff changeset
1102 10, 0, 0)
kono
parents: 14
diff changeset
1103
kono
parents: 14
diff changeset
1104 DEFPARAM (PARAM_STORE_MERGING_ALLOW_UNALIGNED,
kono
parents: 14
diff changeset
1105 "store-merging-allow-unaligned",
kono
parents: 14
diff changeset
1106 "Allow the store merging pass to introduce unaligned stores "
kono
parents: 14
diff changeset
1107 "if it is legal to do so.",
kono
parents: 14
diff changeset
1108 1, 0, 1)
kono
parents: 14
diff changeset
1109
kono
parents: 14
diff changeset
1110 DEFPARAM (PARAM_MAX_STORES_TO_MERGE,
kono
parents: 14
diff changeset
1111 "max-stores-to-merge",
kono
parents: 14
diff changeset
1112 "Maximum number of constant stores to merge in the "
kono
parents: 14
diff changeset
1113 "store merging pass.",
kono
parents: 14
diff changeset
1114 64, 2, 0)
kono
parents: 14
diff changeset
1115
kono
parents: 14
diff changeset
1116 DEFPARAM (PARAM_MAX_TAIL_MERGE_ITERATIONS,
kono
parents: 14
diff changeset
1117 "max-tail-merge-iterations",
kono
parents: 14
diff changeset
1118 "Maximum amount of iterations of the pass over a function.",
kono
parents: 14
diff changeset
1119 2, 0, 0)
kono
parents: 14
diff changeset
1120
kono
parents: 14
diff changeset
1121 /* Maximum number of strings for which strlen optimization pass will
kono
parents: 14
diff changeset
1122 track string lenths. */
kono
parents: 14
diff changeset
1123 DEFPARAM (PARAM_MAX_TRACKED_STRLENS,
kono
parents: 14
diff changeset
1124 "max-tracked-strlens",
kono
parents: 14
diff changeset
1125 "Maximum number of strings for which strlen optimization pass will "
kono
parents: 14
diff changeset
1126 "track string lengths.",
kono
parents: 14
diff changeset
1127 10000, 0, 0)
kono
parents: 14
diff changeset
1128
kono
parents: 14
diff changeset
1129 /* Keep this in sync with the sched_pressure_algorithm enum. */
kono
parents: 14
diff changeset
1130 DEFPARAM (PARAM_SCHED_PRESSURE_ALGORITHM,
kono
parents: 14
diff changeset
1131 "sched-pressure-algorithm",
kono
parents: 14
diff changeset
1132 "Which -fsched-pressure algorithm to apply.",
kono
parents: 14
diff changeset
1133 1, 1, 2)
kono
parents: 14
diff changeset
1134
kono
parents: 14
diff changeset
1135 /* Maximum length of candidate scans in straight-line strength reduction. */
kono
parents: 14
diff changeset
1136 DEFPARAM (PARAM_MAX_SLSR_CANDIDATE_SCAN,
kono
parents: 14
diff changeset
1137 "max-slsr-cand-scan",
kono
parents: 14
diff changeset
1138 "Maximum length of candidate scans for straight-line "
kono
parents: 14
diff changeset
1139 "strength reduction.",
kono
parents: 14
diff changeset
1140 50, 1, 999999)
kono
parents: 14
diff changeset
1141
kono
parents: 14
diff changeset
1142 DEFPARAM (PARAM_ASAN_STACK,
kono
parents: 14
diff changeset
1143 "asan-stack",
kono
parents: 14
diff changeset
1144 "Enable asan stack protection.",
kono
parents: 14
diff changeset
1145 1, 0, 1)
kono
parents: 14
diff changeset
1146
kono
parents: 14
diff changeset
1147 DEFPARAM (PARAM_ASAN_PROTECT_ALLOCAS,
kono
parents: 14
diff changeset
1148 "asan-instrument-allocas",
kono
parents: 14
diff changeset
1149 "Enable asan allocas/VLAs protection.",
kono
parents: 14
diff changeset
1150 1, 0, 1)
kono
parents: 14
diff changeset
1151
kono
parents: 14
diff changeset
1152 DEFPARAM (PARAM_ASAN_GLOBALS,
kono
parents: 14
diff changeset
1153 "asan-globals",
kono
parents: 14
diff changeset
1154 "Enable asan globals protection.",
kono
parents: 14
diff changeset
1155 1, 0, 1)
kono
parents: 14
diff changeset
1156
kono
parents: 14
diff changeset
1157 DEFPARAM (PARAM_ASAN_INSTRUMENT_WRITES,
kono
parents: 14
diff changeset
1158 "asan-instrument-writes",
kono
parents: 14
diff changeset
1159 "Enable asan store operations protection.",
kono
parents: 14
diff changeset
1160 1, 0, 1)
kono
parents: 14
diff changeset
1161
kono
parents: 14
diff changeset
1162 DEFPARAM (PARAM_ASAN_INSTRUMENT_READS,
kono
parents: 14
diff changeset
1163 "asan-instrument-reads",
kono
parents: 14
diff changeset
1164 "Enable asan load operations protection.",
kono
parents: 14
diff changeset
1165 1, 0, 1)
kono
parents: 14
diff changeset
1166
kono
parents: 14
diff changeset
1167 DEFPARAM (PARAM_ASAN_MEMINTRIN,
kono
parents: 14
diff changeset
1168 "asan-memintrin",
kono
parents: 14
diff changeset
1169 "Enable asan builtin functions protection.",
kono
parents: 14
diff changeset
1170 1, 0, 1)
kono
parents: 14
diff changeset
1171
kono
parents: 14
diff changeset
1172 DEFPARAM (PARAM_ASAN_USE_AFTER_RETURN,
kono
parents: 14
diff changeset
1173 "asan-use-after-return",
kono
parents: 14
diff changeset
1174 "Enable asan detection of use-after-return bugs.",
kono
parents: 14
diff changeset
1175 1, 0, 1)
kono
parents: 14
diff changeset
1176
kono
parents: 14
diff changeset
1177 DEFPARAM (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD,
kono
parents: 14
diff changeset
1178 "asan-instrumentation-with-call-threshold",
kono
parents: 14
diff changeset
1179 "Use callbacks instead of inline code if number of accesses "
kono
parents: 14
diff changeset
1180 "in function becomes greater or equal to this number.",
kono
parents: 14
diff changeset
1181 7000, 0, INT_MAX)
kono
parents: 14
diff changeset
1182
kono
parents: 14
diff changeset
1183 DEFPARAM (PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD,
kono
parents: 14
diff changeset
1184 "use-after-scope-direct-emission-threshold",
kono
parents: 14
diff changeset
1185 "Use direct poisoning/unpoisoning instructions for variables "
kono
parents: 14
diff changeset
1186 "smaller or equal to this number.",
kono
parents: 14
diff changeset
1187 256, 0, INT_MAX)
kono
parents: 14
diff changeset
1188
kono
parents: 14
diff changeset
1189 DEFPARAM (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS,
kono
parents: 14
diff changeset
1190 "uninit-control-dep-attempts",
kono
parents: 14
diff changeset
1191 "Maximum number of nested calls to search for control dependencies "
kono
parents: 14
diff changeset
1192 "during uninitialized variable analysis.",
kono
parents: 14
diff changeset
1193 1000, 1, 0)
kono
parents: 14
diff changeset
1194
kono
parents: 14
diff changeset
1195 DEFPARAM (PARAM_CHKP_MAX_CTOR_SIZE,
kono
parents: 14
diff changeset
1196 "chkp-max-ctor-size",
kono
parents: 14
diff changeset
1197 "Maximum number of statements to be included into a single static "
kono
parents: 14
diff changeset
1198 "constructor generated by Pointer Bounds Checker.",
kono
parents: 14
diff changeset
1199 5000, 100, 0)
kono
parents: 14
diff changeset
1200
kono
parents: 14
diff changeset
1201 DEFPARAM (PARAM_FSM_SCALE_PATH_STMTS,
kono
parents: 14
diff changeset
1202 "fsm-scale-path-stmts",
kono
parents: 14
diff changeset
1203 "Scale factor to apply to the number of statements in a threading path when comparing to the number of (scaled) blocks.",
kono
parents: 14
diff changeset
1204 2, 1, 10)
kono
parents: 14
diff changeset
1205
kono
parents: 14
diff changeset
1206 DEFPARAM (PARAM_FSM_MAXIMUM_PHI_ARGUMENTS,
kono
parents: 14
diff changeset
1207 "fsm-maximum-phi-arguments",
kono
parents: 14
diff changeset
1208 "Maximum number of arguments a PHI may have before the FSM threader will not try to thread through its block.",
kono
parents: 14
diff changeset
1209 100, 1, 999999)
kono
parents: 14
diff changeset
1210
kono
parents: 14
diff changeset
1211 DEFPARAM (PARAM_FSM_SCALE_PATH_BLOCKS,
kono
parents: 14
diff changeset
1212 "fsm-scale-path-blocks",
kono
parents: 14
diff changeset
1213 "Scale factor to apply to the number of blocks in a threading path when comparing to the number of (scaled) statements.",
kono
parents: 14
diff changeset
1214 3, 1, 10)
kono
parents: 14
diff changeset
1215
kono
parents: 14
diff changeset
1216 DEFPARAM (PARAM_MAX_FSM_THREAD_PATH_INSNS,
kono
parents: 14
diff changeset
1217 "max-fsm-thread-path-insns",
kono
parents: 14
diff changeset
1218 "Maximum number of instructions to copy when duplicating blocks on a finite state automaton jump thread path.",
kono
parents: 14
diff changeset
1219 100, 1, 999999)
kono
parents: 14
diff changeset
1220
kono
parents: 14
diff changeset
1221 DEFPARAM (PARAM_MAX_FSM_THREAD_LENGTH,
kono
parents: 14
diff changeset
1222 "max-fsm-thread-length",
kono
parents: 14
diff changeset
1223 "Maximum number of basic blocks on a finite state automaton jump thread path.",
kono
parents: 14
diff changeset
1224 10, 1, 999999)
kono
parents: 14
diff changeset
1225
kono
parents: 14
diff changeset
1226 DEFPARAM (PARAM_MAX_FSM_THREAD_PATHS,
kono
parents: 14
diff changeset
1227 "max-fsm-thread-paths",
kono
parents: 14
diff changeset
1228 "Maximum number of new jump thread paths to create for a finite state automaton.",
kono
parents: 14
diff changeset
1229 50, 1, 999999)
kono
parents: 14
diff changeset
1230
kono
parents: 14
diff changeset
1231 DEFPARAM (PARAM_PARLOOPS_CHUNK_SIZE,
kono
parents: 14
diff changeset
1232 "parloops-chunk-size",
kono
parents: 14
diff changeset
1233 "Chunk size of omp schedule for loops parallelized by parloops.",
kono
parents: 14
diff changeset
1234 0, 0, 0)
kono
parents: 14
diff changeset
1235
kono
parents: 14
diff changeset
1236 DEFPARAMENUM5 (PARAM_PARLOOPS_SCHEDULE,
kono
parents: 14
diff changeset
1237 "parloops-schedule",
kono
parents: 14
diff changeset
1238 "Schedule type of omp schedule for loops parallelized by "
kono
parents: 14
diff changeset
1239 "parloops (static, dynamic, guided, auto, runtime).",
kono
parents: 14
diff changeset
1240 static,
kono
parents: 14
diff changeset
1241 static, dynamic, guided, auto, runtime)
kono
parents: 14
diff changeset
1242
kono
parents: 14
diff changeset
1243 DEFPARAM (PARAM_MAX_SSA_NAME_QUERY_DEPTH,
kono
parents: 14
diff changeset
1244 "max-ssa-name-query-depth",
kono
parents: 14
diff changeset
1245 "Maximum recursion depth allowed when querying a property of an"
kono
parents: 14
diff changeset
1246 " SSA name.",
kono
parents: 14
diff changeset
1247 3, 1, 10)
kono
parents: 14
diff changeset
1248
kono
parents: 14
diff changeset
1249 DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_INSNS,
kono
parents: 14
diff changeset
1250 "max-rtl-if-conversion-insns",
kono
parents: 14
diff changeset
1251 "Maximum number of insns in a basic block to consider for RTL "
kono
parents: 14
diff changeset
1252 "if-conversion.",
kono
parents: 14
diff changeset
1253 10, 0, 99)
kono
parents: 14
diff changeset
1254
kono
parents: 14
diff changeset
1255 DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_PREDICTABLE_COST,
kono
parents: 14
diff changeset
1256 "max-rtl-if-conversion-predictable-cost",
kono
parents: 14
diff changeset
1257 "Maximum permissible cost for the sequence that would be "
kono
parents: 14
diff changeset
1258 "generated by the RTL if-conversion pass for a branch that "
kono
parents: 14
diff changeset
1259 "is considered predictable.",
kono
parents: 14
diff changeset
1260 20, 0, 200)
kono
parents: 14
diff changeset
1261
kono
parents: 14
diff changeset
1262 DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_UNPREDICTABLE_COST,
kono
parents: 14
diff changeset
1263 "max-rtl-if-conversion-unpredictable-cost",
kono
parents: 14
diff changeset
1264 "Maximum permissible cost for the sequence that would be "
kono
parents: 14
diff changeset
1265 "generated by the RTL if-conversion pass for a branch that "
kono
parents: 14
diff changeset
1266 "is considered unpredictable.",
kono
parents: 14
diff changeset
1267 40, 0, 200)
kono
parents: 14
diff changeset
1268
kono
parents: 14
diff changeset
1269 DEFPARAM (PARAM_HSA_GEN_DEBUG_STORES,
kono
parents: 14
diff changeset
1270 "hsa-gen-debug-stores",
kono
parents: 14
diff changeset
1271 "Level of hsa debug stores verbosity",
kono
parents: 14
diff changeset
1272 0, 0, 1)
kono
parents: 14
diff changeset
1273
kono
parents: 14
diff changeset
1274 DEFPARAM (PARAM_MAX_SPECULATIVE_DEVIRT_MAYDEFS,
kono
parents: 14
diff changeset
1275 "max-speculative-devirt-maydefs",
kono
parents: 14
diff changeset
1276 "Maximum number of may-defs visited when devirtualizing "
kono
parents: 14
diff changeset
1277 "speculatively", 50, 0, 0)
kono
parents: 14
diff changeset
1278
kono
parents: 14
diff changeset
1279 DEFPARAM (PARAM_MAX_VRP_SWITCH_ASSERTIONS,
kono
parents: 14
diff changeset
1280 "max-vrp-switch-assertions",
kono
parents: 14
diff changeset
1281 "Maximum number of assertions to add along the default "
kono
parents: 14
diff changeset
1282 "edge of a switch statement during VRP",
kono
parents: 14
diff changeset
1283 10, 0, 0)
kono
parents: 14
diff changeset
1284
kono
parents: 14
diff changeset
1285 DEFPARAM (PARAM_VECT_EPILOGUES_NOMASK,
kono
parents: 14
diff changeset
1286 "vect-epilogues-nomask",
kono
parents: 14
diff changeset
1287 "Enable loop epilogue vectorization using smaller vector size.",
kono
parents: 14
diff changeset
1288 0, 0, 1)
kono
parents: 14
diff changeset
1289
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1290 /*
16
kono
parents: 14
diff changeset
1291
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1292 Local variables:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1293 mode:c
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1294 End:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1295 */