]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/params.def
pt.c (tsubst_template_parms): Call maybe_fold_nontype_arg and tsubst_expr for default...
[thirdparty/gcc.git] / gcc / params.def
CommitLineData
c6d9a88c
MM
1/* params.def - Run-time parameters.
2 Copyright (C) 2001 Free Software Foundation, Inc.
3 Written by Mark Mitchell <mark@codesourcery.com>.
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU CC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING. If not, write to
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA.
21
22*/
23
24/* This file contains definitions for language-independent
25 parameters. The DEFPARAM macro takes 4 arguments:
26
0443f602 27 - The enumeral corresponding to this parameter.
c6d9a88c
MM
28
29 - The name that can be used to set this parameter using the
30 command-line option `--param <name>=<value>'.
31
32 - A help string explaining how the parameter is used.
33
1c4c47db
JO
34 - A default value for the parameter.
35
36 Be sure to add an entry to invoke.texi summarizing the parameter. */
c6d9a88c
MM
37
38/* The maximum number of instructions accepted for inlining a
39 function. Increasing values mean more agressive inlining.
40 This affects currently only functions explicitly marked as
41 inline (or methods defined within the class definition for C++).
42 The default value of 10000 is arbitrary but high to match the
43 previously unlimited gcc capabilities. */
44DEFPARAM (PARAM_MAX_INLINE_INSNS,
45 "max-inline-insns",
46 "The maximum number of instructions in a function that is eligible for inlining",
1c432a87 47 100)
c6d9a88c 48
0443f602
JO
49/* The maximum number of instructions to consider when looking for an
50 instruction to fill a delay slot. If more than this arbitrary
51 number of instructions is searched, the time savings from filling
52 the delay slot will be minimal so stop searching. Increasing
53 values mean more aggressive optimization, making the compile time
54 increase with probably small improvement in executable run time. */
55DEFPARAM (PARAM_MAX_DELAY_SLOT_INSN_SEARCH,
56 "max-delay-slot-insn-search",
57 "The maximum number of instructions to consider to fill a delay slot",
58 100)
59
d5d063d7
JO
60/* When trying to fill delay slots, the maximum number of instructions
61 to consider when searching for a block with valid live register
62 information. Increasing this arbitrarily chosen value means more
63 aggressive optimization, increasing the compile time. This
64 parameter should be removed when the delay slot code is rewritten
65 to maintain the control-flow graph. */
66DEFPARAM(PARAM_MAX_DELAY_SLOT_LIVE_SEARCH,
67 "max-delay-slot-live-search",
68 "The maximum number of instructions to consider to find accurate live register information",
69 333)
70
f1fa37ff
MM
71/* The GCSE optimization will be disabled if it would require
72 significantly more memory than this value. */
73DEFPARAM(PARAM_MAX_GCSE_MEMORY,
74 "max-gcse-memory",
75 "The maximum amount of memory to be allocated by GCSE",
76 50 * 1024 * 1024)
740f35a0
DB
77/* The number of repetitions of copy/const prop and PRE to run. */
78DEFPARAM(PARAM_MAX_GCSE_PASSES,
79 "max-gcse-passes",
80 "The maximum number of passes to make when doing GCSE",
81 1)
c6d9a88c
MM
82/*
83Local variables:
84mode:c
85End: */