]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/params.def
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
[thirdparty/gcc.git] / gcc / params.def
CommitLineData
9a33a2e8 1/* params.def - Run-time parameters.
2 Copyright (C) 2001 Free Software Foundation, Inc.
3 Written by Mark Mitchell <mark@codesourcery.com>.
4
f12b58b3 5This file is part of GCC.
9a33a2e8 6
f12b58b3 7GCC is free software; you can redistribute it and/or modify it under
8the terms of the GNU General Public License as published by the Free
9Software Foundation; either version 2, or (at your option) any later
10version.
9a33a2e8 11
f12b58b3 12GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or
14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15for more details.
9a33a2e8 16
17You should have received a copy of the GNU General Public License
f12b58b3 18along with GCC; see the file COPYING. If not, write to the Free
19Software Foundation, 59 Temple Place - Suite 330, Boston, MA
2002111-1307, USA.
9a33a2e8 21
22*/
23
24/* This file contains definitions for language-independent
25 parameters. The DEFPARAM macro takes 4 arguments:
26
21b80b12 27 - The enumeral corresponding to this parameter.
9a33a2e8 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
a5d654e2 34 - A default value for the parameter.
35
36 Be sure to add an entry to invoke.texi summarizing the parameter. */
9a33a2e8 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++).
b41b0259 42 The original default value of 10000 was arbitrary and caused
43 significant compile-time performance regressions. */
9a33a2e8 44DEFPARAM (PARAM_MAX_INLINE_INSNS,
45 "max-inline-insns",
46 "The maximum number of instructions in a function that is eligible for inlining",
b41b0259 47 600)
9a33a2e8 48
21b80b12 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
98d5e888 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
85de291e 71/* This parameter limits the number of branch elements that the
72 scheduler will track anti-dependancies through without resetting
73 the tracking mechanism. Large functions with few calls or barriers
74 can generate lists containing many 1000's of dependancies. Generally
75 the compiler either uses all available memory, or runs for far too long. */
76DEFPARAM(PARAM_MAX_PENDING_LIST_LENGTH,
77 "max-pending-list-length",
78 "The maximum length of scheduling's pending operations list",
79 32)
80
9159979b 81/* The GCSE optimization will be disabled if it would require
82 significantly more memory than this value. */
83DEFPARAM(PARAM_MAX_GCSE_MEMORY,
84 "max-gcse-memory",
85 "The maximum amount of memory to be allocated by GCSE",
86 50 * 1024 * 1024)
d023fd14 87/* The number of repetitions of copy/const prop and PRE to run. */
88DEFPARAM(PARAM_MAX_GCSE_PASSES,
89 "max-gcse-passes",
90 "The maximum number of passes to make when doing GCSE",
91 1)
9a33a2e8 92/*
93Local variables:
94mode:c
95End: */