OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [ada/] [alloc.ads] - Blame information for rev 401

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 281 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT COMPILER COMPONENTS                         --
4
--                                                                          --
5
--                                A L L O C                                 --
6
--                                                                          --
7
--                                 S p e c                                  --
8
--                                                                          --
9
--          Copyright (C) 1992-2009, Free Software Foundation, Inc.         --
10
--                                                                          --
11
-- GNAT is free software;  you can  redistribute it  and/or modify it under --
12
-- terms of the  GNU General Public License as published  by the Free Soft- --
13
-- ware  Foundation;  either version 3,  or (at your option) any later ver- --
14
-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15
-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16
-- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
17
--                                                                          --
18
-- As a special exception under Section 7 of GPL version 3, you are granted --
19
-- additional permissions described in the GCC Runtime Library Exception,   --
20
-- version 3.1, as published by the Free Software Foundation.               --
21
--                                                                          --
22
-- You should have received a copy of the GNU General Public License and    --
23
-- a copy of the GCC Runtime Library Exception along with this program;     --
24
-- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
25
-- <http://www.gnu.org/licenses/>.                                          --
26
--                                                                          --
27
-- GNAT was originally developed  by the GNAT team at  New York University. --
28
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
29
--                                                                          --
30
------------------------------------------------------------------------------
31
 
32
--  This package contains definitions for initial sizes and growth increments
33
--  for the various dynamic arrays used for principle compiler data strcutures.
34
--  The indicated initial size is allocated for the start of each file, and
35
--  the increment factor is a percentage used to increase the table size when
36
--  it needs expanding (e.g. a value of 100 = 100% increase = double)
37
 
38
--  Note: the initial values here are multiplied by Table_Factor, as set
39
--  by the -gnatTnn switch. This variable is defined in Opt, as is the
40
--  default value for the table factor.
41
 
42
package Alloc is
43
 
44
   --  The comment shows the unit in which the table is defined
45
 
46
   All_Interp_Initial               : constant := 1_000;   -- Sem_Type
47
   All_Interp_Increment             : constant := 100;
48
 
49
   Branches_Initial                 : constant := 1_000;   -- Sem_Warn
50
   Branches_Increment               : constant := 100;
51
 
52
   Conditionals_Initial             : constant := 1_000;   -- Sem_Warn
53
   Conditionals_Increment           : constant := 100;
54
 
55
   Conditional_Stack_Initial        : constant := 50;      -- Sem_Warn
56
   Conditional_Stack_Increment      : constant := 100;
57
 
58
   Elists_Initial                   : constant := 200;     -- Elists
59
   Elists_Increment                 : constant := 100;
60
 
61
   Elmts_Initial                    : constant := 1_200;   -- Elists
62
   Elmts_Increment                  : constant := 100;
63
 
64
   File_Name_Chars_Initial          : constant := 10_000;  -- Osint
65
   File_Name_Chars_Increment        : constant := 100;
66
 
67
   Inlined_Bodies_Initial           : constant := 50;      -- Inline
68
   Inlined_Bodies_Increment         : constant := 200;
69
 
70
   Inlined_Initial                  : constant := 100;     -- Inline
71
   Inlined_Increment                : constant := 100;
72
 
73
   In_Out_Warnings_Initial          : constant := 100;     -- Sem_Warn
74
   In_Out_Warnings_Increment        : constant := 100;
75
 
76
   Interp_Map_Initial               : constant := 200;     -- Sem_Type
77
   Interp_Map_Increment             : constant := 100;
78
 
79
   Lines_Initial                    : constant := 500;     -- Sinput
80
   Lines_Increment                  : constant := 150;
81
 
82
   Linker_Option_Lines_Initial      : constant := 5;       -- Lib
83
   Linker_Option_Lines_Increment    : constant := 200;
84
 
85
   Lists_Initial                    : constant := 4_000;   -- Nlists
86
   Lists_Increment                  : constant := 200;
87
 
88
   Load_Stack_Initial               : constant := 10;      -- Lib
89
   Load_Stack_Increment             : constant := 100;
90
 
91
   Name_Chars_Initial               : constant := 50_000;  -- Namet
92
   Name_Chars_Increment             : constant := 100;
93
 
94
   Name_Qualify_Units_Initial       : constant := 200;     -- Exp_Dbug
95
   Name_Qualify_Units_Increment     : constant := 300;
96
 
97
   Names_Initial                    : constant := 6_000;   -- Namet
98
   Names_Increment                  : constant := 100;
99
 
100
   Nodes_Initial                    : constant := 50_000;  -- Atree
101
   Nodes_Increment                  : constant := 100;
102
 
103
   Obsolescent_Warnings_Initial     : constant := 50;      -- Sem_Prag
104
   Obsolescent_Warnings_Increment   : constant := 200;
105
 
106
   Orig_Nodes_Initial               : constant := 50_000;  -- Atree
107
   Orig_Nodes_Increment             : constant := 100;
108
 
109
   Pending_Instantiations_Initial   : constant := 10;      -- Inline
110
   Pending_Instantiations_Increment : constant := 100;
111
 
112
   Rep_Table_Initial                : constant := 1000;    -- Repinfo
113
   Rep_Table_Increment              : constant := 200;
114
 
115
   Scope_Stack_Initial              : constant := 10;      -- Sem
116
   Scope_Stack_Increment            : constant := 200;
117
 
118
   SFN_Table_Initial                : constant := 10;      -- Fname
119
   SFN_Table_Increment              : constant := 200;
120
 
121
   Source_File_Initial              : constant := 10;      -- Sinput
122
   Source_File_Increment            : constant := 200;
123
 
124
   String_Chars_Initial             : constant := 2_500;   -- Stringt
125
   String_Chars_Increment           : constant := 150;
126
 
127
   Strings_Initial                  : constant := 5_00;    -- Stringt
128
   Strings_Increment                : constant := 150;
129
 
130
   Successors_Initial               : constant := 2_00;    -- Inline
131
   Successors_Increment             : constant := 100;
132
 
133
   Udigits_Initial                  : constant := 10_000;  -- Uintp
134
   Udigits_Increment                : constant := 100;
135
 
136
   Uints_Initial                    : constant := 5_000;   -- Uintp
137
   Uints_Increment                  : constant := 100;
138
 
139
   Units_Initial                    : constant := 30;      -- Lib
140
   Units_Increment                  : constant := 100;
141
 
142
   Ureals_Initial                   : constant := 200;     -- Urealp
143
   Ureals_Increment                 : constant := 100;
144
 
145
   Unreferenced_Entities_Initial    : constant := 1_000;   -- Sem_Warn
146
   Unreferenced_Entities_Increment  : constant := 100;
147
 
148
   Warnings_Off_Pragmas_Initial     : constant := 500;     -- Sem_Warn
149
   Warnings_Off_Pragmas_Increment   : constant := 100;
150
 
151
   With_List_Initial                : constant := 10;      -- Features
152
   With_List_Increment              : constant := 300;
153
 
154
   Xrefs_Initial                    : constant := 5_000;   -- Cross-refs
155
   Xrefs_Increment                  : constant := 300;
156
 
157
end Alloc;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.