annotate gcc/params.def @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
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.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 Copyright (C) 2001-2018 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
55
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
111
kono
parents: 67
diff changeset
38 The DEFPARAMENUM<N> macro is similar, but instead of the minumum and maximum
kono
parents: 67
diff changeset
39 arguments, it contains a list of <N> allowed strings, corresponding to
kono
parents: 67
diff changeset
40 integer values 0..<N>-1. Note that the default argument needs to be
kono
parents: 67
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
111
kono
parents: 67
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",
111
kono
parents: 67
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
111
kono
parents: 67
diff changeset
52 DEFPARAM (PARAM_INLINE_MIN_SPEEDUP,
kono
parents: 67
diff changeset
53 "inline-min-speedup",
kono
parents: 67
diff changeset
54 "The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-insns-auto.",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
55 15, 0, 0)
111
kono
parents: 67
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.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
61 The default value is 400.
0
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
55
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",
111
kono
parents: 67
diff changeset
71 "The maximum number of instructions in a single function eligible for inlining.",
55
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.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
80 The default value is 30. */
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",
111
kono
parents: 67
diff changeset
83 "The maximum number of instructions when automatically inlining.",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
84 30, 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",
111
kono
parents: 67
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",
111
kono
parents: 67
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",
111
kono
parents: 67
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",
111
kono
parents: 67
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",
111
kono
parents: 67
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
55
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",
111
kono
parents: 67
diff changeset
116 "The maximum number of nested indirect inlining performed by early inliner.",
kono
parents: 67
diff changeset
117 1, 0, 0)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
118
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
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: 63
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: 63
diff changeset
121 "comdat-sharing-probability",
111
kono
parents: 67
diff changeset
122 "Probability that COMDAT function will be shared with different compilation unit.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
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: 63
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: 63
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: 63
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: 63
diff changeset
127 "partial-inlining-entry-probability",
111
kono
parents: 67
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: 67
diff changeset
129 70, 0, 100)
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
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",
111
kono
parents: 67
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)
55
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",
111
kono
parents: 67
diff changeset
141 "If -ftree-vectorize is used, the minimal loop bound of a loop to be considered for vectorization.",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
142 0, 0, 0)
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",
111
kono
parents: 67
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",
111
kono
parents: 67
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
55
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
55
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",
111
kono
parents: 67
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
111
kono
parents: 67
diff changeset
176 /* This parameter limits the number of backtracking attempts when using the
kono
parents: 67
diff changeset
177 haifa scheduler for modulo scheduling. */
kono
parents: 67
diff changeset
178 DEFPARAM(PARAM_MAX_MODULO_BACKTRACK_ATTEMPTS,
kono
parents: 67
diff changeset
179 "max-modulo-backtrack-attempts",
kono
parents: 67
diff changeset
180 "The maximum number of backtrack attempts the scheduler should make when modulo scheduling a loop.",
kono
parents: 67
diff changeset
181 40, 0, 0)
kono
parents: 67
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",
111
kono
parents: 67
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",
111
kono
parents: 67
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",
111
kono
parents: 67
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",
111
kono
parents: 67
diff changeset
197 "How much can given compilation unit grow because of the inlining (in percent).",
kono
parents: 67
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",
111
kono
parents: 67
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)
55
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",
111
kono
parents: 67
diff changeset
205 "Maximal estimated growth of function body caused by early inlining of single call.",
kono
parents: 67
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",
111
kono
parents: 67
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",
111
kono
parents: 67
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
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
216 /* Keep these up to date with those in configure.ac. */
111
kono
parents: 67
diff changeset
217 DEFPARAM(PARAM_STACK_CLASH_PROTECTION_GUARD_SIZE,
kono
parents: 67
diff changeset
218 "stack-clash-protection-guard-size",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
219 "Size of the stack guard expressed as a power of two in bytes.",
111
kono
parents: 67
diff changeset
220 12, 12, 30)
kono
parents: 67
diff changeset
221
kono
parents: 67
diff changeset
222 DEFPARAM(PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL,
kono
parents: 67
diff changeset
223 "stack-clash-protection-probe-interval",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
224 "Interval in which to probe the stack expressed as a power of two in bytes.",
111
kono
parents: 67
diff changeset
225 12, 10, 16)
kono
parents: 67
diff changeset
226
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
227 /* The GCSE optimization will be disabled if it would require
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
228 significantly more memory than this value. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
229 DEFPARAM(PARAM_MAX_GCSE_MEMORY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
230 "max-gcse-memory",
111
kono
parents: 67
diff changeset
231 "The maximum amount of memory to be allocated by GCSE.",
kono
parents: 67
diff changeset
232 128 * 1024 * 1024, 0, 0)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
233
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
234 /* 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: 63
diff changeset
235 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: 63
diff changeset
236 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: 63
diff changeset
237 "max-gcse-insertion-ratio",
111
kono
parents: 67
diff changeset
238 "The maximum ratio of insertions to deletions of expressions in GCSE.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
239 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: 63
diff changeset
240
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
241 /* This is the threshold ratio when to perform partial redundancy
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
242 elimination after reload. We perform partial redundancy elimination
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
243 when the following holds:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
244 (Redundant load execution count)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
245 ------------------------------- >= GCSE_AFTER_RELOAD_PARTIAL_FRACTION
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
246 (Added loads execution count) */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
247 DEFPARAM(PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
248 "gcse-after-reload-partial-fraction",
111
kono
parents: 67
diff changeset
249 "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
250 3, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
251 /* 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
252 the redundant loads execution count that permits performing the load
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
253 redundancy elimination in gcse after reload. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
254 DEFPARAM(PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
255 "gcse-after-reload-critical-fraction",
111
kono
parents: 67
diff changeset
256 "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
257 10, 0, 0)
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
258
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
259 /* 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: 63
diff changeset
260 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: 63
diff changeset
261 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: 63
diff changeset
262 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: 63
diff changeset
263 "gcse-cost-distance-ratio",
111
kono
parents: 67
diff changeset
264 "Scaling factor in calculation of maximum distance an expression can be moved by GCSE optimizations.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
265 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: 63
diff changeset
266 /* 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: 63
diff changeset
267 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: 63
diff changeset
268 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: 63
diff changeset
269 "gcse-unrestricted-cost",
111
kono
parents: 67
diff changeset
270 "Cost at which GCSE optimizations will not constraint the distance an expression can travel.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
271 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: 63
diff changeset
272
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
273 /* 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: 63
diff changeset
274 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: 63
diff changeset
275 the search. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
276 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: 63
diff changeset
277 "max-hoist-depth",
111
kono
parents: 67
diff changeset
278 "Maximum depth of search in the dominator tree for expressions to hoist.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
279 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: 63
diff changeset
280
111
kono
parents: 67
diff changeset
281
kono
parents: 67
diff changeset
282 /* When synthesizing expnonentiation by a real constant operations using square
kono
parents: 67
diff changeset
283 roots, this controls how deep sqrt chains we are willing to generate. */
kono
parents: 67
diff changeset
284 DEFPARAM(PARAM_MAX_POW_SQRT_DEPTH,
kono
parents: 67
diff changeset
285 "max-pow-sqrt-depth",
kono
parents: 67
diff changeset
286 "Maximum depth of sqrt chains to use when synthesizing exponentiation by a real constant.",
kono
parents: 67
diff changeset
287 5, 1, 32)
kono
parents: 67
diff changeset
288
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
289 /* 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
290 and by how much the loop is unrolled.
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
291
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
292 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
293 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
294 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
295 otherwise. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
296 DEFPARAM(PARAM_MAX_UNROLLED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
297 "max-unrolled-insns",
111
kono
parents: 67
diff changeset
298 "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
299 200, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
300 /* 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
301 on number of insns really executed in each iteration. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
302 DEFPARAM(PARAM_MAX_AVERAGE_UNROLLED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
303 "max-average-unrolled-insns",
111
kono
parents: 67
diff changeset
304 "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
305 80, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
306 /* The maximum number of unrollings of a single loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
307 DEFPARAM(PARAM_MAX_UNROLL_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
308 "max-unroll-times",
111
kono
parents: 67
diff changeset
309 "The maximum number of unrollings of a single loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
310 8, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
311 /* The maximum number of insns of a peeled loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
312 DEFPARAM(PARAM_MAX_PEELED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
313 "max-peeled-insns",
111
kono
parents: 67
diff changeset
314 "The maximum number of insns of a peeled loop.",
kono
parents: 67
diff changeset
315 100, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
316 /* The maximum number of peelings of a single loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
317 DEFPARAM(PARAM_MAX_PEEL_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
318 "max-peel-times",
111
kono
parents: 67
diff changeset
319 "The maximum number of peelings of a single loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
320 16, 0, 0)
111
kono
parents: 67
diff changeset
321 /* The maximum number of peelings of a single loop that is peeled completely. */
kono
parents: 67
diff changeset
322 DEFPARAM(PARAM_MAX_PEEL_BRANCHES,
kono
parents: 67
diff changeset
323 "max-peel-branches",
kono
parents: 67
diff changeset
324 "The maximum number of branches on the path through the peeled sequence.",
kono
parents: 67
diff changeset
325 32, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
326 /* The maximum number of insns of a peeled loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
327 DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
328 "max-completely-peeled-insns",
111
kono
parents: 67
diff changeset
329 "The maximum number of insns of a completely peeled loop.",
kono
parents: 67
diff changeset
330 200, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
331 /* 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
332 DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
333 "max-completely-peel-times",
111
kono
parents: 67
diff changeset
334 "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
335 16, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
336 /* 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
337 DEFPARAM(PARAM_MAX_ONCE_PEELED_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
338 "max-once-peeled-insns",
111
kono
parents: 67
diff changeset
339 "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
340 400, 0, 0)
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
341 /* 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: 55
diff changeset
342 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: 55
diff changeset
343 "max-completely-peel-loop-nest-depth",
111
kono
parents: 67
diff changeset
344 "The maximum depth of a loop nest we completely peel.",
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
345 8, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
346
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
347 /* The maximum number of insns of an unswitched loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
348 DEFPARAM(PARAM_MAX_UNSWITCH_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
349 "max-unswitch-insns",
111
kono
parents: 67
diff changeset
350 "The maximum number of insns of an unswitched loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
351 50, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
352 /* The maximum level of recursion in unswitch_single_loop. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
353 DEFPARAM(PARAM_MAX_UNSWITCH_LEVEL,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
354 "max-unswitch-level",
111
kono
parents: 67
diff changeset
355 "The maximum number of unswitchings in a single loop.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
356 3, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
357
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
358 /* The maximum number of insns in loop header duplicated by the copy loop
111
kono
parents: 67
diff changeset
359 headers pass. */
kono
parents: 67
diff changeset
360 DEFPARAM(PARAM_MAX_LOOP_HEADER_INSNS,
kono
parents: 67
diff changeset
361 "max-loop-header-insns",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
362 "The maximum number of insns in loop header duplicated by the copy loop headers pass.",
111
kono
parents: 67
diff changeset
363 20, 0, 0)
kono
parents: 67
diff changeset
364
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
365 /* 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
366 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
367 DEFPARAM(PARAM_MAX_ITERATIONS_TO_TRACK,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
368 "max-iterations-to-track",
111
kono
parents: 67
diff changeset
369 "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
370 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
371 /* 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
372 the doloop transformation. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
373 DEFPARAM(PARAM_MAX_ITERATIONS_COMPUTATION_COST,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
374 "max-iterations-computation-cost",
111
kono
parents: 67
diff changeset
375 "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
376 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
377
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
378 /* This parameter is used to tune SMS MAX II calculations. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
379 DEFPARAM(PARAM_SMS_MAX_II_FACTOR,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
380 "sms-max-ii-factor",
111
kono
parents: 67
diff changeset
381 "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
382 100, 0, 0)
111
kono
parents: 67
diff changeset
383 /* The minimum value of stage count that swing modulo scheduler will generate. */
kono
parents: 67
diff changeset
384 DEFPARAM(PARAM_SMS_MIN_SC,
kono
parents: 67
diff changeset
385 "sms-min-sc",
kono
parents: 67
diff changeset
386 "The minimum value of stage count that swing modulo scheduler will generate.",
kono
parents: 67
diff changeset
387 2, 1, 1)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
388 DEFPARAM(PARAM_SMS_DFA_HISTORY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
389 "sms-dfa-history",
111
kono
parents: 67
diff changeset
390 "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
391 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
392 DEFPARAM(PARAM_SMS_LOOP_AVERAGE_COUNT_THRESHOLD,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
393 "sms-loop-average-count-threshold",
111
kono
parents: 67
diff changeset
394 "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
395 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
396
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
397 DEFPARAM(HOT_BB_COUNT_FRACTION,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
398 "hot-bb-count-fraction",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
399 "Select fraction of the maximal count of repetitions of basic block in program given basic "
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
400 "block needs to have to be considered hot (used in non-LTO mode)",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
401 10000, 0, 0)
111
kono
parents: 67
diff changeset
402 DEFPARAM(HOT_BB_COUNT_WS_PERMILLE,
kono
parents: 67
diff changeset
403 "hot-bb-count-ws-permille",
kono
parents: 67
diff changeset
404 "A basic block profile count is considered hot if it contributes to "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
405 "the given permillage of the entire profiled execution (used in LTO mode).",
111
kono
parents: 67
diff changeset
406 999, 0, 1000)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
407 DEFPARAM(HOT_BB_FREQUENCY_FRACTION,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
408 "hot-bb-frequency-fraction",
111
kono
parents: 67
diff changeset
409 "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
410 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
411
111
kono
parents: 67
diff changeset
412 DEFPARAM(UNLIKELY_BB_COUNT_FRACTION,
kono
parents: 67
diff changeset
413 "unlikely-bb-count-fraction",
kono
parents: 67
diff changeset
414 "The minimum fraction of profile runs a given basic block execution count must be not to be considered unlikely.",
kono
parents: 67
diff changeset
415 20, 1, 10000)
kono
parents: 67
diff changeset
416
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
417 DEFPARAM (PARAM_ALIGN_THRESHOLD,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
418 "align-threshold",
111
kono
parents: 67
diff changeset
419 "Select fraction of the maximal frequency of executions of basic block in function given basic block get alignment.",
kono
parents: 67
diff changeset
420 100, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
421
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
422 DEFPARAM (PARAM_ALIGN_LOOP_ITERATIONS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
423 "align-loop-iterations",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
424 "Loops iterating at least selected number of iterations will get "
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
425 "loop alignment.", 4, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
426
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
427 /* For guessed profiles, the loops having unknown number of iterations
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
428 are predicted to iterate relatively few (10) times at average.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
429 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
430 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
431 the other loops cold that is not usually the case. So we need to artificially
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
432 flatten the profile.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
433
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
434 We need to cut the maximal predicted iterations to large enough iterations
111
kono
parents: 67
diff changeset
435 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
436 range. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
437
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
438 DEFPARAM(PARAM_MAX_PREDICTED_ITERATIONS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
439 "max-predicted-iterations",
111
kono
parents: 67
diff changeset
440 "The maximum number of loop iterations we predict statically.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
441 100, 0, 0)
111
kono
parents: 67
diff changeset
442
kono
parents: 67
diff changeset
443 /* This parameter controls the probability of builtin_expect. The default
kono
parents: 67
diff changeset
444 value is 90%. This empirical value is obtained through the weighted
kono
parents: 67
diff changeset
445 probability of FDO counters (with the FDO count value as the weight)
kono
parents: 67
diff changeset
446 in some real world programs:
kono
parents: 67
diff changeset
447 (1) Google performance test benchmarks: the probability is 0.9081.
kono
parents: 67
diff changeset
448 (2) Linux 3.3 kernel running Google search workload: the probability
kono
parents: 67
diff changeset
449 is 0.8717. */
kono
parents: 67
diff changeset
450
kono
parents: 67
diff changeset
451 DEFPARAM(BUILTIN_EXPECT_PROBABILITY,
kono
parents: 67
diff changeset
452 "builtin-expect-probability",
kono
parents: 67
diff changeset
453 "Set the estimated probability in percentage for builtin expect. The default value is 90% probability.",
kono
parents: 67
diff changeset
454 90, 0, 100)
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
455 DEFPARAM(BUILTIN_STRING_CMP_INLINE_LENGTH,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
456 "builtin-string-cmp-inline-length",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
457 "The maximum length of a constant string for a builtin string cmp call eligible for inlining. The default value is 3.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
458 3, 0, 100)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
459 DEFPARAM(TRACER_DYNAMIC_COVERAGE_FEEDBACK,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
460 "tracer-dynamic-coverage-feedback",
111
kono
parents: 67
diff changeset
461 "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
462 95, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
463 DEFPARAM(TRACER_DYNAMIC_COVERAGE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
464 "tracer-dynamic-coverage",
111
kono
parents: 67
diff changeset
465 "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
466 75, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
467 DEFPARAM(TRACER_MAX_CODE_GROWTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
468 "tracer-max-code-growth",
111
kono
parents: 67
diff changeset
469 "Maximal code growth caused by tail duplication (in percent).",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
470 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
471 DEFPARAM(TRACER_MIN_BRANCH_RATIO,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
472 "tracer-min-branch-ratio",
111
kono
parents: 67
diff changeset
473 "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
474 10, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
475 DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY_FEEDBACK,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
476 "tracer-min-branch-probability-feedback",
111
kono
parents: 67
diff changeset
477 "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
478 80, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
479 DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
480 "tracer-min-branch-probability",
111
kono
parents: 67
diff changeset
481 "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
482 50, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
483
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
484 /* The maximum number of incoming edges to consider for crossjumping. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
485 DEFPARAM(PARAM_MAX_CROSSJUMP_EDGES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
486 "max-crossjump-edges",
111
kono
parents: 67
diff changeset
487 "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
488 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
489
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
490 /* The minimum number of matching instructions to consider for crossjumping. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
491 DEFPARAM(PARAM_MIN_CROSSJUMP_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
492 "min-crossjump-insns",
111
kono
parents: 67
diff changeset
493 "The minimum number of matching instructions to consider for crossjumping.",
kono
parents: 67
diff changeset
494 5, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
495
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
496 /* The maximum number expansion factor when copying basic blocks. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
497 DEFPARAM(PARAM_MAX_GROW_COPY_BB_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
498 "max-grow-copy-bb-insns",
111
kono
parents: 67
diff changeset
499 "The maximum expansion factor when copying basic blocks.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
500 8, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
501
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
502 /* 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
503 DEFPARAM(PARAM_MAX_GOTO_DUPLICATION_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
504 "max-goto-duplication-insns",
111
kono
parents: 67
diff changeset
505 "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
506 8, 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 maximum length of path considered in cse. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
509 DEFPARAM(PARAM_MAX_CSE_PATH_LENGTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
510 "max-cse-path-length",
111
kono
parents: 67
diff changeset
511 "The maximum length of path considered in cse.",
kono
parents: 67
diff changeset
512 10, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
513 DEFPARAM(PARAM_MAX_CSE_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
514 "max-cse-insns",
111
kono
parents: 67
diff changeset
515 "The maximum instructions CSE process before flushing.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
516 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
517
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
518 /* 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
519 expensive. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
520 DEFPARAM(PARAM_LIM_EXPENSIVE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
521 "lim-expensive",
111
kono
parents: 67
diff changeset
522 "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
523 20, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
524
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
525 /* Bound on number of candidates for induction variables below that
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
526 all candidates are considered for each use in induction variable
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
527 optimizations. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
528
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
529 DEFPARAM(PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
530 "iv-consider-all-candidates-bound",
111
kono
parents: 67
diff changeset
531 "Bound on number of candidates below that all candidates are considered in iv optimizations.",
kono
parents: 67
diff changeset
532 40, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
533
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
534 /* 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
535 induction variable uses. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
536
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
537 DEFPARAM(PARAM_IV_MAX_CONSIDERED_USES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
538 "iv-max-considered-uses",
111
kono
parents: 67
diff changeset
539 "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
540 250, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
541
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
542 /* 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
543 ivs from the set always. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
544
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
545 DEFPARAM(PARAM_IV_ALWAYS_PRUNE_CAND_SET_BOUND,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
546 "iv-always-prune-cand-set-bound",
111
kono
parents: 67
diff changeset
547 "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
548 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
549
111
kono
parents: 67
diff changeset
550 DEFPARAM(PARAM_AVG_LOOP_NITER,
kono
parents: 67
diff changeset
551 "avg-loop-niter",
kono
parents: 67
diff changeset
552 "Average number of iterations of a loop.",
kono
parents: 67
diff changeset
553 10, 1, 0)
kono
parents: 67
diff changeset
554
kono
parents: 67
diff changeset
555 DEFPARAM(PARAM_DSE_MAX_OBJECT_SIZE,
kono
parents: 67
diff changeset
556 "dse-max-object-size",
kono
parents: 67
diff changeset
557 "Maximum size (in bytes) of objects tracked bytewise by dead store elimination.",
kono
parents: 67
diff changeset
558 256, 0, 0)
kono
parents: 67
diff changeset
559
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
560 DEFPARAM(PARAM_DSE_MAX_ALIAS_QUERIES_PER_STORE,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
561 "dse-max-alias-queries-per-store",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
562 "Maximum number of queries into the alias oracle per store.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
563 256, 0, 0)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
564
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
565 DEFPARAM(PARAM_SCEV_MAX_EXPR_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
566 "scev-max-expr-size",
111
kono
parents: 67
diff changeset
567 "Bound on size of expressions used in the scalar evolutions analyzer.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
568 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: 63
diff changeset
569
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
570 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: 63
diff changeset
571 "scev-max-expr-complexity",
111
kono
parents: 67
diff changeset
572 "Bound on the complexity of the expressions in the scalar evolutions analyzer.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
573 10, 0, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
574
111
kono
parents: 67
diff changeset
575 DEFPARAM (PARAM_MAX_TREE_IF_CONVERSION_PHI_ARGS,
kono
parents: 67
diff changeset
576 "max-tree-if-conversion-phi-args",
kono
parents: 67
diff changeset
577 "Maximum number of arguments in a PHI supported by TREE if-conversion "
kono
parents: 67
diff changeset
578 "unless the loop is marked with simd pragma.",
kono
parents: 67
diff changeset
579 4, 2, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
580
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
581 DEFPARAM(PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
582 "vect-max-version-for-alignment-checks",
111
kono
parents: 67
diff changeset
583 "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
584 6, 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 DEFPARAM(PARAM_VECT_MAX_VERSION_FOR_ALIAS_CHECKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
587 "vect-max-version-for-alias-checks",
111
kono
parents: 67
diff changeset
588 "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
589 10, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
590
111
kono
parents: 67
diff changeset
591 DEFPARAM(PARAM_VECT_MAX_PEELING_FOR_ALIGNMENT,
kono
parents: 67
diff changeset
592 "vect-max-peeling-for-alignment",
kono
parents: 67
diff changeset
593 "Maximum number of loop peels to enhance alignment of data references in a loop.",
kono
parents: 67
diff changeset
594 -1, -1, 64)
kono
parents: 67
diff changeset
595
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
596 DEFPARAM(PARAM_MAX_CSELIB_MEMORY_LOCATIONS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
597 "max-cselib-memory-locations",
111
kono
parents: 67
diff changeset
598 "The maximum memory locations recorded by cselib.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
599 500, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
600
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
601 #ifdef ENABLE_GC_ALWAYS_COLLECT
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
602 # define GGC_MIN_EXPAND_DEFAULT 0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
603 # define GGC_MIN_HEAPSIZE_DEFAULT 0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
604 #else
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
605 # define GGC_MIN_EXPAND_DEFAULT 30
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
606 # define GGC_MIN_HEAPSIZE_DEFAULT 4096
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
607 #endif
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
608
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
609 DEFPARAM(GGC_MIN_EXPAND,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
610 "ggc-min-expand",
111
kono
parents: 67
diff changeset
611 "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
612 GGC_MIN_EXPAND_DEFAULT, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
613
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
614 DEFPARAM(GGC_MIN_HEAPSIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
615 "ggc-min-heapsize",
111
kono
parents: 67
diff changeset
616 "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
617 GGC_MIN_HEAPSIZE_DEFAULT, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
618
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
619 #undef GGC_MIN_EXPAND_DEFAULT
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
620 #undef GGC_MIN_HEAPSIZE_DEFAULT
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_RELOAD_SEARCH_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
623 "max-reload-search-insns",
111
kono
parents: 67
diff changeset
624 "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
625 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
626
111
kono
parents: 67
diff changeset
627 DEFPARAM(PARAM_SINK_FREQUENCY_THRESHOLD,
kono
parents: 67
diff changeset
628 "sink-frequency-threshold",
kono
parents: 67
diff changeset
629 "Target block's relative execution frequency (as a percentage) required to sink a statement.",
kono
parents: 67
diff changeset
630 75, 0, 100)
kono
parents: 67
diff changeset
631
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
632 DEFPARAM(PARAM_MAX_SCHED_REGION_BLOCKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
633 "max-sched-region-blocks",
111
kono
parents: 67
diff changeset
634 "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
635 10, 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_MAX_SCHED_REGION_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
638 "max-sched-region-insns",
111
kono
parents: 67
diff changeset
639 "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
640 100, 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_PIPELINE_REGION_BLOCKS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
643 "max-pipeline-region-blocks",
111
kono
parents: 67
diff changeset
644 "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
645 15, 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_PIPELINE_REGION_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
648 "max-pipeline-region-insns",
111
kono
parents: 67
diff changeset
649 "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
650 200, 0, 0)
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_MIN_SPEC_PROB,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
653 "min-spec-prob",
111
kono
parents: 67
diff changeset
654 "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
655 40, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
656
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
657 DEFPARAM(PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
658 "max-sched-extend-regions-iters",
111
kono
parents: 67
diff changeset
659 "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
660 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
661
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
662 DEFPARAM(PARAM_MAX_SCHED_INSN_CONFLICT_DELAY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
663 "max-sched-insn-conflict-delay",
111
kono
parents: 67
diff changeset
664 "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
665 3, 1, 10)
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_SCHED_SPEC_PROB_CUTOFF,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
668 "sched-spec-prob-cutoff",
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
669 "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
670 40, 0, 100)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
671
111
kono
parents: 67
diff changeset
672 DEFPARAM(PARAM_SCHED_STATE_EDGE_PROB_CUTOFF,
kono
parents: 67
diff changeset
673 "sched-state-edge-prob-cutoff",
kono
parents: 67
diff changeset
674 "The minimum probability an edge must have for the scheduler to save its state across it.",
kono
parents: 67
diff changeset
675 10, 0, 100)
kono
parents: 67
diff changeset
676
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
677 DEFPARAM(PARAM_SELSCHED_MAX_LOOKAHEAD,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
678 "selsched-max-lookahead",
111
kono
parents: 67
diff changeset
679 "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
680 50, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
681
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
682 DEFPARAM(PARAM_SELSCHED_MAX_SCHED_TIMES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
683 "selsched-max-sched-times",
111
kono
parents: 67
diff changeset
684 "Maximum number of times that an insn could be scheduled.",
kono
parents: 67
diff changeset
685 2, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
686
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
687 DEFPARAM(PARAM_SELSCHED_INSNS_TO_RENAME,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
688 "selsched-insns-to-rename",
111
kono
parents: 67
diff changeset
689 "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
690 2, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
691
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
692 DEFPARAM (PARAM_SCHED_MEM_TRUE_DEP_COST,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
693 "sched-mem-true-dep-cost",
111
kono
parents: 67
diff changeset
694 "Minimal distance between possibly conflicting store and load.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
695 1, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
696
111
kono
parents: 67
diff changeset
697 DEFPARAM (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH,
kono
parents: 67
diff changeset
698 "sched-autopref-queue-depth",
kono
parents: 67
diff changeset
699 "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: 67
diff changeset
700 -1, 0, 0)
kono
parents: 67
diff changeset
701
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
702 DEFPARAM(PARAM_MAX_LAST_VALUE_RTL,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
703 "max-last-value-rtl",
111
kono
parents: 67
diff changeset
704 "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
705 10000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
706
111
kono
parents: 67
diff changeset
707 DEFPARAM(PARAM_MAX_COMBINE_INSNS,
kono
parents: 67
diff changeset
708 "max-combine-insns",
kono
parents: 67
diff changeset
709 "The maximum number of insns combine tries to combine.",
kono
parents: 67
diff changeset
710 4, 2, 4)
kono
parents: 67
diff changeset
711
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
712 /* 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
713 {signed,unsigned} integral types. This determines N.
111
kono
parents: 67
diff changeset
714 Experimentation shows 251 to be a good value that generates the
kono
parents: 67
diff changeset
715 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
716 DEFPARAM (PARAM_INTEGER_SHARE_LIMIT,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
717 "integer-share-limit",
111
kono
parents: 67
diff changeset
718 "The upper bound for sharing integer constants.",
kono
parents: 67
diff changeset
719 251, 2, 2)
0
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 DEFPARAM (PARAM_SSP_BUFFER_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
722 "ssp-buffer-size",
111
kono
parents: 67
diff changeset
723 "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
724 8, 1, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
725
111
kono
parents: 67
diff changeset
726 DEFPARAM (PARAM_MIN_SIZE_FOR_STACK_SHARING,
kono
parents: 67
diff changeset
727 "min-size-for-stack-sharing",
kono
parents: 67
diff changeset
728 "The minimum size of variables taking part in stack slot sharing "
kono
parents: 67
diff changeset
729 "when not optimizing.",
kono
parents: 67
diff changeset
730 32, 0, 0)
kono
parents: 67
diff changeset
731
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
732 /* 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
733 statements within the block. Clearly for large blocks the code
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
734 duplication is bad.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
735
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
736 PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS specifies the maximum number
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
737 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
738 be duplicated for thread jumping purposes.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
739
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
740 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
741 threading opportunities are for blocks with less than 15
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
742 statements. So we can get the benefits of jump threading
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
743 without excessive code bloat for pathological cases with the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
744 throttle set at 15 statements. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
745 DEFPARAM (PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
746 "max-jump-thread-duplication-stmts",
111
kono
parents: 67
diff changeset
747 "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
748 15, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
749
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
750 /* This is the maximum number of fields a variable may have before the pointer analysis machinery
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
751 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
752 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
753 field-sensitively is not worth the cost. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
754 DEFPARAM (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
755 "max-fields-for-field-sensitive",
111
kono
parents: 67
diff changeset
756 "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
757 0, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
758
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
759 DEFPARAM(PARAM_MAX_SCHED_READY_INSNS,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
760 "max-sched-ready-insns",
111
kono
parents: 67
diff changeset
761 "The maximum number of instructions ready to be issued to be considered by the scheduler during the first scheduling pass.",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
762 100, 1, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
763
111
kono
parents: 67
diff changeset
764 /* This is the maximum number of active local stores RTL DSE will consider. */
kono
parents: 67
diff changeset
765 DEFPARAM (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES,
kono
parents: 67
diff changeset
766 "max-dse-active-local-stores",
kono
parents: 67
diff changeset
767 "Maximum number of active local stores in RTL dead store elimination.",
kono
parents: 67
diff changeset
768 5000, 0, 0)
kono
parents: 67
diff changeset
769
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
770 /* Prefetching and cache-optimizations related parameters. Default values are
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
771 usually set by machine description. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
772
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
773 /* The number of insns executed before prefetch is completed. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
774
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
775 DEFPARAM (PARAM_PREFETCH_LATENCY,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
776 "prefetch-latency",
111
kono
parents: 67
diff changeset
777 "The number of insns executed before prefetch is completed.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
778 200, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
779
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
780 /* 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
781
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
782 DEFPARAM (PARAM_SIMULTANEOUS_PREFETCHES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
783 "simultaneous-prefetches",
111
kono
parents: 67
diff changeset
784 "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
785 3, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
786
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
787 /* The size of L1 cache in kB. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
788
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
789 DEFPARAM (PARAM_L1_CACHE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
790 "l1-cache-size",
111
kono
parents: 67
diff changeset
791 "The size of L1 cache.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
792 64, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
793
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
794 /* The size of L1 cache line in bytes. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
795
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
796 DEFPARAM (PARAM_L1_CACHE_LINE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
797 "l1-cache-line-size",
111
kono
parents: 67
diff changeset
798 "The size of L1 cache line.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
799 32, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
800
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
801 /* The size of L2 cache in kB. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
802
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
803 DEFPARAM (PARAM_L2_CACHE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
804 "l2-cache-size",
111
kono
parents: 67
diff changeset
805 "The size of L2 cache.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
806 512, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
807
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
808 /* Whether software prefetch hints should be issued for non-constant
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
809 strides. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
810
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
811 DEFPARAM (PARAM_PREFETCH_DYNAMIC_STRIDES,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
812 "prefetch-dynamic-strides",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
813 "Whether software prefetch hints should be issued for non-constant "
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
814 "strides.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
815 1, 0, 1)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
816
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
817 /* The minimum constant stride beyond which we should use prefetch hints
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
818 for. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
819
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
820 DEFPARAM (PARAM_PREFETCH_MINIMUM_STRIDE,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
821 "prefetch-minimum-stride",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
822 "The minimum constant stride beyond which we should use prefetch "
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
823 "hints for.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
824 -1, 0, 0)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
825
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
826 /* Maximum number of statements in loop nest for loop interchange. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
827
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
828 DEFPARAM (PARAM_LOOP_INTERCHANGE_MAX_NUM_STMTS,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
829 "loop-interchange-max-num-stmts",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
830 "The maximum number of stmts in loop nest for loop interchange.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
831 64, 0, 0)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
832
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
833 /* Minimum stride ratio for loop interchange to be profitiable. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
834
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
835 DEFPARAM (PARAM_LOOP_INTERCHANGE_STRIDE_RATIO,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
836 "loop-interchange-stride-ratio",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
837 "The minimum stride ratio for loop interchange to be profitable.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
838 2, 0, 0)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
839
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
840 /* Whether we should use canonical types rather than deep "structural"
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
841 type checking. Setting this value to 1 (the default) improves
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
842 compilation performance in the C++ and Objective-C++ front end;
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
843 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
844 canonical type system by disabling it. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
845
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
846 DEFPARAM (PARAM_USE_CANONICAL_TYPES,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
847 "use-canonical-types",
111
kono
parents: 67
diff changeset
848 "Whether to use canonical types.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
849 1, 0, 1)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
850
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
851 DEFPARAM (PARAM_MAX_PARTIAL_ANTIC_LENGTH,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
852 "max-partial-antic-length",
111
kono
parents: 67
diff changeset
853 "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
854 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
855
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
856 /* The following is used as a stop-gap limit for cases where really deep
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
857 loop nests cause compile-time to blow up. If we hit this limit,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
858 FRE and PRE will value-number outer loops (but the outermost) in a
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
859 loop nest non-optimistically. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
860
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
861 DEFPARAM (PARAM_RPO_VN_MAX_LOOP_DEPTH,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
862 "rpo-vn-max-loop-depth",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
863 "Maximum depth of a loop nest to fully value-number optimistically.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
864 7, 2, 0)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
865
111
kono
parents: 67
diff changeset
866 /* The following is used as a stop-gap limit for cases where really huge
kono
parents: 67
diff changeset
867 functions blow up compile-time use too much. It limits the number of
kono
parents: 67
diff changeset
868 alias-queries we do for finding common subexpressions for memory loads and
kono
parents: 67
diff changeset
869 stores. The number of alias-queries is otherwise limited by the number of
kono
parents: 67
diff changeset
870 stores on paths to function entry. */
kono
parents: 67
diff changeset
871
kono
parents: 67
diff changeset
872 DEFPARAM (PARAM_SCCVN_MAX_ALIAS_QUERIES_PER_ACCESS,
kono
parents: 67
diff changeset
873 "sccvn-max-alias-queries-per-access",
kono
parents: 67
diff changeset
874 "Maximum number of disambiguations to perform per memory access.",
kono
parents: 67
diff changeset
875 1000, 0, 0)
kono
parents: 67
diff changeset
876
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
877 DEFPARAM (PARAM_IRA_MAX_LOOPS_NUM,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
878 "ira-max-loops-num",
111
kono
parents: 67
diff changeset
879 "Max loops number for regional RA.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
880 100, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
881
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
882 DEFPARAM (PARAM_IRA_MAX_CONFLICT_TABLE_SIZE,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
883 "ira-max-conflict-table-size",
111
kono
parents: 67
diff changeset
884 "Max size of conflict table in MB.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
885 1000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
886
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
887 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
888 "ira-loop-reserved-regs",
111
kono
parents: 67
diff changeset
889 "The number of registers in each class kept unused by loop invariant motion.",
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
890 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
891
111
kono
parents: 67
diff changeset
892 DEFPARAM (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS,
kono
parents: 67
diff changeset
893 "lra-max-considered-reload-pseudos",
kono
parents: 67
diff changeset
894 "The max number of reload pseudos which are considered during spilling a non-reload pseudo.",
kono
parents: 67
diff changeset
895 500, 0, 0)
kono
parents: 67
diff changeset
896
kono
parents: 67
diff changeset
897 DEFPARAM (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF,
kono
parents: 67
diff changeset
898 "lra-inheritance-ebb-probability-cutoff",
kono
parents: 67
diff changeset
899 "Minimal fall-through edge probability in percentage used to add BB to inheritance EBB in LRA.",
kono
parents: 67
diff changeset
900 40, 0, 100)
kono
parents: 67
diff changeset
901
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
902 /* Switch initialization conversion will refuse to create arrays that are
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
903 bigger than this parameter times the number of switch branches. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
904
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
905 DEFPARAM (PARAM_SWITCH_CONVERSION_BRANCH_RATIO,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
906 "switch-conversion-max-branch-ratio",
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
907 "The maximum ratio between array size and switch branches for "
111
kono
parents: 67
diff changeset
908 "a switch conversion to take place.",
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
909 8, 1, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
910
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
911 /* 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
912
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
913 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
914 "loop-block-tile-size",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
915 "Size of tiles for loop blocking.",
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
916 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
917
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
918 /* 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: 55
diff changeset
919
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
920 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: 55
diff changeset
921 "graphite-max-nb-scop-params",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
922 "Maximum number of parameters in a SCoP.",
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
923 10, 0, 0)
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
924
111
kono
parents: 67
diff changeset
925 /* Maximal number of array references in a scop. */
kono
parents: 67
diff changeset
926
kono
parents: 67
diff changeset
927 DEFPARAM (PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP,
kono
parents: 67
diff changeset
928 "graphite-max-arrays-per-scop",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
929 "Maximum number of arrays per scop.",
111
kono
parents: 67
diff changeset
930 100, 0, 0)
kono
parents: 67
diff changeset
931
kono
parents: 67
diff changeset
932 DEFPARAM (PARAM_MAX_ISL_OPERATIONS,
kono
parents: 67
diff changeset
933 "max-isl-operations",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
934 "Maximum number of isl operations, 0 means unlimited.",
111
kono
parents: 67
diff changeset
935 350000, 0, 0)
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
936
111
kono
parents: 67
diff changeset
937 /* For testsuite purposes allow to check for codegen error handling. */
kono
parents: 67
diff changeset
938 DEFPARAM (PARAM_GRAPHITE_ALLOW_CODEGEN_ERRORS,
kono
parents: 67
diff changeset
939 "graphite-allow-codegen-errors",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
940 "Whether codegen errors should be ICEs when -fchecking.",
111
kono
parents: 67
diff changeset
941 0, 0, 1)
kono
parents: 67
diff changeset
942
kono
parents: 67
diff changeset
943 /* Avoid data dependence analysis on very large loops. */
kono
parents: 67
diff changeset
944 DEFPARAM (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS,
kono
parents: 67
diff changeset
945 "loop-max-datarefs-for-datadeps",
kono
parents: 67
diff changeset
946 "Maximum number of datarefs in loop for building loop data dependencies.",
kono
parents: 67
diff changeset
947 1000, 0, 0)
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
948
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
949 /* Avoid doing loop invariant motion on very large loops. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
950
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
951 DEFPARAM (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
952 "loop-invariant-max-bbs-in-loop",
111
kono
parents: 67
diff changeset
953 "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
954 10000, 0, 0)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
955
111
kono
parents: 67
diff changeset
956 /* When the parameter is 1, use the internal function id
kono
parents: 67
diff changeset
957 to look up for profile data. Otherwise, use a more stable
kono
parents: 67
diff changeset
958 external id based on assembler name and source location. */
kono
parents: 67
diff changeset
959 DEFPARAM (PARAM_PROFILE_FUNC_INTERNAL_ID,
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
960 "profile-func-internal-id",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
961 "Use internal function id in profile lookup.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
962 0, 0, 1)
111
kono
parents: 67
diff changeset
963
kono
parents: 67
diff changeset
964 /* When the parameter is 1, track the most frequent N target
kono
parents: 67
diff changeset
965 addresses in indirect-call profile. This disables
kono
parents: 67
diff changeset
966 indirect_call_profiler_v2 which tracks single target. */
kono
parents: 67
diff changeset
967 DEFPARAM (PARAM_INDIR_CALL_TOPN_PROFILE,
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
968 "indir-call-topn-profile",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
969 "Track top N target addresses in indirect-call profile.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
970 0, 0, 1)
111
kono
parents: 67
diff changeset
971
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
972 /* 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
973 DEFPARAM (PARAM_SLP_MAX_INSNS_IN_BB,
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
974 "slp-max-insns-in-bb",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
975 "Maximum number of instructions in basic block to be considered for "
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
976 "SLP vectorization.", 1000, 0, 0)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
977
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
978 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
979 "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
980 "Min. ratio of insns to prefetches to enable prefetching for "
111
kono
parents: 67
diff changeset
981 "a loop with an unknown trip count.",
kono
parents: 67
diff changeset
982 9, 0, 0)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
983
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
984 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
985 "prefetch-min-insn-to-mem-ratio",
111
kono
parents: 67
diff changeset
986 "Min. ratio of insns to mem ops to enable prefetching in a loop.",
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
987 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
988
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
989 /* 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: 55
diff changeset
990
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
991 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: 55
diff changeset
992 "max-vartrack-size",
111
kono
parents: 67
diff changeset
993 "Max. size of var tracking hash tables.",
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
994 50000000, 0, 0)
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
995
111
kono
parents: 67
diff changeset
996 /* Set maximum recursion depth for var tracking expression expansion
kono
parents: 67
diff changeset
997 and resolution. */
kono
parents: 67
diff changeset
998
kono
parents: 67
diff changeset
999 DEFPARAM (PARAM_MAX_VARTRACK_EXPR_DEPTH,
kono
parents: 67
diff changeset
1000 "max-vartrack-expr-depth",
kono
parents: 67
diff changeset
1001 "Max. recursion depth for expanding var tracking expressions.",
kono
parents: 67
diff changeset
1002 12, 0, 0)
kono
parents: 67
diff changeset
1003
kono
parents: 67
diff changeset
1004 /* Set maximum length of value location list for which var tracking
kono
parents: 67
diff changeset
1005 should add reverse operations. */
kono
parents: 67
diff changeset
1006
kono
parents: 67
diff changeset
1007 DEFPARAM (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE,
kono
parents: 67
diff changeset
1008 "max-vartrack-reverse-op-size",
kono
parents: 67
diff changeset
1009 "Max. size of loc list for which reverse ops should be added.",
kono
parents: 67
diff changeset
1010 50, 0, 0)
kono
parents: 67
diff changeset
1011
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1012 /* Set a threshold to discard debug markers (e.g. debug begin stmt
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1013 markers) when expanding a function to RTL, or inlining it into
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1014 another function. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1015
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1016 DEFPARAM (PARAM_MAX_DEBUG_MARKER_COUNT,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1017 "max-debug-marker-count",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1018 "Max. count of debug markers to expand or inline.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1019 100000, 0, 0)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1020
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1021 /* 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
1022
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1023 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
1024 "min-nondebug-insn-uid",
111
kono
parents: 67
diff changeset
1025 "The minimum UID to be used for a nondebug insn.",
kono
parents: 67
diff changeset
1026 0, 0, 0)
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1027
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1028 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
1029 "ipa-sra-ptr-growth-factor",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1030 "Maximum allowed growth of number and total size of new parameters "
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1031 "that ipa-sra replaces a pointer to an aggregate with.",
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1032 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
1033
111
kono
parents: 67
diff changeset
1034 DEFPARAM (PARAM_TM_MAX_AGGREGATE_SIZE,
kono
parents: 67
diff changeset
1035 "tm-max-aggregate-size",
kono
parents: 67
diff changeset
1036 "Size in bytes after which thread-local aggregates should be "
kono
parents: 67
diff changeset
1037 "instrumented with the logging functions instead of save/restore "
kono
parents: 67
diff changeset
1038 "pairs.",
kono
parents: 67
diff changeset
1039 9, 0, 0)
kono
parents: 67
diff changeset
1040
kono
parents: 67
diff changeset
1041 DEFPARAM (PARAM_SRA_MAX_SCALARIZATION_SIZE_SPEED,
kono
parents: 67
diff changeset
1042 "sra-max-scalarization-size-Ospeed",
kono
parents: 67
diff changeset
1043 "Maximum size, in storage units, of an aggregate which should be "
kono
parents: 67
diff changeset
1044 "considered for scalarization when compiling for speed.",
kono
parents: 67
diff changeset
1045 0, 0, 0)
kono
parents: 67
diff changeset
1046
kono
parents: 67
diff changeset
1047 DEFPARAM (PARAM_SRA_MAX_SCALARIZATION_SIZE_SIZE,
kono
parents: 67
diff changeset
1048 "sra-max-scalarization-size-Osize",
kono
parents: 67
diff changeset
1049 "Maximum size, in storage units, of an aggregate which should be "
kono
parents: 67
diff changeset
1050 "considered for scalarization when compiling for size.",
kono
parents: 67
diff changeset
1051 0, 0, 0)
kono
parents: 67
diff changeset
1052
kono
parents: 67
diff changeset
1053 DEFPARAM (PARAM_IPA_CP_VALUE_LIST_SIZE,
kono
parents: 67
diff changeset
1054 "ipa-cp-value-list-size",
kono
parents: 67
diff changeset
1055 "Maximum size of a list of values associated with each parameter for "
kono
parents: 67
diff changeset
1056 "interprocedural constant propagation.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1057 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: 63
diff changeset
1058
111
kono
parents: 67
diff changeset
1059 DEFPARAM (PARAM_IPA_CP_EVAL_THRESHOLD,
kono
parents: 67
diff changeset
1060 "ipa-cp-eval-threshold",
kono
parents: 67
diff changeset
1061 "Threshold ipa-cp opportunity evaluation that is still considered "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1062 "beneficial to clone.",
111
kono
parents: 67
diff changeset
1063 500, 0, 0)
kono
parents: 67
diff changeset
1064
kono
parents: 67
diff changeset
1065 DEFPARAM (PARAM_IPA_CP_RECURSION_PENALTY,
kono
parents: 67
diff changeset
1066 "ipa-cp-recursion-penalty",
kono
parents: 67
diff changeset
1067 "Percentage penalty the recursive functions will receive when they "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1068 "are evaluated for cloning.",
111
kono
parents: 67
diff changeset
1069 40, 0, 100)
kono
parents: 67
diff changeset
1070
kono
parents: 67
diff changeset
1071 DEFPARAM (PARAM_IPA_CP_SINGLE_CALL_PENALTY,
kono
parents: 67
diff changeset
1072 "ipa-cp-single-call-penalty",
kono
parents: 67
diff changeset
1073 "Percentage penalty functions containing a single call to another "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1074 "function will receive when they are evaluated for cloning.",
111
kono
parents: 67
diff changeset
1075 15, 0, 100)
kono
parents: 67
diff changeset
1076
kono
parents: 67
diff changeset
1077 DEFPARAM (PARAM_IPA_MAX_AGG_ITEMS,
kono
parents: 67
diff changeset
1078 "ipa-max-agg-items",
kono
parents: 67
diff changeset
1079 "Maximum number of aggregate content items for a parameter in "
kono
parents: 67
diff changeset
1080 "jump functions and lattices.",
kono
parents: 67
diff changeset
1081 16, 0, 0)
kono
parents: 67
diff changeset
1082
kono
parents: 67
diff changeset
1083 DEFPARAM (PARAM_IPA_CP_LOOP_HINT_BONUS,
kono
parents: 67
diff changeset
1084 "ipa-cp-loop-hint-bonus",
kono
parents: 67
diff changeset
1085 "Compile-time bonus IPA-CP assigns to candidates which make loop "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1086 "bounds or strides known.",
111
kono
parents: 67
diff changeset
1087 64, 0, 0)
kono
parents: 67
diff changeset
1088
kono
parents: 67
diff changeset
1089 DEFPARAM (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS,
kono
parents: 67
diff changeset
1090 "ipa-cp-array-index-hint-bonus",
kono
parents: 67
diff changeset
1091 "Compile-time bonus IPA-CP assigns to candidates which make an array "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1092 "index known.",
111
kono
parents: 67
diff changeset
1093 48, 0, 0)
kono
parents: 67
diff changeset
1094
kono
parents: 67
diff changeset
1095 DEFPARAM (PARAM_IPA_MAX_AA_STEPS,
kono
parents: 67
diff changeset
1096 "ipa-max-aa-steps",
kono
parents: 67
diff changeset
1097 "Maximum number of statements that will be visited by IPA formal "
kono
parents: 67
diff changeset
1098 "parameter analysis based on alias analysis in any given function.",
kono
parents: 67
diff changeset
1099 25000, 0, 0)
kono
parents: 67
diff changeset
1100
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1101 /* 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: 63
diff changeset
1102
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1103 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: 63
diff changeset
1104 "lto-partitions",
111
kono
parents: 67
diff changeset
1105 "Number of partitions the program should be split to.",
kono
parents: 67
diff changeset
1106 32, 1, 0)
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1107
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1108 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: 63
diff changeset
1109 "lto-min-partition",
111
kono
parents: 67
diff changeset
1110 "Minimal size of a partition for LTO (in estimated instructions).",
kono
parents: 67
diff changeset
1111 10000, 0, 0)
kono
parents: 67
diff changeset
1112
kono
parents: 67
diff changeset
1113 DEFPARAM (MAX_PARTITION_SIZE,
kono
parents: 67
diff changeset
1114 "lto-max-partition",
kono
parents: 67
diff changeset
1115 "Maximal size of a partition for LTO (in estimated instructions).",
kono
parents: 67
diff changeset
1116 1000000, 0, INT_MAX)
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1117
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1118 /* Diagnostic parameters. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1119
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1120 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: 63
diff changeset
1121 "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: 63
diff changeset
1122 "Maximum number of namespaces to search for alternatives when "
111
kono
parents: 67
diff changeset
1123 "name lookup fails.",
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
1124 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: 63
diff changeset
1125
111
kono
parents: 67
diff changeset
1126 /* Maximum number of conditional store pairs that can be sunk. */
kono
parents: 67
diff changeset
1127 DEFPARAM (PARAM_MAX_STORES_TO_SINK,
kono
parents: 67
diff changeset
1128 "max-stores-to-sink",
kono
parents: 67
diff changeset
1129 "Maximum number of conditional store pairs that can be sunk.",
kono
parents: 67
diff changeset
1130 2, 0, 0)
kono
parents: 67
diff changeset
1131
kono
parents: 67
diff changeset
1132 /* Override CASE_VALUES_THRESHOLD of when to switch from doing switch
kono
parents: 67
diff changeset
1133 statements via if statements to using a table jump operation. If the value
kono
parents: 67
diff changeset
1134 is 0, the default CASE_VALUES_THRESHOLD will be used. */
kono
parents: 67
diff changeset
1135 DEFPARAM (PARAM_CASE_VALUES_THRESHOLD,
kono
parents: 67
diff changeset
1136 "case-values-threshold",
kono
parents: 67
diff changeset
1137 "The smallest number of different values for which it is best to "
kono
parents: 67
diff changeset
1138 "use a jump-table instead of a tree of conditional branches, "
kono
parents: 67
diff changeset
1139 "if 0, use the default for the machine.",
kono
parents: 67
diff changeset
1140 0, 0, 0)
kono
parents: 67
diff changeset
1141
kono
parents: 67
diff changeset
1142 /* Data race flags for C++0x memory model compliance. */
kono
parents: 67
diff changeset
1143 DEFPARAM (PARAM_ALLOW_STORE_DATA_RACES,
kono
parents: 67
diff changeset
1144 "allow-store-data-races",
kono
parents: 67
diff changeset
1145 "Allow new data races on stores to be introduced.",
kono
parents: 67
diff changeset
1146 0, 0, 1)
kono
parents: 67
diff changeset
1147
kono
parents: 67
diff changeset
1148 /* Reassociation width to be used by tree reassoc optimization. */
kono
parents: 67
diff changeset
1149 DEFPARAM (PARAM_TREE_REASSOC_WIDTH,
kono
parents: 67
diff changeset
1150 "tree-reassoc-width",
kono
parents: 67
diff changeset
1151 "Set the maximum number of instructions executed in parallel in "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1152 "reassociated tree. If 0, use the target dependent heuristic.",
111
kono
parents: 67
diff changeset
1153 0, 0, 0)
kono
parents: 67
diff changeset
1154
kono
parents: 67
diff changeset
1155 DEFPARAM (PARAM_MAX_TAIL_MERGE_COMPARISONS,
kono
parents: 67
diff changeset
1156 "max-tail-merge-comparisons",
kono
parents: 67
diff changeset
1157 "Maximum amount of similar bbs to compare a bb with.",
kono
parents: 67
diff changeset
1158 10, 0, 0)
kono
parents: 67
diff changeset
1159
kono
parents: 67
diff changeset
1160 DEFPARAM (PARAM_STORE_MERGING_ALLOW_UNALIGNED,
kono
parents: 67
diff changeset
1161 "store-merging-allow-unaligned",
kono
parents: 67
diff changeset
1162 "Allow the store merging pass to introduce unaligned stores "
kono
parents: 67
diff changeset
1163 "if it is legal to do so.",
kono
parents: 67
diff changeset
1164 1, 0, 1)
kono
parents: 67
diff changeset
1165
kono
parents: 67
diff changeset
1166 DEFPARAM (PARAM_MAX_STORES_TO_MERGE,
kono
parents: 67
diff changeset
1167 "max-stores-to-merge",
kono
parents: 67
diff changeset
1168 "Maximum number of constant stores to merge in the "
kono
parents: 67
diff changeset
1169 "store merging pass.",
kono
parents: 67
diff changeset
1170 64, 2, 0)
kono
parents: 67
diff changeset
1171
kono
parents: 67
diff changeset
1172 DEFPARAM (PARAM_MAX_TAIL_MERGE_ITERATIONS,
kono
parents: 67
diff changeset
1173 "max-tail-merge-iterations",
kono
parents: 67
diff changeset
1174 "Maximum amount of iterations of the pass over a function.",
kono
parents: 67
diff changeset
1175 2, 0, 0)
kono
parents: 67
diff changeset
1176
kono
parents: 67
diff changeset
1177 /* Maximum number of strings for which strlen optimization pass will
kono
parents: 67
diff changeset
1178 track string lenths. */
kono
parents: 67
diff changeset
1179 DEFPARAM (PARAM_MAX_TRACKED_STRLENS,
kono
parents: 67
diff changeset
1180 "max-tracked-strlens",
kono
parents: 67
diff changeset
1181 "Maximum number of strings for which strlen optimization pass will "
kono
parents: 67
diff changeset
1182 "track string lengths.",
kono
parents: 67
diff changeset
1183 10000, 0, 0)
kono
parents: 67
diff changeset
1184
kono
parents: 67
diff changeset
1185 /* Keep this in sync with the sched_pressure_algorithm enum. */
kono
parents: 67
diff changeset
1186 DEFPARAM (PARAM_SCHED_PRESSURE_ALGORITHM,
kono
parents: 67
diff changeset
1187 "sched-pressure-algorithm",
kono
parents: 67
diff changeset
1188 "Which -fsched-pressure algorithm to apply.",
kono
parents: 67
diff changeset
1189 1, 1, 2)
kono
parents: 67
diff changeset
1190
kono
parents: 67
diff changeset
1191 /* Maximum length of candidate scans in straight-line strength reduction. */
kono
parents: 67
diff changeset
1192 DEFPARAM (PARAM_MAX_SLSR_CANDIDATE_SCAN,
kono
parents: 67
diff changeset
1193 "max-slsr-cand-scan",
kono
parents: 67
diff changeset
1194 "Maximum length of candidate scans for straight-line "
kono
parents: 67
diff changeset
1195 "strength reduction.",
kono
parents: 67
diff changeset
1196 50, 1, 999999)
kono
parents: 67
diff changeset
1197
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1198 /* ASan stands for AddressSanitizer: https://github.com/google/sanitizers. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1199
111
kono
parents: 67
diff changeset
1200 DEFPARAM (PARAM_ASAN_STACK,
kono
parents: 67
diff changeset
1201 "asan-stack",
kono
parents: 67
diff changeset
1202 "Enable asan stack protection.",
kono
parents: 67
diff changeset
1203 1, 0, 1)
kono
parents: 67
diff changeset
1204
kono
parents: 67
diff changeset
1205 DEFPARAM (PARAM_ASAN_PROTECT_ALLOCAS,
kono
parents: 67
diff changeset
1206 "asan-instrument-allocas",
kono
parents: 67
diff changeset
1207 "Enable asan allocas/VLAs protection.",
kono
parents: 67
diff changeset
1208 1, 0, 1)
kono
parents: 67
diff changeset
1209
kono
parents: 67
diff changeset
1210 DEFPARAM (PARAM_ASAN_GLOBALS,
kono
parents: 67
diff changeset
1211 "asan-globals",
kono
parents: 67
diff changeset
1212 "Enable asan globals protection.",
kono
parents: 67
diff changeset
1213 1, 0, 1)
kono
parents: 67
diff changeset
1214
kono
parents: 67
diff changeset
1215 DEFPARAM (PARAM_ASAN_INSTRUMENT_WRITES,
kono
parents: 67
diff changeset
1216 "asan-instrument-writes",
kono
parents: 67
diff changeset
1217 "Enable asan store operations protection.",
kono
parents: 67
diff changeset
1218 1, 0, 1)
kono
parents: 67
diff changeset
1219
kono
parents: 67
diff changeset
1220 DEFPARAM (PARAM_ASAN_INSTRUMENT_READS,
kono
parents: 67
diff changeset
1221 "asan-instrument-reads",
kono
parents: 67
diff changeset
1222 "Enable asan load operations protection.",
kono
parents: 67
diff changeset
1223 1, 0, 1)
kono
parents: 67
diff changeset
1224
kono
parents: 67
diff changeset
1225 DEFPARAM (PARAM_ASAN_MEMINTRIN,
kono
parents: 67
diff changeset
1226 "asan-memintrin",
kono
parents: 67
diff changeset
1227 "Enable asan builtin functions protection.",
kono
parents: 67
diff changeset
1228 1, 0, 1)
kono
parents: 67
diff changeset
1229
kono
parents: 67
diff changeset
1230 DEFPARAM (PARAM_ASAN_USE_AFTER_RETURN,
kono
parents: 67
diff changeset
1231 "asan-use-after-return",
kono
parents: 67
diff changeset
1232 "Enable asan detection of use-after-return bugs.",
kono
parents: 67
diff changeset
1233 1, 0, 1)
kono
parents: 67
diff changeset
1234
kono
parents: 67
diff changeset
1235 DEFPARAM (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD,
kono
parents: 67
diff changeset
1236 "asan-instrumentation-with-call-threshold",
kono
parents: 67
diff changeset
1237 "Use callbacks instead of inline code if number of accesses "
kono
parents: 67
diff changeset
1238 "in function becomes greater or equal to this number.",
kono
parents: 67
diff changeset
1239 7000, 0, INT_MAX)
kono
parents: 67
diff changeset
1240
kono
parents: 67
diff changeset
1241 DEFPARAM (PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD,
kono
parents: 67
diff changeset
1242 "use-after-scope-direct-emission-threshold",
kono
parents: 67
diff changeset
1243 "Use direct poisoning/unpoisoning instructions for variables "
kono
parents: 67
diff changeset
1244 "smaller or equal to this number.",
kono
parents: 67
diff changeset
1245 256, 0, INT_MAX)
kono
parents: 67
diff changeset
1246
kono
parents: 67
diff changeset
1247 DEFPARAM (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS,
kono
parents: 67
diff changeset
1248 "uninit-control-dep-attempts",
kono
parents: 67
diff changeset
1249 "Maximum number of nested calls to search for control dependencies "
kono
parents: 67
diff changeset
1250 "during uninitialized variable analysis.",
kono
parents: 67
diff changeset
1251 1000, 1, 0)
kono
parents: 67
diff changeset
1252
kono
parents: 67
diff changeset
1253 DEFPARAM (PARAM_FSM_SCALE_PATH_STMTS,
kono
parents: 67
diff changeset
1254 "fsm-scale-path-stmts",
kono
parents: 67
diff changeset
1255 "Scale factor to apply to the number of statements in a threading path when comparing to the number of (scaled) blocks.",
kono
parents: 67
diff changeset
1256 2, 1, 10)
kono
parents: 67
diff changeset
1257
kono
parents: 67
diff changeset
1258 DEFPARAM (PARAM_FSM_MAXIMUM_PHI_ARGUMENTS,
kono
parents: 67
diff changeset
1259 "fsm-maximum-phi-arguments",
kono
parents: 67
diff changeset
1260 "Maximum number of arguments a PHI may have before the FSM threader will not try to thread through its block.",
kono
parents: 67
diff changeset
1261 100, 1, 999999)
kono
parents: 67
diff changeset
1262
kono
parents: 67
diff changeset
1263 DEFPARAM (PARAM_FSM_SCALE_PATH_BLOCKS,
kono
parents: 67
diff changeset
1264 "fsm-scale-path-blocks",
kono
parents: 67
diff changeset
1265 "Scale factor to apply to the number of blocks in a threading path when comparing to the number of (scaled) statements.",
kono
parents: 67
diff changeset
1266 3, 1, 10)
kono
parents: 67
diff changeset
1267
kono
parents: 67
diff changeset
1268 DEFPARAM (PARAM_MAX_FSM_THREAD_PATH_INSNS,
kono
parents: 67
diff changeset
1269 "max-fsm-thread-path-insns",
kono
parents: 67
diff changeset
1270 "Maximum number of instructions to copy when duplicating blocks on a finite state automaton jump thread path.",
kono
parents: 67
diff changeset
1271 100, 1, 999999)
kono
parents: 67
diff changeset
1272
kono
parents: 67
diff changeset
1273 DEFPARAM (PARAM_MAX_FSM_THREAD_LENGTH,
kono
parents: 67
diff changeset
1274 "max-fsm-thread-length",
kono
parents: 67
diff changeset
1275 "Maximum number of basic blocks on a finite state automaton jump thread path.",
kono
parents: 67
diff changeset
1276 10, 1, 999999)
kono
parents: 67
diff changeset
1277
kono
parents: 67
diff changeset
1278 DEFPARAM (PARAM_MAX_FSM_THREAD_PATHS,
kono
parents: 67
diff changeset
1279 "max-fsm-thread-paths",
kono
parents: 67
diff changeset
1280 "Maximum number of new jump thread paths to create for a finite state automaton.",
kono
parents: 67
diff changeset
1281 50, 1, 999999)
kono
parents: 67
diff changeset
1282
kono
parents: 67
diff changeset
1283 DEFPARAM (PARAM_PARLOOPS_CHUNK_SIZE,
kono
parents: 67
diff changeset
1284 "parloops-chunk-size",
kono
parents: 67
diff changeset
1285 "Chunk size of omp schedule for loops parallelized by parloops.",
kono
parents: 67
diff changeset
1286 0, 0, 0)
kono
parents: 67
diff changeset
1287
kono
parents: 67
diff changeset
1288 DEFPARAMENUM5 (PARAM_PARLOOPS_SCHEDULE,
kono
parents: 67
diff changeset
1289 "parloops-schedule",
kono
parents: 67
diff changeset
1290 "Schedule type of omp schedule for loops parallelized by "
kono
parents: 67
diff changeset
1291 "parloops (static, dynamic, guided, auto, runtime).",
kono
parents: 67
diff changeset
1292 static,
kono
parents: 67
diff changeset
1293 static, dynamic, guided, auto, runtime)
kono
parents: 67
diff changeset
1294
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1295 DEFPARAM (PARAM_PARLOOPS_MIN_PER_THREAD,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1296 "parloops-min-per-thread",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1297 "Minimum number of iterations per thread of an innermost "
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1298 "parallelized loop.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1299 100, 2, 0)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1300
111
kono
parents: 67
diff changeset
1301 DEFPARAM (PARAM_MAX_SSA_NAME_QUERY_DEPTH,
kono
parents: 67
diff changeset
1302 "max-ssa-name-query-depth",
kono
parents: 67
diff changeset
1303 "Maximum recursion depth allowed when querying a property of an"
kono
parents: 67
diff changeset
1304 " SSA name.",
kono
parents: 67
diff changeset
1305 3, 1, 10)
kono
parents: 67
diff changeset
1306
kono
parents: 67
diff changeset
1307 DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_INSNS,
kono
parents: 67
diff changeset
1308 "max-rtl-if-conversion-insns",
kono
parents: 67
diff changeset
1309 "Maximum number of insns in a basic block to consider for RTL "
kono
parents: 67
diff changeset
1310 "if-conversion.",
kono
parents: 67
diff changeset
1311 10, 0, 99)
kono
parents: 67
diff changeset
1312
kono
parents: 67
diff changeset
1313 DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_PREDICTABLE_COST,
kono
parents: 67
diff changeset
1314 "max-rtl-if-conversion-predictable-cost",
kono
parents: 67
diff changeset
1315 "Maximum permissible cost for the sequence that would be "
kono
parents: 67
diff changeset
1316 "generated by the RTL if-conversion pass for a branch that "
kono
parents: 67
diff changeset
1317 "is considered predictable.",
kono
parents: 67
diff changeset
1318 20, 0, 200)
kono
parents: 67
diff changeset
1319
kono
parents: 67
diff changeset
1320 DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_UNPREDICTABLE_COST,
kono
parents: 67
diff changeset
1321 "max-rtl-if-conversion-unpredictable-cost",
kono
parents: 67
diff changeset
1322 "Maximum permissible cost for the sequence that would be "
kono
parents: 67
diff changeset
1323 "generated by the RTL if-conversion pass for a branch that "
kono
parents: 67
diff changeset
1324 "is considered unpredictable.",
kono
parents: 67
diff changeset
1325 40, 0, 200)
kono
parents: 67
diff changeset
1326
kono
parents: 67
diff changeset
1327 DEFPARAM (PARAM_HSA_GEN_DEBUG_STORES,
kono
parents: 67
diff changeset
1328 "hsa-gen-debug-stores",
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1329 "Level of hsa debug stores verbosity.",
111
kono
parents: 67
diff changeset
1330 0, 0, 1)
kono
parents: 67
diff changeset
1331
kono
parents: 67
diff changeset
1332 DEFPARAM (PARAM_MAX_SPECULATIVE_DEVIRT_MAYDEFS,
kono
parents: 67
diff changeset
1333 "max-speculative-devirt-maydefs",
kono
parents: 67
diff changeset
1334 "Maximum number of may-defs visited when devirtualizing "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1335 "speculatively.", 50, 0, 0)
111
kono
parents: 67
diff changeset
1336
kono
parents: 67
diff changeset
1337 DEFPARAM (PARAM_MAX_VRP_SWITCH_ASSERTIONS,
kono
parents: 67
diff changeset
1338 "max-vrp-switch-assertions",
kono
parents: 67
diff changeset
1339 "Maximum number of assertions to add along the default "
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1340 "edge of a switch statement during VRP.",
111
kono
parents: 67
diff changeset
1341 10, 0, 0)
kono
parents: 67
diff changeset
1342
kono
parents: 67
diff changeset
1343 DEFPARAM (PARAM_VECT_EPILOGUES_NOMASK,
kono
parents: 67
diff changeset
1344 "vect-epilogues-nomask",
kono
parents: 67
diff changeset
1345 "Enable loop epilogue vectorization using smaller vector size.",
kono
parents: 67
diff changeset
1346 0, 0, 1)
kono
parents: 67
diff changeset
1347
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1348 DEFPARAM(PARAM_UNROLL_JAM_MIN_PERCENT,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1349 "unroll-jam-min-percent",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1350 "Minimum percentage of memrefs that must go away for unroll-and-jam to be considered profitable.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1351 1, 0, 100)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1352
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1353 DEFPARAM(PARAM_UNROLL_JAM_MAX_UNROLL,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1354 "unroll-jam-max-unroll",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1355 "Maximum unroll factor for the unroll-and-jam transformation.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1356 4, 0, 0)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1357
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1358 DEFPARAM(PARAM_AVOID_FMA_MAX_BITS,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1359 "avoid-fma-max-bits",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1360 "Maximum number of bits for which we avoid creating FMAs.",
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1361 0, 0, 512)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1362
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1363 /*
111
kono
parents: 67
diff changeset
1364
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1365 Local variables:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1366 mode:c
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1367 End:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1368 */