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

Subversion Repositories openrisc_me

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [ada/] [atree.ads] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 281 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT COMPILER COMPONENTS                         --
4
--                                                                          --
5
--                                A T R E E                                 --
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
with Alloc;
33
with Sinfo;  use Sinfo;
34
with Einfo;  use Einfo;
35
with Namet;  use Namet;
36
with Types;  use Types;
37
with Snames; use Snames;
38
with System; use System;
39
with Table;
40
with Uintp;  use Uintp;
41
with Urealp; use Urealp;
42
with Unchecked_Conversion;
43
 
44
package Atree is
45
 
46
--  This package defines the format of the tree used to represent the Ada
47
--  program internally. Syntactic and semantic information is combined in
48
--  this tree. There is no separate symbol table structure.
49
 
50
--  WARNING: There is a C version of this package. Any changes to this
51
--  source file must be properly reflected in the C header file atree.h
52
 
53
--  Package Atree defines the basic structure of the tree and its nodes and
54
--  provides the basic abstract interface for manipulating the tree. Two
55
--  other packages use this interface to define the representation of Ada
56
--  programs using this tree format. The package Sinfo defines the basic
57
--  representation of the syntactic structure of the program, as output
58
--  by the parser. The package Entity_Info defines the semantic information
59
--  which is added to the tree nodes that represent declared entities (i.e.
60
--  the information which might typically be described in a separate symbol
61
--  table structure).
62
 
63
--  The front end of the compiler first parses the program and generates a
64
--  tree that is simply a syntactic representation of the program in abstract
65
--  syntax tree format. Subsequent processing in the front end traverses the
66
--  tree, transforming it in various ways and adding semantic information.
67
 
68
   ----------------------------------------
69
   -- Definitions of Fields in Tree Node --
70
   ----------------------------------------
71
 
72
   --  The representation of the tree is completely hidden, using a functional
73
   --  interface for accessing and modifying the contents of nodes. Logically
74
   --  a node contains a number of fields, much as though the nodes were
75
   --  defined as a record type. The fields in a node are as follows:
76
 
77
   --   Nkind         Indicates the kind of the node. This field is present
78
   --                 in all nodes. The type is Node_Kind, which is declared
79
   --                 in the package Sinfo.
80
 
81
   --   Sloc          Location (Source_Ptr) of the corresponding token
82
   --                 in the Source buffer. The individual node definitions
83
   --                 show which token is referenced by this pointer.
84
 
85
   --   In_List       A flag used to indicate if the node is a member
86
   --                 of a node list.
87
 
88
   --   Rewrite_Sub   A flag set if the node has been rewritten using
89
   --                 the Rewrite procedure. The original value of the
90
   --                 node is retrievable with Original_Node.
91
 
92
   --   Rewrite_Ins   A flag set if a node is marked as a rewrite inserted
93
   --                 node as a result of a call to Mark_Rewrite_Insertion.
94
 
95
   --   Paren_Count   A 2-bit count used in sub-expression nodes to indicate
96
   --                 the level of parentheses. The settings are 0,1,2 and
97
   --                 3 for many. If the value is 3, then an auxiliary table
98
   --                 is used to indicate the real value. Set to zero for
99
   --                 non-subexpression nodes.
100
 
101
   --   Comes_From_Source
102
   --                 This flag is present in all nodes. It is set if the
103
   --                 node is built by the scanner or parser, and clear if
104
   --                 the node is built by the analyzer or expander. It
105
   --                 indicates that the node corresponds to a construct
106
   --                 that appears in the original source program.
107
 
108
   --   Analyzed      This flag is present in all nodes. It is set when
109
   --                 a node is analyzed, and is used to avoid analyzing
110
   --                 the same node twice. Analysis includes expansion if
111
   --                 expansion is active, so in this case if the flag is
112
   --                 set it means the node has been analyzed and expanded.
113
 
114
   --   Error_Posted  This flag is present in all nodes. It is set when
115
   --                 an error message is posted which is associated with
116
   --                 the flagged node. This is used to avoid posting more
117
   --                 than one message on the same node.
118
 
119
   --   Field1
120
   --   Field2
121
   --   Field3
122
   --   Field4
123
   --   Field5        Five fields holding Union_Id values
124
 
125
   --   ElistN        Synonym for FieldN typed as Elist_Id (Empty = No_Elist)
126
   --   ListN         Synonym for FieldN typed as List_Id
127
   --   NameN         Synonym for FieldN typed as Name_Id
128
   --   NodeN         Synonym for FieldN typed as Node_Id
129
   --   StrN          Synonym for FieldN typed as String_Id
130
   --   UintN         Synonym for FieldN typed as Uint (Empty = Uint_0)
131
   --   UrealN        Synonym for FieldN typed as Ureal
132
 
133
   --   Note: in the case of ElistN and UintN fields, it is common that we
134
   --   end up with a value of Union_Id'(0) as the default value. This value
135
   --   is meaningless as a Uint or Elist_Id value. We have two choices here.
136
   --   We could require that all Uint and Elist fields be initialized to an
137
   --   appropriate value, but that's error prone, since it would be easy to
138
   --   miss an initialization. So instead we have the retrieval functions
139
   --   generate an appropriate default value (Uint_0 or No_Elist). Probably
140
   --   it would be cleaner to generate No_Uint in the Uint case but we got
141
   --   stuck with representing an "unset" size value as zero early on, and
142
   --   it will take a bit of fiddling to change that ???
143
 
144
   --   Note: the actual usage of FieldN (i.e. whether it contains a Elist_Id,
145
   --   List_Id, Name_Id, Node_Id, String_Id, Uint or Ureal) depends on the
146
   --   value in Nkind. Generally the access to this field is always via the
147
   --   functional interface, so the field names ElistN, ListN, NameN, NodeN,
148
   --   StrN, UintN and UrealN are used only in the bodies of the access
149
   --   functions (i.e. in the bodies of Sinfo and Einfo). These access
150
   --   functions contain debugging code that checks that the use is
151
   --   consistent with Nkind and Ekind values.
152
 
153
   --   However, in specialized circumstances (examples are the circuit in
154
   --   generic instantiation to copy trees, and in the tree dump routine),
155
   --   it is useful to be able to do untyped traversals, and an internal
156
   --   package in Atree allows for direct untyped accesses in such cases.
157
 
158
   --   Flag4         Fifteen Boolean flags (use depends on Nkind and
159
   --   Flag5         Ekind, as described for FieldN). Again the access
160
   --   Flag6         is usually via subprograms in Sinfo and Einfo which
161
   --   Flag7         provide high-level synonyms for these flags, and
162
   --   Flag8         contain debugging code that checks that the values
163
   --   Flag9         in Nkind and Ekind are appropriate for the access.
164
   --   Flag10
165
   --   Flag11        Note that Flag1-3 are missing from this list. The
166
   --   Flag12        first three flag positions are reserved for the
167
   --   Flag13        standard flags (Comes_From_Source, Error_Posted,
168
   --   Flag14        and Analyzed)
169
   --   Flag15
170
   --   Flag16
171
   --   Flag17
172
   --   Flag18
173
 
174
   --   Link          For a node, points to the Parent. For a list, points
175
   --                 to the list header. Note that in the latter case, a
176
   --                 client cannot modify the link field. This field is
177
   --                 private to the Atree package (but is also modified
178
   --                 by the Nlists package).
179
 
180
   --  The following additional fields are present in extended nodes used
181
   --  for entities (Nkind in N_Entity).
182
 
183
   --   Ekind         Entity type. This field indicates the type of the
184
   --                 entity, it is of type Entity_Kind which is defined
185
   --                 in package Einfo.
186
 
187
   --   Flag19        229 additional flags
188
   --   ...
189
   --   Flag247
190
 
191
   --   Convention    Entity convention (Convention_Id value)
192
 
193
   --   Field6        Additional Union_Id value stored in tree
194
 
195
   --   Node6         Synonym for Field6 typed as Node_Id
196
   --   Elist6        Synonym for Field6 typed as Elist_Id (Empty = No_Elist)
197
   --   Uint6         Synonym for Field6 typed as Uint (Empty = Uint_0)
198
 
199
   --   Similar definitions for Field7 to Field28 (and Node7-Node28,
200
   --   Elist7-Elist28, Uint7-Uint28, Ureal7-Ureal28). Note that not all
201
   --   these functions are defined, only the ones that are actually used.
202
 
203
   function Last_Node_Id return Node_Id;
204
   pragma Inline (Last_Node_Id);
205
   --  Returns Id of last allocated node Id
206
 
207
   function Nodes_Address return System.Address;
208
   --  Return address of Nodes table (used in Back_End for Gigi call)
209
 
210
   function Num_Nodes return Nat;
211
   --  Total number of nodes allocated, where an entity counts as a single
212
   --  node. This count is incremented every time a node or entity is
213
   --  allocated, and decremented every time a node or entity is deleted.
214
   --  This value is used by Xref and by Treepr to allocate hash tables of
215
   --  suitable size for hashing Node_Id values.
216
 
217
   -----------------------
218
   -- Use of Empty Node --
219
   -----------------------
220
 
221
   --  The special Node_Id Empty is used to mark missing fields. Whenever the
222
   --  syntax has an optional component, then the corresponding field will be
223
   --  set to Empty if the component is missing.
224
 
225
   --  Note: Empty is not used to describe an empty list. Instead in this
226
   --  case the node field contains a list which is empty, and these cases
227
   --  should be distinguished (essentially from a type point of view, Empty
228
   --  is a Node, and is thus not a list).
229
 
230
   --  Note: Empty does in fact correspond to an allocated node. Only the
231
   --  Nkind field of this node may be referenced. It contains N_Empty, which
232
   --  uniquely identifies the empty case. This allows the Nkind field to be
233
   --  dereferenced before the check for Empty which is sometimes useful.
234
 
235
   -----------------------
236
   -- Use of Error Node --
237
   -----------------------
238
 
239
   --  The Error node is used during syntactic and semantic analysis to
240
   --  indicate that the corresponding piece of syntactic structure or
241
   --  semantic meaning cannot properly be represented in the tree because
242
   --  of an illegality in the program.
243
 
244
   --  If an Error node is encountered, then you know that a previous
245
   --  illegality has been detected. The proper reaction should be to
246
   --  avoid posting related cascaded error messages, and to propagate
247
   --  the error node if necessary.
248
 
249
   ------------------------
250
   -- Current_Error_Node --
251
   ------------------------
252
 
253
   --  The current error node is a global location indicating the current
254
   --  node that is being processed for the purposes of placing a compiler
255
   --  abort message. This is not necessarily perfectly accurate, it is
256
   --  just a reasonably accurate best guess. It is used to output the
257
   --  source location in the abort message by Comperr, and also to
258
   --  implement the d3 debugging flag. This is also used by Rtsfind
259
   --  to generate error messages for high integrity mode.
260
 
261
   --  There are two ways this gets set. During parsing, when new source
262
   --  nodes are being constructed by calls to New_Node and New_Entity,
263
   --  either one of these calls sets Current_Error_Node to the newly
264
   --  created node. During semantic analysis, this mechanism is not
265
   --  used, and instead Current_Error_Node is set by the subprograms in
266
   --  Debug_A that mark the start and end of analysis/expansion of a
267
   --  node in the tree.
268
 
269
   Current_Error_Node : Node_Id;
270
   --  Node to place error messages
271
 
272
   -------------------------------
273
   -- Default Setting of Fields --
274
   -------------------------------
275
 
276
   --  Nkind is set to N_Unused_At_Start
277
 
278
   --  Ekind is set to E_Void
279
 
280
   --  Sloc is always set, there is no default value
281
 
282
   --  Field1-5 fields are set to Empty
283
 
284
   --  Field6-22 fields in extended nodes are set to Empty
285
 
286
   --  Parent is set to Empty
287
 
288
   --  All Boolean flag fields are set to False
289
 
290
   --  Note: the value Empty is used in Field1-Field17 to indicate a null node.
291
   --  The usage varies. The common uses are to indicate absence of an
292
   --  optional clause or a completely unused Field1-17 field.
293
 
294
   -------------------------------------
295
   -- Use of Synonyms for Node Fields --
296
   -------------------------------------
297
 
298
   --  A subpackage Atree.Unchecked_Access provides routines for reading and
299
   --  writing the fields defined above (Field1-27, Node1-27, Flag1-247 etc).
300
   --  These unchecked access routines can be used for untyped traversals.
301
   --  In addition they are used in the implementations of the Sinfo and
302
   --  Einfo packages. These packages both provide logical synonyms for
303
   --  the generic fields, together with an appropriate set of access routines.
304
   --  Normally access to information within tree nodes uses these synonyms,
305
   --  providing a high level typed interface to the tree information.
306
 
307
   --------------------------------------------------
308
   -- Node Allocation and Modification Subprograms --
309
   --------------------------------------------------
310
 
311
   --  Generally the parser builds the tree and then it is further decorated
312
   --  (e.g. by setting the entity fields), but not fundamentally modified.
313
   --  However, there are cases in which the tree must be restructured by
314
   --  adding and rearranging nodes, as a result of disambiguating cases
315
   --  which the parser could not parse correctly, and adding additional
316
   --  semantic information (e.g. making constraint checks explicit). The
317
   --  following subprograms are used for constructing the tree in the first
318
   --  place, and then for subsequent modifications as required.
319
 
320
   procedure Initialize;
321
   --  Called at the start of compilation to initialize the allocation of
322
   --  the node and list tables and make the standard entries for Empty,
323
   --  Error and Error_List. Note that Initialize must not be called if
324
   --  Tree_Read is used.
325
 
326
   procedure Lock;
327
   --  Called before the back end is invoked to lock the nodes table
328
   --  Also called after Unlock to relock???
329
 
330
   procedure Unlock;
331
   --  Unlocks nodes table, in cases where the back end needs to modify it
332
 
333
   procedure Tree_Read;
334
   --  Initializes internal tables from current tree file using the relevant
335
   --  Table.Tree_Read routines. Note that Initialize should not be called if
336
   --  Tree_Read is used. Tree_Read includes all necessary initialization.
337
 
338
   procedure Tree_Write;
339
   --  Writes out internal tables to current tree file using the relevant
340
   --  Table.Tree_Write routines.
341
 
342
   function New_Node
343
     (New_Node_Kind : Node_Kind;
344
      New_Sloc      : Source_Ptr) return Node_Id;
345
   --  Allocates a completely new node with the given node type and source
346
   --  location values. All other fields are set to their standard defaults:
347
   --
348
   --    Empty for all FieldN fields
349
   --    False for all FlagN fields
350
   --
351
   --  The usual approach is to build a new node using this function and
352
   --  then, using the value returned, use the Set_xxx functions to set
353
   --  fields of the node as required. New_Node can only be used for
354
   --  non-entity nodes, i.e. it never generates an extended node.
355
   --
356
   --  If we are currently parsing, as indicated by a previous call to
357
   --  Set_Comes_From_Source_Default (True), then this call also resets
358
   --  the value of Current_Error_Node.
359
 
360
   function New_Entity
361
     (New_Node_Kind : Node_Kind;
362
      New_Sloc      : Source_Ptr) return Entity_Id;
363
   --  Similar to New_Node, except that it is used only for entity nodes
364
   --  and returns an extended node.
365
 
366
   procedure Set_Comes_From_Source_Default (Default : Boolean);
367
   --  Sets value of Comes_From_Source flag to be used in all subsequent
368
   --  New_Node and New_Entity calls until another call to this procedure
369
   --  changes the default. This value is set True during parsing and
370
   --  False during semantic analysis. This is also used to determine
371
   --  if New_Node and New_Entity should set Current_Error_Node.
372
 
373
   function Get_Comes_From_Source_Default return Boolean;
374
   pragma Inline (Get_Comes_From_Source_Default);
375
   --  Gets the current value of the Comes_From_Source flag
376
 
377
   procedure Preserve_Comes_From_Source (NewN, OldN : Node_Id);
378
   pragma Inline (Preserve_Comes_From_Source);
379
   --  When a node is rewritten, it is sometimes appropriate to preserve the
380
   --  original comes from source indication. This is true when the rewrite
381
   --  essentially corresponds to a transformation corresponding exactly to
382
   --  semantics in the reference manual. This procedure copies the setting
383
   --  of Comes_From_Source from OldN to NewN.
384
 
385
   function Has_Extension (N : Node_Id) return Boolean;
386
   pragma Inline (Has_Extension);
387
   --  Returns True if the given node has an extension (i.e. was created by
388
   --  a call to New_Entity rather than New_Node, and Nkind is in N_Entity)
389
 
390
   procedure Change_Node (N : Node_Id; New_Node_Kind : Node_Kind);
391
   --  This procedure replaces the given node by setting its Nkind field to
392
   --  the indicated value and resetting all other fields to their default
393
   --  values except for Sloc, which is unchanged, and the Parent pointer
394
   --  and list links, which are also unchanged. All other information in
395
   --  the original node is lost. The new node has an extension if the
396
   --  original node had an extension.
397
 
398
   procedure Copy_Node (Source : Node_Id; Destination : Node_Id);
399
   --  Copy the entire contents of the source node to the destination node.
400
   --  The contents of the source node is not affected. If the source node
401
   --  has an extension, then the destination must have an extension also.
402
   --  The parent pointer of the destination and its list link, if any, are
403
   --  not affected by the copy. Note that parent pointers of descendents
404
   --  are not adjusted, so the descendents of the destination node after
405
   --  the Copy_Node is completed have dubious parent pointers.
406
 
407
   function New_Copy (Source : Node_Id) return Node_Id;
408
   --  This function allocates a completely new node, and then initializes
409
   --  it by copying the contents of the source node into it. The contents
410
   --  of the source node is not affected. The target node is always marked
411
   --  as not being in a list (even if the source is a list member). The
412
   --  new node will have an extension if the source has an extension.
413
   --  New_Copy (Empty) returns Empty and New_Copy (Error) returns Error.
414
   --  Note that, unlike New_Copy_Tree, New_Copy does not recursively copy any
415
   --  descendents, so in general parent pointers are not set correctly for
416
   --  the descendents of the copied node. Both normal and extended nodes
417
   --  (entities) may be copied using New_Copy.
418
 
419
   function Relocate_Node (Source : Node_Id) return Node_Id;
420
   --  Source is a non-entity node that is to be relocated. A new node is
421
   --  allocated and the contents of Source are copied to this node using
422
   --  Copy_Node. The parent pointers of descendents of the node are then
423
   --  adjusted to point to the relocated copy. The original node is not
424
   --  modified, but the parent pointers of its descendents are no longer
425
   --  valid. This routine is used in conjunction with the tree rewrite
426
   --  routines (see descriptions of Replace/Rewrite).
427
   --
428
   --  Note that the resulting node has the same parent as the source
429
   --  node, and is thus still attached to the tree. It is valid for
430
   --  Source to be Empty, in which case Relocate_Node simply returns
431
   --  Empty as the result.
432
 
433
   function Copy_Separate_Tree (Source : Node_Id) return Node_Id;
434
   --  Given a node that is the root of a subtree, Copy_Separate_Tree copies
435
   --  the entire syntactic subtree, including recursively any descendants
436
   --  whose parent field references a copied node (descendants not linked to
437
   --  a copied node by the parent field are also copied.) The parent pointers
438
   --  in the copy are properly set. Copy_Separate_Tree (Empty/Error) returns
439
   --  Empty/Error. The semantic fields are not copied and the new subtree
440
   --  does not share any entity with source subtree.
441
   --  But the code *does* copy semantic fields, and the description above
442
   --  is in any case unclear on this point ??? (RBKD)
443
 
444
   procedure Exchange_Entities (E1 : Entity_Id; E2 : Entity_Id);
445
   --  Exchange the contents of two entities. The parent pointers are switched
446
   --  as well as the Defining_Identifier fields in the parents, so that the
447
   --  entities point correctly to their original parents. The effect is thus
448
   --  to leave the tree completely unchanged in structure, except that the
449
   --  entity ID values of the two entities are interchanged. Neither of the
450
   --  two entities may be list members.
451
 
452
   function Extend_Node (Node : Node_Id) return Entity_Id;
453
   --  This function returns a copy of its input node with an extension
454
   --  added. The fields of the extension are set to Empty. Due to the way
455
   --  extensions are handled (as four consecutive array elements), it may
456
   --  be necessary to reallocate the node, so that the returned value is
457
   --  not the same as the input value, but where possible the returned
458
   --  value will be the same as the input value (i.e. the extension will
459
   --  occur in place). It is the caller's responsibility to ensure that
460
   --  any pointers to the original node are appropriately updated. This
461
   --  function is used only by Sinfo.CN to change nodes into their
462
   --  corresponding entities.
463
 
464
   type Traverse_Result is (Abandon, OK, OK_Orig, Skip);
465
   --  This is the type of the result returned by the Process function passed
466
   --  to Traverse_Func and Traverse_Proc. See below for details.
467
 
468
   subtype Traverse_Final_Result is Traverse_Result range Abandon .. OK;
469
   --  This is the type of the final result returned Traverse_Func, based on
470
   --  the results of Process calls. See below for details.
471
 
472
   generic
473
     with function Process (N : Node_Id) return Traverse_Result is <>;
474
   function Traverse_Func (Node : Node_Id) return Traverse_Final_Result;
475
   --  This is a generic function that, given the parent node for a subtree,
476
   --  traverses all syntactic nodes of this tree, calling the given function
477
   --  Process on each one, in pre order (i.e. top-down). The order of
478
   --  traversing subtrees is arbitrary. The traversal is controlled as follows
479
   --  by the result returned by Process:
480
 
481
   --    OK       The traversal continues normally with the syntactic
482
   --             children of the node just processed.
483
 
484
   --    OK_Orig  The traversal continues normally with the syntactic
485
   --             children of the original node of the node just processed.
486
 
487
   --    Skip     The children of the node just processed are skipped and
488
   --             excluded from the traversal, but otherwise processing
489
   --             continues elsewhere in the tree.
490
 
491
   --    Abandon  The entire traversal is immediately abandoned, and the
492
   --             original call to Traverse returns Abandon.
493
 
494
   --  The result returned by Traverse is Abandon if processing was terminated
495
   --  by a call to Process returning Abandon, otherwise it is OK (meaning that
496
   --  all calls to process returned either OK, OK_Orig, or Skip).
497
 
498
   generic
499
     with function Process (N : Node_Id) return Traverse_Result is <>;
500
   procedure Traverse_Proc (Node : Node_Id);
501
   pragma Inline (Traverse_Proc);
502
   --  This is the same as Traverse_Func except that no result is returned,
503
   --  i.e. Traverse_Func is called and the result is simply discarded.
504
 
505
   ---------------------------
506
   -- Node Access Functions --
507
   ---------------------------
508
 
509
   --  The following functions return the contents of the indicated field of
510
   --  the node referenced by the argument, which is a Node_Id.
511
 
512
   function Nkind             (N : Node_Id) return Node_Kind;
513
   pragma Inline (Nkind);
514
 
515
   function Analyzed          (N : Node_Id) return Boolean;
516
   pragma Inline (Analyzed);
517
 
518
   function Comes_From_Source (N : Node_Id) return Boolean;
519
   pragma Inline (Comes_From_Source);
520
 
521
   function Error_Posted      (N : Node_Id) return Boolean;
522
   pragma Inline (Error_Posted);
523
 
524
   function Sloc              (N : Node_Id) return Source_Ptr;
525
   pragma Inline (Sloc);
526
 
527
   function Paren_Count       (N : Node_Id) return Nat;
528
   pragma Inline (Paren_Count);
529
 
530
   function Parent            (N : Node_Id) return Node_Id;
531
   pragma Inline (Parent);
532
   --  Returns the parent of a node if the node is not a list member, or
533
   --  else the parent of the list containing the node if the node is a
534
   --  list member.
535
 
536
   function No                (N : Node_Id) return Boolean;
537
   pragma Inline (No);
538
   --  Tests given Id for equality with the Empty node. This allows notations
539
   --  like "if No (Variant_Part)" as opposed to "if Variant_Part = Empty".
540
 
541
   function Present           (N : Node_Id) return Boolean;
542
   pragma Inline (Present);
543
   --  Tests given Id for inequality with the Empty node. This allows notations
544
   --  like "if Present (Statement)" as opposed to "if Statement /= Empty".
545
 
546
   --  Node_Kind tests, like the functions in Sinfo, but the first argument is
547
   --  a Node_Id, and the tested field is Nkind (N).
548
 
549
   function Nkind_In
550
     (N  : Node_Id;
551
      V1 : Node_Kind;
552
      V2 : Node_Kind) return Boolean;
553
 
554
   function Nkind_In
555
     (N  : Node_Id;
556
      V1 : Node_Kind;
557
      V2 : Node_Kind;
558
      V3 : Node_Kind) return Boolean;
559
 
560
   function Nkind_In
561
     (N  : Node_Id;
562
      V1 : Node_Kind;
563
      V2 : Node_Kind;
564
      V3 : Node_Kind;
565
      V4 : Node_Kind) return Boolean;
566
 
567
   function Nkind_In
568
     (N  : Node_Id;
569
      V1 : Node_Kind;
570
      V2 : Node_Kind;
571
      V3 : Node_Kind;
572
      V4 : Node_Kind;
573
      V5 : Node_Kind) return Boolean;
574
 
575
   function Nkind_In
576
     (N  : Node_Id;
577
      V1 : Node_Kind;
578
      V2 : Node_Kind;
579
      V3 : Node_Kind;
580
      V4 : Node_Kind;
581
      V5 : Node_Kind;
582
      V6 : Node_Kind) return Boolean;
583
 
584
   function Nkind_In
585
     (N  : Node_Id;
586
      V1 : Node_Kind;
587
      V2 : Node_Kind;
588
      V3 : Node_Kind;
589
      V4 : Node_Kind;
590
      V5 : Node_Kind;
591
      V6 : Node_Kind;
592
      V7 : Node_Kind) return Boolean;
593
 
594
   function Nkind_In
595
     (N  : Node_Id;
596
      V1 : Node_Kind;
597
      V2 : Node_Kind;
598
      V3 : Node_Kind;
599
      V4 : Node_Kind;
600
      V5 : Node_Kind;
601
      V6 : Node_Kind;
602
      V7 : Node_Kind;
603
      V8 : Node_Kind) return Boolean;
604
 
605
   function Nkind_In
606
     (N  : Node_Id;
607
      V1 : Node_Kind;
608
      V2 : Node_Kind;
609
      V3 : Node_Kind;
610
      V4 : Node_Kind;
611
      V5 : Node_Kind;
612
      V6 : Node_Kind;
613
      V7 : Node_Kind;
614
      V8 : Node_Kind;
615
      V9 : Node_Kind) return Boolean;
616
 
617
   pragma Inline (Nkind_In);
618
   --  Inline all above functions
619
 
620
   -----------------------------
621
   -- Entity Access Functions --
622
   -----------------------------
623
 
624
   --  The following functions apply only to Entity_Id values, i.e.
625
   --  to extended nodes.
626
 
627
   function Ekind (E : Entity_Id) return Entity_Kind;
628
   pragma Inline (Ekind);
629
 
630
   function Convention (E : Entity_Id) return Convention_Id;
631
   pragma Inline (Convention);
632
 
633
   ----------------------------
634
   -- Node Update Procedures --
635
   ----------------------------
636
 
637
   --  The following functions set a specified field in the node whose Id is
638
   --  passed as the first argument. The second parameter is the new value
639
   --  to be set in the specified field. Note that Set_Nkind is in the next
640
   --  section, since its use is restricted.
641
 
642
   procedure Set_Sloc         (N : Node_Id; Val : Source_Ptr);
643
   pragma Inline (Set_Sloc);
644
 
645
   procedure Set_Paren_Count  (N : Node_Id; Val : Nat);
646
   pragma Inline (Set_Paren_Count);
647
 
648
   procedure Set_Parent       (N : Node_Id; Val : Node_Id);
649
   pragma Inline (Set_Parent);
650
 
651
   procedure Set_Analyzed     (N : Node_Id; Val : Boolean := True);
652
   pragma Inline (Set_Analyzed);
653
 
654
   procedure Set_Error_Posted (N : Node_Id; Val : Boolean := True);
655
   pragma Inline (Set_Error_Posted);
656
 
657
   procedure Set_Comes_From_Source (N : Node_Id; Val : Boolean);
658
   pragma Inline (Set_Comes_From_Source);
659
   --  Note that this routine is very rarely used, since usually the
660
   --  default mechanism provided sets the right value, but in some
661
   --  unusual cases, the value needs to be reset (e.g. when a source
662
   --  node is copied, and the copy must not have Comes_From_Source set.
663
 
664
   ------------------------------
665
   -- Entity Update Procedures --
666
   ------------------------------
667
 
668
   --  The following procedures apply only to Entity_Id values, i.e.
669
   --  to extended nodes.
670
 
671
   procedure Basic_Set_Convention (E : Entity_Id; Val : Convention_Id);
672
   pragma Inline (Basic_Set_Convention);
673
   --  Clients should use Sem_Util.Set_Convention rather than calling this
674
   --  routine directly, as Set_Convention also deals with the special
675
   --  processing required for access types.
676
 
677
   procedure Set_Ekind (E : Entity_Id; Val : Entity_Kind);
678
   pragma Inline (Set_Ekind);
679
 
680
   ---------------------------
681
   -- Tree Rewrite Routines --
682
   ---------------------------
683
 
684
   --  During the compilation process it is necessary in a number of situations
685
   --  to rewrite the tree. In some cases, such rewrites do not affect the
686
   --  structure of the tree, for example, when an indexed component node is
687
   --  replaced by the corresponding call node (the parser cannot distinguish
688
   --  between these two cases).
689
 
690
   --  In other situations, the rewrite does affect the structure of the
691
   --  tree. Examples are the replacement of a generic instantiation by the
692
   --  instantiated spec and body, and the static evaluation of expressions.
693
 
694
   --  If such structural modifications are done by the expander, there are
695
   --  no difficulties, since the form of the tree after the expander has no
696
   --  special significance, except as input to the backend of the compiler.
697
   --  However, if these modifications are done by the semantic phase, then
698
   --  it is important that they be done in a manner which allows the original
699
   --  tree to be preserved. This is because tools like pretty printers need
700
   --  to have this original tree structure available.
701
 
702
   --  The subprograms in this section allow rewriting of the tree by either
703
   --  insertion of new nodes in an existing list, or complete replacement of
704
   --  a subtree. The resulting tree for most purposes looks as though it has
705
   --  been really changed, and there is no trace of the original. However,
706
   --  special subprograms, also defined in this section, allow the original
707
   --  tree to be reconstructed if necessary.
708
 
709
   --  For tree modifications done in the expander, it is permissible to
710
   --  destroy the original tree, although it is also allowable to use the
711
   --  tree rewrite routines where it is convenient to do so.
712
 
713
   procedure Mark_Rewrite_Insertion (New_Node : Node_Id);
714
   pragma Inline (Mark_Rewrite_Insertion);
715
   --  This procedure marks the given node as an insertion made during a tree
716
   --  rewriting operation. Only the root needs to be marked. The call does
717
   --  not do the actual insertion, which must be done using one of the normal
718
   --  list insertion routines. The node is treated normally in all respects
719
   --  except for its response to Is_Rewrite_Insertion. The function of these
720
   --  calls is to be able to get an accurate original tree. This helps the
721
   --  accuracy of Sprint.Sprint_Node, and in particular, when stubs are being
722
   --  generated, it is essential that the original tree be accurate.
723
 
724
   function Is_Rewrite_Insertion (Node : Node_Id) return Boolean;
725
   pragma Inline (Is_Rewrite_Insertion);
726
   --  Tests whether the given node was marked using Set_Rewrite_Insert. This
727
   --  is used in reconstructing the original tree (where such nodes are to
728
   --  be eliminated from the reconstructed tree).
729
 
730
   procedure Rewrite (Old_Node, New_Node : Node_Id);
731
   --  This is used when a complete subtree is to be replaced. Old_Node is the
732
   --  root of the old subtree to be replaced, and New_Node is the root of the
733
   --  newly constructed replacement subtree. The actual mechanism is to swap
734
   --  the contents of these two nodes fixing up the parent pointers of the
735
   --  replaced node (we do not attempt to preserve parent pointers for the
736
   --  original node). Neither Old_Node nor New_Node can be extended nodes.
737
   --
738
   --  Note: New_Node may not contain references to Old_Node, for example as
739
   --  descendents, since the rewrite would make such references invalid. If
740
   --  New_Node does need to reference Old_Node, then these references should
741
   --  be to a relocated copy of Old_Node (see Relocate_Node procedure).
742
   --
743
   --  Note: The Original_Node function applied to Old_Node (which has now
744
   --  been replaced by the contents of New_Node), can be used to obtain the
745
   --  original node, i.e. the old contents of Old_Node.
746
 
747
   procedure Replace (Old_Node, New_Node : Node_Id);
748
   --  This is similar to Rewrite, except that the old value of Old_Node is
749
   --  not saved, and the New_Node is deleted after the replace, since it
750
   --  is assumed that it can no longer be legitimately needed. The flag
751
   --  Is_Rewrite_Susbtitute will be False for the resulting node, unless
752
   --  it was already true on entry, and Original_Node will not return the
753
   --  original contents of the Old_Node, but rather the New_Node value (unless
754
   --  Old_Node had already been rewritten using Rewrite). Replace also
755
   --  preserves the setting of Comes_From_Source.
756
   --
757
   --  Note, New_Node may not contain references to Old_Node, for example as
758
   --  descendents, since the rewrite would make such references invalid. If
759
   --  New_Node does need to reference Old_Node, then these references should
760
   --  be to a relocated copy of Old_Node (see Relocate_Node procedure).
761
   --
762
   --  Replace is used in certain circumstances where it is desirable to
763
   --  suppress any history of the rewriting operation. Notably, it is used
764
   --  when the parser has mis-classified a node (e.g. a task entry call
765
   --  that the parser has parsed as a procedure call).
766
 
767
   function Is_Rewrite_Substitution (Node : Node_Id) return Boolean;
768
   pragma Inline (Is_Rewrite_Substitution);
769
   --  Return True iff Node has been rewritten (i.e. if Node is the root
770
   --  of a subtree which was installed using Rewrite).
771
 
772
   function Original_Node (Node : Node_Id) return Node_Id;
773
   pragma Inline (Original_Node);
774
   --  If Node has not been rewritten, then returns its input argument
775
   --  unchanged, else returns the Node for the original subtree.
776
   --
777
   --  Note: Parents are not preserved in original tree nodes that are
778
   --  retrieved in this way (i.e. their children may have children whose
779
   --  pointers which reference some other node).
780
 
781
   --  Note: there is no direct mechanism for deleting an original node (in
782
   --  a manner that can be reversed later). One possible approach is to use
783
   --  Rewrite to substitute a null statement for the node to be deleted.
784
 
785
   -----------------------------------
786
   -- Generic Field Access Routines --
787
   -----------------------------------
788
 
789
   --  This subpackage provides the functions for accessing and procedures for
790
   --  setting fields that are normally referenced by their logical synonyms
791
   --  defined in packages Sinfo and Einfo. The implementations of these
792
   --  packages use the package Atree.Unchecked_Access.
793
 
794
   package Unchecked_Access is
795
 
796
      --  Functions to allow interpretation of Union_Id values as Uint
797
      --  and Ureal values
798
 
799
      function To_Union is new Unchecked_Conversion (Uint,  Union_Id);
800
      function To_Union is new Unchecked_Conversion (Ureal, Union_Id);
801
 
802
      function From_Union is new Unchecked_Conversion (Union_Id, Uint);
803
      function From_Union is new Unchecked_Conversion (Union_Id, Ureal);
804
 
805
      --  Functions to fetch contents of indicated field. It is an error
806
      --  to attempt to read the value of a field which is not present.
807
 
808
      function Field1 (N : Node_Id) return Union_Id;
809
      pragma Inline (Field1);
810
 
811
      function Field2 (N : Node_Id) return Union_Id;
812
      pragma Inline (Field2);
813
 
814
      function Field3 (N : Node_Id) return Union_Id;
815
      pragma Inline (Field3);
816
 
817
      function Field4 (N : Node_Id) return Union_Id;
818
      pragma Inline (Field4);
819
 
820
      function Field5 (N : Node_Id) return Union_Id;
821
      pragma Inline (Field5);
822
 
823
      function Field6 (N : Node_Id) return Union_Id;
824
      pragma Inline (Field6);
825
 
826
      function Field7 (N : Node_Id) return Union_Id;
827
      pragma Inline (Field7);
828
 
829
      function Field8 (N : Node_Id) return Union_Id;
830
      pragma Inline (Field8);
831
 
832
      function Field9 (N : Node_Id) return Union_Id;
833
      pragma Inline (Field9);
834
 
835
      function Field10 (N : Node_Id) return Union_Id;
836
      pragma Inline (Field10);
837
 
838
      function Field11 (N : Node_Id) return Union_Id;
839
      pragma Inline (Field11);
840
 
841
      function Field12 (N : Node_Id) return Union_Id;
842
      pragma Inline (Field12);
843
 
844
      function Field13 (N : Node_Id) return Union_Id;
845
      pragma Inline (Field13);
846
 
847
      function Field14 (N : Node_Id) return Union_Id;
848
      pragma Inline (Field14);
849
 
850
      function Field15 (N : Node_Id) return Union_Id;
851
      pragma Inline (Field15);
852
 
853
      function Field16 (N : Node_Id) return Union_Id;
854
      pragma Inline (Field16);
855
 
856
      function Field17 (N : Node_Id) return Union_Id;
857
      pragma Inline (Field17);
858
 
859
      function Field18 (N : Node_Id) return Union_Id;
860
      pragma Inline (Field18);
861
 
862
      function Field19 (N : Node_Id) return Union_Id;
863
      pragma Inline (Field19);
864
 
865
      function Field20 (N : Node_Id) return Union_Id;
866
      pragma Inline (Field20);
867
 
868
      function Field21 (N : Node_Id) return Union_Id;
869
      pragma Inline (Field21);
870
 
871
      function Field22 (N : Node_Id) return Union_Id;
872
      pragma Inline (Field22);
873
 
874
      function Field23 (N : Node_Id) return Union_Id;
875
      pragma Inline (Field23);
876
 
877
      function Field24 (N : Node_Id) return Union_Id;
878
      pragma Inline (Field24);
879
 
880
      function Field25 (N : Node_Id) return Union_Id;
881
      pragma Inline (Field25);
882
 
883
      function Field26 (N : Node_Id) return Union_Id;
884
      pragma Inline (Field26);
885
 
886
      function Field27 (N : Node_Id) return Union_Id;
887
      pragma Inline (Field27);
888
 
889
      function Field28 (N : Node_Id) return Union_Id;
890
      pragma Inline (Field28);
891
 
892
      function Node1 (N : Node_Id) return Node_Id;
893
      pragma Inline (Node1);
894
 
895
      function Node2 (N : Node_Id) return Node_Id;
896
      pragma Inline (Node2);
897
 
898
      function Node3 (N : Node_Id) return Node_Id;
899
      pragma Inline (Node3);
900
 
901
      function Node4 (N : Node_Id) return Node_Id;
902
      pragma Inline (Node4);
903
 
904
      function Node5 (N : Node_Id) return Node_Id;
905
      pragma Inline (Node5);
906
 
907
      function Node6 (N : Node_Id) return Node_Id;
908
      pragma Inline (Node6);
909
 
910
      function Node7 (N : Node_Id) return Node_Id;
911
      pragma Inline (Node7);
912
 
913
      function Node8 (N : Node_Id) return Node_Id;
914
      pragma Inline (Node8);
915
 
916
      function Node9 (N : Node_Id) return Node_Id;
917
      pragma Inline (Node9);
918
 
919
      function Node10 (N : Node_Id) return Node_Id;
920
      pragma Inline (Node10);
921
 
922
      function Node11 (N : Node_Id) return Node_Id;
923
      pragma Inline (Node11);
924
 
925
      function Node12 (N : Node_Id) return Node_Id;
926
      pragma Inline (Node12);
927
 
928
      function Node13 (N : Node_Id) return Node_Id;
929
      pragma Inline (Node13);
930
 
931
      function Node14 (N : Node_Id) return Node_Id;
932
      pragma Inline (Node14);
933
 
934
      function Node15 (N : Node_Id) return Node_Id;
935
      pragma Inline (Node15);
936
 
937
      function Node16 (N : Node_Id) return Node_Id;
938
      pragma Inline (Node16);
939
 
940
      function Node17 (N : Node_Id) return Node_Id;
941
      pragma Inline (Node17);
942
 
943
      function Node18 (N : Node_Id) return Node_Id;
944
      pragma Inline (Node18);
945
 
946
      function Node19 (N : Node_Id) return Node_Id;
947
      pragma Inline (Node19);
948
 
949
      function Node20 (N : Node_Id) return Node_Id;
950
      pragma Inline (Node20);
951
 
952
      function Node21 (N : Node_Id) return Node_Id;
953
      pragma Inline (Node21);
954
 
955
      function Node22 (N : Node_Id) return Node_Id;
956
      pragma Inline (Node22);
957
 
958
      function Node23 (N : Node_Id) return Node_Id;
959
      pragma Inline (Node23);
960
 
961
      function Node24 (N : Node_Id) return Node_Id;
962
      pragma Inline (Node24);
963
 
964
      function Node25 (N : Node_Id) return Node_Id;
965
      pragma Inline (Node25);
966
 
967
      function Node26 (N : Node_Id) return Node_Id;
968
      pragma Inline (Node26);
969
 
970
      function Node27 (N : Node_Id) return Node_Id;
971
      pragma Inline (Node27);
972
 
973
      function Node28 (N : Node_Id) return Node_Id;
974
      pragma Inline (Node28);
975
 
976
      function List1 (N : Node_Id) return List_Id;
977
      pragma Inline (List1);
978
 
979
      function List2 (N : Node_Id) return List_Id;
980
      pragma Inline (List2);
981
 
982
      function List3 (N : Node_Id) return List_Id;
983
      pragma Inline (List3);
984
 
985
      function List4 (N : Node_Id) return List_Id;
986
      pragma Inline (List4);
987
 
988
      function List5 (N : Node_Id) return List_Id;
989
      pragma Inline (List5);
990
 
991
      function List10 (N : Node_Id) return List_Id;
992
      pragma Inline (List10);
993
 
994
      function List14 (N : Node_Id) return List_Id;
995
      pragma Inline (List14);
996
 
997
      function Elist1 (N : Node_Id) return Elist_Id;
998
      pragma Inline (Elist1);
999
 
1000
      function Elist2 (N : Node_Id) return Elist_Id;
1001
      pragma Inline (Elist2);
1002
 
1003
      function Elist3 (N : Node_Id) return Elist_Id;
1004
      pragma Inline (Elist3);
1005
 
1006
      function Elist4 (N : Node_Id) return Elist_Id;
1007
      pragma Inline (Elist4);
1008
 
1009
      function Elist8 (N : Node_Id) return Elist_Id;
1010
      pragma Inline (Elist8);
1011
 
1012
      function Elist13 (N : Node_Id) return Elist_Id;
1013
      pragma Inline (Elist13);
1014
 
1015
      function Elist15 (N : Node_Id) return Elist_Id;
1016
      pragma Inline (Elist15);
1017
 
1018
      function Elist16 (N : Node_Id) return Elist_Id;
1019
      pragma Inline (Elist16);
1020
 
1021
      function Elist18 (N : Node_Id) return Elist_Id;
1022
      pragma Inline (Elist18);
1023
 
1024
      function Elist21 (N : Node_Id) return Elist_Id;
1025
      pragma Inline (Elist21);
1026
 
1027
      function Elist23 (N : Node_Id) return Elist_Id;
1028
      pragma Inline (Elist23);
1029
 
1030
      function Elist25 (N : Node_Id) return Elist_Id;
1031
      pragma Inline (Elist25);
1032
 
1033
      function Elist26 (N : Node_Id) return Elist_Id;
1034
      pragma Inline (Elist26);
1035
 
1036
      function Name1 (N : Node_Id) return Name_Id;
1037
      pragma Inline (Name1);
1038
 
1039
      function Name2 (N : Node_Id) return Name_Id;
1040
      pragma Inline (Name2);
1041
 
1042
      function Str3 (N : Node_Id) return String_Id;
1043
      pragma Inline (Str3);
1044
 
1045
      --  Note: the following Uintnn functions have a special test for
1046
      --  the Field value being Empty. If an Empty value is found then
1047
      --  Uint_0 is returned. This avoids the rather tricky requirement
1048
      --  of initializing all Uint fields in nodes and entities.
1049
 
1050
      function Uint2 (N : Node_Id) return Uint;
1051
      pragma Inline (Uint2);
1052
 
1053
      function Uint3 (N : Node_Id) return Uint;
1054
      pragma Inline (Uint3);
1055
 
1056
      function Uint4 (N : Node_Id) return Uint;
1057
      pragma Inline (Uint4);
1058
 
1059
      function Uint5 (N : Node_Id) return Uint;
1060
      pragma Inline (Uint5);
1061
 
1062
      function Uint8 (N : Node_Id) return Uint;
1063
      pragma Inline (Uint8);
1064
 
1065
      function Uint9 (N : Node_Id) return Uint;
1066
      pragma Inline (Uint9);
1067
 
1068
      function Uint10 (N : Node_Id) return Uint;
1069
      pragma Inline (Uint10);
1070
 
1071
      function Uint11 (N : Node_Id) return Uint;
1072
      pragma Inline (Uint11);
1073
 
1074
      function Uint12 (N : Node_Id) return Uint;
1075
      pragma Inline (Uint12);
1076
 
1077
      function Uint13 (N : Node_Id) return Uint;
1078
      pragma Inline (Uint13);
1079
 
1080
      function Uint14 (N : Node_Id) return Uint;
1081
      pragma Inline (Uint14);
1082
 
1083
      function Uint15 (N : Node_Id) return Uint;
1084
      pragma Inline (Uint15);
1085
 
1086
      function Uint16 (N : Node_Id) return Uint;
1087
      pragma Inline (Uint16);
1088
 
1089
      function Uint17 (N : Node_Id) return Uint;
1090
      pragma Inline (Uint17);
1091
 
1092
      function Uint22 (N : Node_Id) return Uint;
1093
      pragma Inline (Uint22);
1094
 
1095
      function Ureal3 (N : Node_Id) return Ureal;
1096
      pragma Inline (Ureal3);
1097
 
1098
      function Ureal18 (N : Node_Id) return Ureal;
1099
      pragma Inline (Ureal18);
1100
 
1101
      function Ureal21 (N : Node_Id) return Ureal;
1102
      pragma Inline (Ureal21);
1103
 
1104
      function Flag4 (N : Node_Id) return Boolean;
1105
      pragma Inline (Flag4);
1106
 
1107
      function Flag5 (N : Node_Id) return Boolean;
1108
      pragma Inline (Flag5);
1109
 
1110
      function Flag6 (N : Node_Id) return Boolean;
1111
      pragma Inline (Flag6);
1112
 
1113
      function Flag7 (N : Node_Id) return Boolean;
1114
      pragma Inline (Flag7);
1115
 
1116
      function Flag8 (N : Node_Id) return Boolean;
1117
      pragma Inline (Flag8);
1118
 
1119
      function Flag9 (N : Node_Id) return Boolean;
1120
      pragma Inline (Flag9);
1121
 
1122
      function Flag10 (N : Node_Id) return Boolean;
1123
      pragma Inline (Flag10);
1124
 
1125
      function Flag11 (N : Node_Id) return Boolean;
1126
      pragma Inline (Flag11);
1127
 
1128
      function Flag12 (N : Node_Id) return Boolean;
1129
      pragma Inline (Flag12);
1130
 
1131
      function Flag13 (N : Node_Id) return Boolean;
1132
      pragma Inline (Flag13);
1133
 
1134
      function Flag14 (N : Node_Id) return Boolean;
1135
      pragma Inline (Flag14);
1136
 
1137
      function Flag15 (N : Node_Id) return Boolean;
1138
      pragma Inline (Flag15);
1139
 
1140
      function Flag16 (N : Node_Id) return Boolean;
1141
      pragma Inline (Flag16);
1142
 
1143
      function Flag17 (N : Node_Id) return Boolean;
1144
      pragma Inline (Flag17);
1145
 
1146
      function Flag18 (N : Node_Id) return Boolean;
1147
      pragma Inline (Flag18);
1148
 
1149
      function Flag19 (N : Node_Id) return Boolean;
1150
      pragma Inline (Flag19);
1151
 
1152
      function Flag20 (N : Node_Id) return Boolean;
1153
      pragma Inline (Flag20);
1154
 
1155
      function Flag21 (N : Node_Id) return Boolean;
1156
      pragma Inline (Flag21);
1157
 
1158
      function Flag22 (N : Node_Id) return Boolean;
1159
      pragma Inline (Flag22);
1160
 
1161
      function Flag23 (N : Node_Id) return Boolean;
1162
      pragma Inline (Flag23);
1163
 
1164
      function Flag24 (N : Node_Id) return Boolean;
1165
      pragma Inline (Flag24);
1166
 
1167
      function Flag25 (N : Node_Id) return Boolean;
1168
      pragma Inline (Flag25);
1169
 
1170
      function Flag26 (N : Node_Id) return Boolean;
1171
      pragma Inline (Flag26);
1172
 
1173
      function Flag27 (N : Node_Id) return Boolean;
1174
      pragma Inline (Flag27);
1175
 
1176
      function Flag28 (N : Node_Id) return Boolean;
1177
      pragma Inline (Flag28);
1178
 
1179
      function Flag29 (N : Node_Id) return Boolean;
1180
      pragma Inline (Flag29);
1181
 
1182
      function Flag30 (N : Node_Id) return Boolean;
1183
      pragma Inline (Flag30);
1184
 
1185
      function Flag31 (N : Node_Id) return Boolean;
1186
      pragma Inline (Flag31);
1187
 
1188
      function Flag32 (N : Node_Id) return Boolean;
1189
      pragma Inline (Flag32);
1190
 
1191
      function Flag33 (N : Node_Id) return Boolean;
1192
      pragma Inline (Flag33);
1193
 
1194
      function Flag34 (N : Node_Id) return Boolean;
1195
      pragma Inline (Flag34);
1196
 
1197
      function Flag35 (N : Node_Id) return Boolean;
1198
      pragma Inline (Flag35);
1199
 
1200
      function Flag36 (N : Node_Id) return Boolean;
1201
      pragma Inline (Flag36);
1202
 
1203
      function Flag37 (N : Node_Id) return Boolean;
1204
      pragma Inline (Flag37);
1205
 
1206
      function Flag38 (N : Node_Id) return Boolean;
1207
      pragma Inline (Flag38);
1208
 
1209
      function Flag39 (N : Node_Id) return Boolean;
1210
      pragma Inline (Flag39);
1211
 
1212
      function Flag40 (N : Node_Id) return Boolean;
1213
      pragma Inline (Flag40);
1214
 
1215
      function Flag41 (N : Node_Id) return Boolean;
1216
      pragma Inline (Flag41);
1217
 
1218
      function Flag42 (N : Node_Id) return Boolean;
1219
      pragma Inline (Flag42);
1220
 
1221
      function Flag43 (N : Node_Id) return Boolean;
1222
      pragma Inline (Flag43);
1223
 
1224
      function Flag44 (N : Node_Id) return Boolean;
1225
      pragma Inline (Flag44);
1226
 
1227
      function Flag45 (N : Node_Id) return Boolean;
1228
      pragma Inline (Flag45);
1229
 
1230
      function Flag46 (N : Node_Id) return Boolean;
1231
      pragma Inline (Flag46);
1232
 
1233
      function Flag47 (N : Node_Id) return Boolean;
1234
      pragma Inline (Flag47);
1235
 
1236
      function Flag48 (N : Node_Id) return Boolean;
1237
      pragma Inline (Flag48);
1238
 
1239
      function Flag49 (N : Node_Id) return Boolean;
1240
      pragma Inline (Flag49);
1241
 
1242
      function Flag50 (N : Node_Id) return Boolean;
1243
      pragma Inline (Flag50);
1244
 
1245
      function Flag51 (N : Node_Id) return Boolean;
1246
      pragma Inline (Flag51);
1247
 
1248
      function Flag52 (N : Node_Id) return Boolean;
1249
      pragma Inline (Flag52);
1250
 
1251
      function Flag53 (N : Node_Id) return Boolean;
1252
      pragma Inline (Flag53);
1253
 
1254
      function Flag54 (N : Node_Id) return Boolean;
1255
      pragma Inline (Flag54);
1256
 
1257
      function Flag55 (N : Node_Id) return Boolean;
1258
      pragma Inline (Flag55);
1259
 
1260
      function Flag56 (N : Node_Id) return Boolean;
1261
      pragma Inline (Flag56);
1262
 
1263
      function Flag57 (N : Node_Id) return Boolean;
1264
      pragma Inline (Flag57);
1265
 
1266
      function Flag58 (N : Node_Id) return Boolean;
1267
      pragma Inline (Flag58);
1268
 
1269
      function Flag59 (N : Node_Id) return Boolean;
1270
      pragma Inline (Flag59);
1271
 
1272
      function Flag60 (N : Node_Id) return Boolean;
1273
      pragma Inline (Flag60);
1274
 
1275
      function Flag61 (N : Node_Id) return Boolean;
1276
      pragma Inline (Flag61);
1277
 
1278
      function Flag62 (N : Node_Id) return Boolean;
1279
      pragma Inline (Flag62);
1280
 
1281
      function Flag63 (N : Node_Id) return Boolean;
1282
      pragma Inline (Flag63);
1283
 
1284
      function Flag64 (N : Node_Id) return Boolean;
1285
      pragma Inline (Flag64);
1286
 
1287
      function Flag65 (N : Node_Id) return Boolean;
1288
      pragma Inline (Flag65);
1289
 
1290
      function Flag66 (N : Node_Id) return Boolean;
1291
      pragma Inline (Flag66);
1292
 
1293
      function Flag67 (N : Node_Id) return Boolean;
1294
      pragma Inline (Flag67);
1295
 
1296
      function Flag68 (N : Node_Id) return Boolean;
1297
      pragma Inline (Flag68);
1298
 
1299
      function Flag69 (N : Node_Id) return Boolean;
1300
      pragma Inline (Flag69);
1301
 
1302
      function Flag70 (N : Node_Id) return Boolean;
1303
      pragma Inline (Flag70);
1304
 
1305
      function Flag71 (N : Node_Id) return Boolean;
1306
      pragma Inline (Flag71);
1307
 
1308
      function Flag72 (N : Node_Id) return Boolean;
1309
      pragma Inline (Flag72);
1310
 
1311
      function Flag73 (N : Node_Id) return Boolean;
1312
      pragma Inline (Flag73);
1313
 
1314
      function Flag74 (N : Node_Id) return Boolean;
1315
      pragma Inline (Flag74);
1316
 
1317
      function Flag75 (N : Node_Id) return Boolean;
1318
      pragma Inline (Flag75);
1319
 
1320
      function Flag76 (N : Node_Id) return Boolean;
1321
      pragma Inline (Flag76);
1322
 
1323
      function Flag77 (N : Node_Id) return Boolean;
1324
      pragma Inline (Flag77);
1325
 
1326
      function Flag78 (N : Node_Id) return Boolean;
1327
      pragma Inline (Flag78);
1328
 
1329
      function Flag79 (N : Node_Id) return Boolean;
1330
      pragma Inline (Flag79);
1331
 
1332
      function Flag80 (N : Node_Id) return Boolean;
1333
      pragma Inline (Flag80);
1334
 
1335
      function Flag81 (N : Node_Id) return Boolean;
1336
      pragma Inline (Flag81);
1337
 
1338
      function Flag82 (N : Node_Id) return Boolean;
1339
      pragma Inline (Flag82);
1340
 
1341
      function Flag83 (N : Node_Id) return Boolean;
1342
      pragma Inline (Flag83);
1343
 
1344
      function Flag84 (N : Node_Id) return Boolean;
1345
      pragma Inline (Flag84);
1346
 
1347
      function Flag85 (N : Node_Id) return Boolean;
1348
      pragma Inline (Flag85);
1349
 
1350
      function Flag86 (N : Node_Id) return Boolean;
1351
      pragma Inline (Flag86);
1352
 
1353
      function Flag87 (N : Node_Id) return Boolean;
1354
      pragma Inline (Flag87);
1355
 
1356
      function Flag88 (N : Node_Id) return Boolean;
1357
      pragma Inline (Flag88);
1358
 
1359
      function Flag89 (N : Node_Id) return Boolean;
1360
      pragma Inline (Flag89);
1361
 
1362
      function Flag90 (N : Node_Id) return Boolean;
1363
      pragma Inline (Flag90);
1364
 
1365
      function Flag91 (N : Node_Id) return Boolean;
1366
      pragma Inline (Flag91);
1367
 
1368
      function Flag92 (N : Node_Id) return Boolean;
1369
      pragma Inline (Flag92);
1370
 
1371
      function Flag93 (N : Node_Id) return Boolean;
1372
      pragma Inline (Flag93);
1373
 
1374
      function Flag94 (N : Node_Id) return Boolean;
1375
      pragma Inline (Flag94);
1376
 
1377
      function Flag95 (N : Node_Id) return Boolean;
1378
      pragma Inline (Flag95);
1379
 
1380
      function Flag96 (N : Node_Id) return Boolean;
1381
      pragma Inline (Flag96);
1382
 
1383
      function Flag97 (N : Node_Id) return Boolean;
1384
      pragma Inline (Flag97);
1385
 
1386
      function Flag98 (N : Node_Id) return Boolean;
1387
      pragma Inline (Flag98);
1388
 
1389
      function Flag99 (N : Node_Id) return Boolean;
1390
      pragma Inline (Flag99);
1391
 
1392
      function Flag100 (N : Node_Id) return Boolean;
1393
      pragma Inline (Flag100);
1394
 
1395
      function Flag101 (N : Node_Id) return Boolean;
1396
      pragma Inline (Flag101);
1397
 
1398
      function Flag102 (N : Node_Id) return Boolean;
1399
      pragma Inline (Flag102);
1400
 
1401
      function Flag103 (N : Node_Id) return Boolean;
1402
      pragma Inline (Flag103);
1403
 
1404
      function Flag104 (N : Node_Id) return Boolean;
1405
      pragma Inline (Flag104);
1406
 
1407
      function Flag105 (N : Node_Id) return Boolean;
1408
      pragma Inline (Flag105);
1409
 
1410
      function Flag106 (N : Node_Id) return Boolean;
1411
      pragma Inline (Flag106);
1412
 
1413
      function Flag107 (N : Node_Id) return Boolean;
1414
      pragma Inline (Flag107);
1415
 
1416
      function Flag108 (N : Node_Id) return Boolean;
1417
      pragma Inline (Flag108);
1418
 
1419
      function Flag109 (N : Node_Id) return Boolean;
1420
      pragma Inline (Flag109);
1421
 
1422
      function Flag110 (N : Node_Id) return Boolean;
1423
      pragma Inline (Flag110);
1424
 
1425
      function Flag111 (N : Node_Id) return Boolean;
1426
      pragma Inline (Flag111);
1427
 
1428
      function Flag112 (N : Node_Id) return Boolean;
1429
      pragma Inline (Flag112);
1430
 
1431
      function Flag113 (N : Node_Id) return Boolean;
1432
      pragma Inline (Flag113);
1433
 
1434
      function Flag114 (N : Node_Id) return Boolean;
1435
      pragma Inline (Flag114);
1436
 
1437
      function Flag115 (N : Node_Id) return Boolean;
1438
      pragma Inline (Flag115);
1439
 
1440
      function Flag116 (N : Node_Id) return Boolean;
1441
      pragma Inline (Flag116);
1442
 
1443
      function Flag117 (N : Node_Id) return Boolean;
1444
      pragma Inline (Flag117);
1445
 
1446
      function Flag118 (N : Node_Id) return Boolean;
1447
      pragma Inline (Flag118);
1448
 
1449
      function Flag119 (N : Node_Id) return Boolean;
1450
      pragma Inline (Flag119);
1451
 
1452
      function Flag120 (N : Node_Id) return Boolean;
1453
      pragma Inline (Flag120);
1454
 
1455
      function Flag121 (N : Node_Id) return Boolean;
1456
      pragma Inline (Flag121);
1457
 
1458
      function Flag122 (N : Node_Id) return Boolean;
1459
      pragma Inline (Flag122);
1460
 
1461
      function Flag123 (N : Node_Id) return Boolean;
1462
      pragma Inline (Flag123);
1463
 
1464
      function Flag124 (N : Node_Id) return Boolean;
1465
      pragma Inline (Flag124);
1466
 
1467
      function Flag125 (N : Node_Id) return Boolean;
1468
      pragma Inline (Flag125);
1469
 
1470
      function Flag126 (N : Node_Id) return Boolean;
1471
      pragma Inline (Flag126);
1472
 
1473
      function Flag127 (N : Node_Id) return Boolean;
1474
      pragma Inline (Flag127);
1475
 
1476
      function Flag128 (N : Node_Id) return Boolean;
1477
      pragma Inline (Flag128);
1478
 
1479
      function Flag129 (N : Node_Id) return Boolean;
1480
      pragma Inline (Flag129);
1481
 
1482
      function Flag130 (N : Node_Id) return Boolean;
1483
      pragma Inline (Flag130);
1484
 
1485
      function Flag131 (N : Node_Id) return Boolean;
1486
      pragma Inline (Flag131);
1487
 
1488
      function Flag132 (N : Node_Id) return Boolean;
1489
      pragma Inline (Flag132);
1490
 
1491
      function Flag133 (N : Node_Id) return Boolean;
1492
      pragma Inline (Flag133);
1493
 
1494
      function Flag134 (N : Node_Id) return Boolean;
1495
      pragma Inline (Flag134);
1496
 
1497
      function Flag135 (N : Node_Id) return Boolean;
1498
      pragma Inline (Flag135);
1499
 
1500
      function Flag136 (N : Node_Id) return Boolean;
1501
      pragma Inline (Flag136);
1502
 
1503
      function Flag137 (N : Node_Id) return Boolean;
1504
      pragma Inline (Flag137);
1505
 
1506
      function Flag138 (N : Node_Id) return Boolean;
1507
      pragma Inline (Flag138);
1508
 
1509
      function Flag139 (N : Node_Id) return Boolean;
1510
      pragma Inline (Flag139);
1511
 
1512
      function Flag140 (N : Node_Id) return Boolean;
1513
      pragma Inline (Flag140);
1514
 
1515
      function Flag141 (N : Node_Id) return Boolean;
1516
      pragma Inline (Flag141);
1517
 
1518
      function Flag142 (N : Node_Id) return Boolean;
1519
      pragma Inline (Flag142);
1520
 
1521
      function Flag143 (N : Node_Id) return Boolean;
1522
      pragma Inline (Flag143);
1523
 
1524
      function Flag144 (N : Node_Id) return Boolean;
1525
      pragma Inline (Flag144);
1526
 
1527
      function Flag145 (N : Node_Id) return Boolean;
1528
      pragma Inline (Flag145);
1529
 
1530
      function Flag146 (N : Node_Id) return Boolean;
1531
      pragma Inline (Flag146);
1532
 
1533
      function Flag147 (N : Node_Id) return Boolean;
1534
      pragma Inline (Flag147);
1535
 
1536
      function Flag148 (N : Node_Id) return Boolean;
1537
      pragma Inline (Flag148);
1538
 
1539
      function Flag149 (N : Node_Id) return Boolean;
1540
      pragma Inline (Flag149);
1541
 
1542
      function Flag150 (N : Node_Id) return Boolean;
1543
      pragma Inline (Flag150);
1544
 
1545
      function Flag151 (N : Node_Id) return Boolean;
1546
      pragma Inline (Flag151);
1547
 
1548
      function Flag152 (N : Node_Id) return Boolean;
1549
      pragma Inline (Flag152);
1550
 
1551
      function Flag153 (N : Node_Id) return Boolean;
1552
      pragma Inline (Flag153);
1553
 
1554
      function Flag154 (N : Node_Id) return Boolean;
1555
      pragma Inline (Flag154);
1556
 
1557
      function Flag155 (N : Node_Id) return Boolean;
1558
      pragma Inline (Flag155);
1559
 
1560
      function Flag156 (N : Node_Id) return Boolean;
1561
      pragma Inline (Flag156);
1562
 
1563
      function Flag157 (N : Node_Id) return Boolean;
1564
      pragma Inline (Flag157);
1565
 
1566
      function Flag158 (N : Node_Id) return Boolean;
1567
      pragma Inline (Flag158);
1568
 
1569
      function Flag159 (N : Node_Id) return Boolean;
1570
      pragma Inline (Flag159);
1571
 
1572
      function Flag160 (N : Node_Id) return Boolean;
1573
      pragma Inline (Flag160);
1574
 
1575
      function Flag161 (N : Node_Id) return Boolean;
1576
      pragma Inline (Flag161);
1577
 
1578
      function Flag162 (N : Node_Id) return Boolean;
1579
      pragma Inline (Flag162);
1580
 
1581
      function Flag163 (N : Node_Id) return Boolean;
1582
      pragma Inline (Flag163);
1583
 
1584
      function Flag164 (N : Node_Id) return Boolean;
1585
      pragma Inline (Flag164);
1586
 
1587
      function Flag165 (N : Node_Id) return Boolean;
1588
      pragma Inline (Flag165);
1589
 
1590
      function Flag166 (N : Node_Id) return Boolean;
1591
      pragma Inline (Flag166);
1592
 
1593
      function Flag167 (N : Node_Id) return Boolean;
1594
      pragma Inline (Flag167);
1595
 
1596
      function Flag168 (N : Node_Id) return Boolean;
1597
      pragma Inline (Flag168);
1598
 
1599
      function Flag169 (N : Node_Id) return Boolean;
1600
      pragma Inline (Flag169);
1601
 
1602
      function Flag170 (N : Node_Id) return Boolean;
1603
      pragma Inline (Flag170);
1604
 
1605
      function Flag171 (N : Node_Id) return Boolean;
1606
      pragma Inline (Flag171);
1607
 
1608
      function Flag172 (N : Node_Id) return Boolean;
1609
      pragma Inline (Flag172);
1610
 
1611
      function Flag173 (N : Node_Id) return Boolean;
1612
      pragma Inline (Flag173);
1613
 
1614
      function Flag174 (N : Node_Id) return Boolean;
1615
      pragma Inline (Flag174);
1616
 
1617
      function Flag175 (N : Node_Id) return Boolean;
1618
      pragma Inline (Flag175);
1619
 
1620
      function Flag176 (N : Node_Id) return Boolean;
1621
      pragma Inline (Flag176);
1622
 
1623
      function Flag177 (N : Node_Id) return Boolean;
1624
      pragma Inline (Flag177);
1625
 
1626
      function Flag178 (N : Node_Id) return Boolean;
1627
      pragma Inline (Flag178);
1628
 
1629
      function Flag179 (N : Node_Id) return Boolean;
1630
      pragma Inline (Flag179);
1631
 
1632
      function Flag180 (N : Node_Id) return Boolean;
1633
      pragma Inline (Flag180);
1634
 
1635
      function Flag181 (N : Node_Id) return Boolean;
1636
      pragma Inline (Flag181);
1637
 
1638
      function Flag182 (N : Node_Id) return Boolean;
1639
      pragma Inline (Flag182);
1640
 
1641
      function Flag183 (N : Node_Id) return Boolean;
1642
      pragma Inline (Flag183);
1643
 
1644
      function Flag184 (N : Node_Id) return Boolean;
1645
      pragma Inline (Flag184);
1646
 
1647
      function Flag185 (N : Node_Id) return Boolean;
1648
      pragma Inline (Flag185);
1649
 
1650
      function Flag186 (N : Node_Id) return Boolean;
1651
      pragma Inline (Flag186);
1652
 
1653
      function Flag187 (N : Node_Id) return Boolean;
1654
      pragma Inline (Flag187);
1655
 
1656
      function Flag188 (N : Node_Id) return Boolean;
1657
      pragma Inline (Flag188);
1658
 
1659
      function Flag189 (N : Node_Id) return Boolean;
1660
      pragma Inline (Flag189);
1661
 
1662
      function Flag190 (N : Node_Id) return Boolean;
1663
      pragma Inline (Flag190);
1664
 
1665
      function Flag191 (N : Node_Id) return Boolean;
1666
      pragma Inline (Flag191);
1667
 
1668
      function Flag192 (N : Node_Id) return Boolean;
1669
      pragma Inline (Flag192);
1670
 
1671
      function Flag193 (N : Node_Id) return Boolean;
1672
      pragma Inline (Flag193);
1673
 
1674
      function Flag194 (N : Node_Id) return Boolean;
1675
      pragma Inline (Flag194);
1676
 
1677
      function Flag195 (N : Node_Id) return Boolean;
1678
      pragma Inline (Flag195);
1679
 
1680
      function Flag196 (N : Node_Id) return Boolean;
1681
      pragma Inline (Flag196);
1682
 
1683
      function Flag197 (N : Node_Id) return Boolean;
1684
      pragma Inline (Flag197);
1685
 
1686
      function Flag198 (N : Node_Id) return Boolean;
1687
      pragma Inline (Flag198);
1688
 
1689
      function Flag199 (N : Node_Id) return Boolean;
1690
      pragma Inline (Flag199);
1691
 
1692
      function Flag200 (N : Node_Id) return Boolean;
1693
      pragma Inline (Flag200);
1694
 
1695
      function Flag201 (N : Node_Id) return Boolean;
1696
      pragma Inline (Flag201);
1697
 
1698
      function Flag202 (N : Node_Id) return Boolean;
1699
      pragma Inline (Flag202);
1700
 
1701
      function Flag203 (N : Node_Id) return Boolean;
1702
      pragma Inline (Flag203);
1703
 
1704
      function Flag204 (N : Node_Id) return Boolean;
1705
      pragma Inline (Flag204);
1706
 
1707
      function Flag205 (N : Node_Id) return Boolean;
1708
      pragma Inline (Flag205);
1709
 
1710
      function Flag206 (N : Node_Id) return Boolean;
1711
      pragma Inline (Flag206);
1712
 
1713
      function Flag207 (N : Node_Id) return Boolean;
1714
      pragma Inline (Flag207);
1715
 
1716
      function Flag208 (N : Node_Id) return Boolean;
1717
      pragma Inline (Flag208);
1718
 
1719
      function Flag209 (N : Node_Id) return Boolean;
1720
      pragma Inline (Flag209);
1721
 
1722
      function Flag210 (N : Node_Id) return Boolean;
1723
      pragma Inline (Flag210);
1724
 
1725
      function Flag211 (N : Node_Id) return Boolean;
1726
      pragma Inline (Flag211);
1727
 
1728
      function Flag212 (N : Node_Id) return Boolean;
1729
      pragma Inline (Flag212);
1730
 
1731
      function Flag213 (N : Node_Id) return Boolean;
1732
      pragma Inline (Flag213);
1733
 
1734
      function Flag214 (N : Node_Id) return Boolean;
1735
      pragma Inline (Flag214);
1736
 
1737
      function Flag215 (N : Node_Id) return Boolean;
1738
      pragma Inline (Flag215);
1739
 
1740
      function Flag216 (N : Node_Id) return Boolean;
1741
      pragma Inline (Flag216);
1742
 
1743
      function Flag217 (N : Node_Id) return Boolean;
1744
      pragma Inline (Flag217);
1745
 
1746
      function Flag218 (N : Node_Id) return Boolean;
1747
      pragma Inline (Flag218);
1748
 
1749
      function Flag219 (N : Node_Id) return Boolean;
1750
      pragma Inline (Flag219);
1751
 
1752
      function Flag220 (N : Node_Id) return Boolean;
1753
      pragma Inline (Flag220);
1754
 
1755
      function Flag221 (N : Node_Id) return Boolean;
1756
      pragma Inline (Flag221);
1757
 
1758
      function Flag222 (N : Node_Id) return Boolean;
1759
      pragma Inline (Flag222);
1760
 
1761
      function Flag223 (N : Node_Id) return Boolean;
1762
      pragma Inline (Flag223);
1763
 
1764
      function Flag224 (N : Node_Id) return Boolean;
1765
      pragma Inline (Flag224);
1766
 
1767
      function Flag225 (N : Node_Id) return Boolean;
1768
      pragma Inline (Flag225);
1769
 
1770
      function Flag226 (N : Node_Id) return Boolean;
1771
      pragma Inline (Flag226);
1772
 
1773
      function Flag227 (N : Node_Id) return Boolean;
1774
      pragma Inline (Flag227);
1775
 
1776
      function Flag228 (N : Node_Id) return Boolean;
1777
      pragma Inline (Flag228);
1778
 
1779
      function Flag229 (N : Node_Id) return Boolean;
1780
      pragma Inline (Flag229);
1781
 
1782
      function Flag230 (N : Node_Id) return Boolean;
1783
      pragma Inline (Flag230);
1784
 
1785
      function Flag231 (N : Node_Id) return Boolean;
1786
      pragma Inline (Flag231);
1787
 
1788
      function Flag232 (N : Node_Id) return Boolean;
1789
      pragma Inline (Flag232);
1790
 
1791
      function Flag233 (N : Node_Id) return Boolean;
1792
      pragma Inline (Flag233);
1793
 
1794
      function Flag234 (N : Node_Id) return Boolean;
1795
      pragma Inline (Flag234);
1796
 
1797
      function Flag235 (N : Node_Id) return Boolean;
1798
      pragma Inline (Flag235);
1799
 
1800
      function Flag236 (N : Node_Id) return Boolean;
1801
      pragma Inline (Flag236);
1802
 
1803
      function Flag237 (N : Node_Id) return Boolean;
1804
      pragma Inline (Flag237);
1805
 
1806
      function Flag238 (N : Node_Id) return Boolean;
1807
      pragma Inline (Flag238);
1808
 
1809
      function Flag239 (N : Node_Id) return Boolean;
1810
      pragma Inline (Flag239);
1811
 
1812
      function Flag240 (N : Node_Id) return Boolean;
1813
      pragma Inline (Flag240);
1814
 
1815
      function Flag241 (N : Node_Id) return Boolean;
1816
      pragma Inline (Flag241);
1817
 
1818
      function Flag242 (N : Node_Id) return Boolean;
1819
      pragma Inline (Flag242);
1820
 
1821
      function Flag243 (N : Node_Id) return Boolean;
1822
      pragma Inline (Flag243);
1823
 
1824
      function Flag244 (N : Node_Id) return Boolean;
1825
      pragma Inline (Flag244);
1826
 
1827
      function Flag245 (N : Node_Id) return Boolean;
1828
      pragma Inline (Flag245);
1829
 
1830
      function Flag246 (N : Node_Id) return Boolean;
1831
      pragma Inline (Flag246);
1832
 
1833
      function Flag247 (N : Node_Id) return Boolean;
1834
      pragma Inline (Flag247);
1835
 
1836
      --  Procedures to set value of indicated field
1837
 
1838
      procedure Set_Nkind (N : Node_Id; Val : Node_Kind);
1839
      pragma Inline (Set_Nkind);
1840
 
1841
      procedure Set_Field1 (N : Node_Id; Val : Union_Id);
1842
      pragma Inline (Set_Field1);
1843
 
1844
      procedure Set_Field2 (N : Node_Id; Val : Union_Id);
1845
      pragma Inline (Set_Field2);
1846
 
1847
      procedure Set_Field3 (N : Node_Id; Val : Union_Id);
1848
      pragma Inline (Set_Field3);
1849
 
1850
      procedure Set_Field4 (N : Node_Id; Val : Union_Id);
1851
      pragma Inline (Set_Field4);
1852
 
1853
      procedure Set_Field5 (N : Node_Id; Val : Union_Id);
1854
      pragma Inline (Set_Field5);
1855
 
1856
      procedure Set_Field6 (N : Node_Id; Val : Union_Id);
1857
      pragma Inline (Set_Field6);
1858
 
1859
      procedure Set_Field7 (N : Node_Id; Val : Union_Id);
1860
      pragma Inline (Set_Field7);
1861
 
1862
      procedure Set_Field8 (N : Node_Id; Val : Union_Id);
1863
      pragma Inline (Set_Field8);
1864
 
1865
      procedure Set_Field9 (N : Node_Id; Val : Union_Id);
1866
      pragma Inline (Set_Field9);
1867
 
1868
      procedure Set_Field10 (N : Node_Id; Val : Union_Id);
1869
      pragma Inline (Set_Field10);
1870
 
1871
      procedure Set_Field11 (N : Node_Id; Val : Union_Id);
1872
      pragma Inline (Set_Field11);
1873
 
1874
      procedure Set_Field12 (N : Node_Id; Val : Union_Id);
1875
      pragma Inline (Set_Field12);
1876
 
1877
      procedure Set_Field13 (N : Node_Id; Val : Union_Id);
1878
      pragma Inline (Set_Field13);
1879
 
1880
      procedure Set_Field14 (N : Node_Id; Val : Union_Id);
1881
      pragma Inline (Set_Field14);
1882
 
1883
      procedure Set_Field15 (N : Node_Id; Val : Union_Id);
1884
      pragma Inline (Set_Field15);
1885
 
1886
      procedure Set_Field16 (N : Node_Id; Val : Union_Id);
1887
      pragma Inline (Set_Field16);
1888
 
1889
      procedure Set_Field17 (N : Node_Id; Val : Union_Id);
1890
      pragma Inline (Set_Field17);
1891
 
1892
      procedure Set_Field18 (N : Node_Id; Val : Union_Id);
1893
      pragma Inline (Set_Field18);
1894
 
1895
      procedure Set_Field19 (N : Node_Id; Val : Union_Id);
1896
      pragma Inline (Set_Field19);
1897
 
1898
      procedure Set_Field20 (N : Node_Id; Val : Union_Id);
1899
      pragma Inline (Set_Field20);
1900
 
1901
      procedure Set_Field21 (N : Node_Id; Val : Union_Id);
1902
      pragma Inline (Set_Field21);
1903
 
1904
      procedure Set_Field22 (N : Node_Id; Val : Union_Id);
1905
      pragma Inline (Set_Field22);
1906
 
1907
      procedure Set_Field23 (N : Node_Id; Val : Union_Id);
1908
      pragma Inline (Set_Field23);
1909
 
1910
      procedure Set_Field24 (N : Node_Id; Val : Union_Id);
1911
      pragma Inline (Set_Field24);
1912
 
1913
      procedure Set_Field25 (N : Node_Id; Val : Union_Id);
1914
      pragma Inline (Set_Field25);
1915
 
1916
      procedure Set_Field26 (N : Node_Id; Val : Union_Id);
1917
      pragma Inline (Set_Field26);
1918
 
1919
      procedure Set_Field27 (N : Node_Id; Val : Union_Id);
1920
      pragma Inline (Set_Field27);
1921
 
1922
      procedure Set_Field28 (N : Node_Id; Val : Union_Id);
1923
      pragma Inline (Set_Field28);
1924
 
1925
      procedure Set_Node1 (N : Node_Id; Val : Node_Id);
1926
      pragma Inline (Set_Node1);
1927
 
1928
      procedure Set_Node2 (N : Node_Id; Val : Node_Id);
1929
      pragma Inline (Set_Node2);
1930
 
1931
      procedure Set_Node3 (N : Node_Id; Val : Node_Id);
1932
      pragma Inline (Set_Node3);
1933
 
1934
      procedure Set_Node4 (N : Node_Id; Val : Node_Id);
1935
      pragma Inline (Set_Node4);
1936
 
1937
      procedure Set_Node5 (N : Node_Id; Val : Node_Id);
1938
      pragma Inline (Set_Node5);
1939
 
1940
      procedure Set_Node6 (N : Node_Id; Val : Node_Id);
1941
      pragma Inline (Set_Node6);
1942
 
1943
      procedure Set_Node7 (N : Node_Id; Val : Node_Id);
1944
      pragma Inline (Set_Node7);
1945
 
1946
      procedure Set_Node8 (N : Node_Id; Val : Node_Id);
1947
      pragma Inline (Set_Node8);
1948
 
1949
      procedure Set_Node9 (N : Node_Id; Val : Node_Id);
1950
      pragma Inline (Set_Node9);
1951
 
1952
      procedure Set_Node10 (N : Node_Id; Val : Node_Id);
1953
      pragma Inline (Set_Node10);
1954
 
1955
      procedure Set_Node11 (N : Node_Id; Val : Node_Id);
1956
      pragma Inline (Set_Node11);
1957
 
1958
      procedure Set_Node12 (N : Node_Id; Val : Node_Id);
1959
      pragma Inline (Set_Node12);
1960
 
1961
      procedure Set_Node13 (N : Node_Id; Val : Node_Id);
1962
      pragma Inline (Set_Node13);
1963
 
1964
      procedure Set_Node14 (N : Node_Id; Val : Node_Id);
1965
      pragma Inline (Set_Node14);
1966
 
1967
      procedure Set_Node15 (N : Node_Id; Val : Node_Id);
1968
      pragma Inline (Set_Node15);
1969
 
1970
      procedure Set_Node16 (N : Node_Id; Val : Node_Id);
1971
      pragma Inline (Set_Node16);
1972
 
1973
      procedure Set_Node17 (N : Node_Id; Val : Node_Id);
1974
      pragma Inline (Set_Node17);
1975
 
1976
      procedure Set_Node18 (N : Node_Id; Val : Node_Id);
1977
      pragma Inline (Set_Node18);
1978
 
1979
      procedure Set_Node19 (N : Node_Id; Val : Node_Id);
1980
      pragma Inline (Set_Node19);
1981
 
1982
      procedure Set_Node20 (N : Node_Id; Val : Node_Id);
1983
      pragma Inline (Set_Node20);
1984
 
1985
      procedure Set_Node21 (N : Node_Id; Val : Node_Id);
1986
      pragma Inline (Set_Node21);
1987
 
1988
      procedure Set_Node22 (N : Node_Id; Val : Node_Id);
1989
      pragma Inline (Set_Node22);
1990
 
1991
      procedure Set_Node23 (N : Node_Id; Val : Node_Id);
1992
      pragma Inline (Set_Node23);
1993
 
1994
      procedure Set_Node24 (N : Node_Id; Val : Node_Id);
1995
      pragma Inline (Set_Node24);
1996
 
1997
      procedure Set_Node25 (N : Node_Id; Val : Node_Id);
1998
      pragma Inline (Set_Node25);
1999
 
2000
      procedure Set_Node26 (N : Node_Id; Val : Node_Id);
2001
      pragma Inline (Set_Node26);
2002
 
2003
      procedure Set_Node27 (N : Node_Id; Val : Node_Id);
2004
      pragma Inline (Set_Node27);
2005
 
2006
      procedure Set_Node28 (N : Node_Id; Val : Node_Id);
2007
      pragma Inline (Set_Node28);
2008
 
2009
      procedure Set_List1 (N : Node_Id; Val : List_Id);
2010
      pragma Inline (Set_List1);
2011
 
2012
      procedure Set_List2 (N : Node_Id; Val : List_Id);
2013
      pragma Inline (Set_List2);
2014
 
2015
      procedure Set_List3 (N : Node_Id; Val : List_Id);
2016
      pragma Inline (Set_List3);
2017
 
2018
      procedure Set_List4 (N : Node_Id; Val : List_Id);
2019
      pragma Inline (Set_List4);
2020
 
2021
      procedure Set_List5 (N : Node_Id; Val : List_Id);
2022
      pragma Inline (Set_List5);
2023
 
2024
      procedure Set_List10 (N : Node_Id; Val : List_Id);
2025
      pragma Inline (Set_List10);
2026
 
2027
      procedure Set_List14 (N : Node_Id; Val : List_Id);
2028
      pragma Inline (Set_List14);
2029
 
2030
      procedure Set_Elist1 (N : Node_Id; Val : Elist_Id);
2031
      pragma Inline (Set_Elist1);
2032
 
2033
      procedure Set_Elist2 (N : Node_Id; Val : Elist_Id);
2034
      pragma Inline (Set_Elist2);
2035
 
2036
      procedure Set_Elist3 (N : Node_Id; Val : Elist_Id);
2037
      pragma Inline (Set_Elist3);
2038
 
2039
      procedure Set_Elist4 (N : Node_Id; Val : Elist_Id);
2040
      pragma Inline (Set_Elist4);
2041
 
2042
      procedure Set_Elist8 (N : Node_Id; Val : Elist_Id);
2043
      pragma Inline (Set_Elist8);
2044
 
2045
      procedure Set_Elist13 (N : Node_Id; Val : Elist_Id);
2046
      pragma Inline (Set_Elist13);
2047
 
2048
      procedure Set_Elist15 (N : Node_Id; Val : Elist_Id);
2049
      pragma Inline (Set_Elist15);
2050
 
2051
      procedure Set_Elist16 (N : Node_Id; Val : Elist_Id);
2052
      pragma Inline (Set_Elist16);
2053
 
2054
      procedure Set_Elist18 (N : Node_Id; Val : Elist_Id);
2055
      pragma Inline (Set_Elist18);
2056
 
2057
      procedure Set_Elist21 (N : Node_Id; Val : Elist_Id);
2058
      pragma Inline (Set_Elist21);
2059
 
2060
      procedure Set_Elist23 (N : Node_Id; Val : Elist_Id);
2061
      pragma Inline (Set_Elist23);
2062
 
2063
      procedure Set_Elist25 (N : Node_Id; Val : Elist_Id);
2064
      pragma Inline (Set_Elist25);
2065
 
2066
      procedure Set_Elist26 (N : Node_Id; Val : Elist_Id);
2067
      pragma Inline (Set_Elist26);
2068
 
2069
      procedure Set_Name1 (N : Node_Id; Val : Name_Id);
2070
      pragma Inline (Set_Name1);
2071
 
2072
      procedure Set_Name2 (N : Node_Id; Val : Name_Id);
2073
      pragma Inline (Set_Name2);
2074
 
2075
      procedure Set_Str3 (N : Node_Id; Val : String_Id);
2076
      pragma Inline (Set_Str3);
2077
 
2078
      procedure Set_Uint2 (N : Node_Id; Val : Uint);
2079
      pragma Inline (Set_Uint2);
2080
 
2081
      procedure Set_Uint3 (N : Node_Id; Val : Uint);
2082
      pragma Inline (Set_Uint3);
2083
 
2084
      procedure Set_Uint4 (N : Node_Id; Val : Uint);
2085
      pragma Inline (Set_Uint4);
2086
 
2087
      procedure Set_Uint5 (N : Node_Id; Val : Uint);
2088
      pragma Inline (Set_Uint5);
2089
 
2090
      procedure Set_Uint8 (N : Node_Id; Val : Uint);
2091
      pragma Inline (Set_Uint8);
2092
 
2093
      procedure Set_Uint9 (N : Node_Id; Val : Uint);
2094
      pragma Inline (Set_Uint9);
2095
 
2096
      procedure Set_Uint10 (N : Node_Id; Val : Uint);
2097
      pragma Inline (Set_Uint10);
2098
 
2099
      procedure Set_Uint11 (N : Node_Id; Val : Uint);
2100
      pragma Inline (Set_Uint11);
2101
 
2102
      procedure Set_Uint12 (N : Node_Id; Val : Uint);
2103
      pragma Inline (Set_Uint12);
2104
 
2105
      procedure Set_Uint13 (N : Node_Id; Val : Uint);
2106
      pragma Inline (Set_Uint13);
2107
 
2108
      procedure Set_Uint14 (N : Node_Id; Val : Uint);
2109
      pragma Inline (Set_Uint14);
2110
 
2111
      procedure Set_Uint15 (N : Node_Id; Val : Uint);
2112
      pragma Inline (Set_Uint15);
2113
 
2114
      procedure Set_Uint16 (N : Node_Id; Val : Uint);
2115
      pragma Inline (Set_Uint16);
2116
 
2117
      procedure Set_Uint17 (N : Node_Id; Val : Uint);
2118
      pragma Inline (Set_Uint17);
2119
 
2120
      procedure Set_Uint22 (N : Node_Id; Val : Uint);
2121
      pragma Inline (Set_Uint22);
2122
 
2123
      procedure Set_Ureal3 (N : Node_Id; Val : Ureal);
2124
      pragma Inline (Set_Ureal3);
2125
 
2126
      procedure Set_Ureal18 (N : Node_Id; Val : Ureal);
2127
      pragma Inline (Set_Ureal18);
2128
 
2129
      procedure Set_Ureal21 (N : Node_Id; Val : Ureal);
2130
      pragma Inline (Set_Ureal21);
2131
 
2132
      procedure Set_Flag4 (N : Node_Id; Val : Boolean);
2133
      pragma Inline (Set_Flag4);
2134
 
2135
      procedure Set_Flag5 (N : Node_Id; Val : Boolean);
2136
      pragma Inline (Set_Flag5);
2137
 
2138
      procedure Set_Flag6 (N : Node_Id; Val : Boolean);
2139
      pragma Inline (Set_Flag6);
2140
 
2141
      procedure Set_Flag7 (N : Node_Id; Val : Boolean);
2142
      pragma Inline (Set_Flag7);
2143
 
2144
      procedure Set_Flag8 (N : Node_Id; Val : Boolean);
2145
      pragma Inline (Set_Flag8);
2146
 
2147
      procedure Set_Flag9 (N : Node_Id; Val : Boolean);
2148
      pragma Inline (Set_Flag9);
2149
 
2150
      procedure Set_Flag10 (N : Node_Id; Val : Boolean);
2151
      pragma Inline (Set_Flag10);
2152
 
2153
      procedure Set_Flag11 (N : Node_Id; Val : Boolean);
2154
      pragma Inline (Set_Flag11);
2155
 
2156
      procedure Set_Flag12 (N : Node_Id; Val : Boolean);
2157
      pragma Inline (Set_Flag12);
2158
 
2159
      procedure Set_Flag13 (N : Node_Id; Val : Boolean);
2160
      pragma Inline (Set_Flag13);
2161
 
2162
      procedure Set_Flag14 (N : Node_Id; Val : Boolean);
2163
      pragma Inline (Set_Flag14);
2164
 
2165
      procedure Set_Flag15 (N : Node_Id; Val : Boolean);
2166
      pragma Inline (Set_Flag15);
2167
 
2168
      procedure Set_Flag16 (N : Node_Id; Val : Boolean);
2169
      pragma Inline (Set_Flag16);
2170
 
2171
      procedure Set_Flag17 (N : Node_Id; Val : Boolean);
2172
      pragma Inline (Set_Flag17);
2173
 
2174
      procedure Set_Flag18 (N : Node_Id; Val : Boolean);
2175
      pragma Inline (Set_Flag18);
2176
 
2177
      procedure Set_Flag19 (N : Node_Id; Val : Boolean);
2178
      pragma Inline (Set_Flag19);
2179
 
2180
      procedure Set_Flag20 (N : Node_Id; Val : Boolean);
2181
      pragma Inline (Set_Flag20);
2182
 
2183
      procedure Set_Flag21 (N : Node_Id; Val : Boolean);
2184
      pragma Inline (Set_Flag21);
2185
 
2186
      procedure Set_Flag22 (N : Node_Id; Val : Boolean);
2187
      pragma Inline (Set_Flag22);
2188
 
2189
      procedure Set_Flag23 (N : Node_Id; Val : Boolean);
2190
      pragma Inline (Set_Flag23);
2191
 
2192
      procedure Set_Flag24 (N : Node_Id; Val : Boolean);
2193
      pragma Inline (Set_Flag24);
2194
 
2195
      procedure Set_Flag25 (N : Node_Id; Val : Boolean);
2196
      pragma Inline (Set_Flag25);
2197
 
2198
      procedure Set_Flag26 (N : Node_Id; Val : Boolean);
2199
      pragma Inline (Set_Flag26);
2200
 
2201
      procedure Set_Flag27 (N : Node_Id; Val : Boolean);
2202
      pragma Inline (Set_Flag27);
2203
 
2204
      procedure Set_Flag28 (N : Node_Id; Val : Boolean);
2205
      pragma Inline (Set_Flag28);
2206
 
2207
      procedure Set_Flag29 (N : Node_Id; Val : Boolean);
2208
      pragma Inline (Set_Flag29);
2209
 
2210
      procedure Set_Flag30 (N : Node_Id; Val : Boolean);
2211
      pragma Inline (Set_Flag30);
2212
 
2213
      procedure Set_Flag31 (N : Node_Id; Val : Boolean);
2214
      pragma Inline (Set_Flag31);
2215
 
2216
      procedure Set_Flag32 (N : Node_Id; Val : Boolean);
2217
      pragma Inline (Set_Flag32);
2218
 
2219
      procedure Set_Flag33 (N : Node_Id; Val : Boolean);
2220
      pragma Inline (Set_Flag33);
2221
 
2222
      procedure Set_Flag34 (N : Node_Id; Val : Boolean);
2223
      pragma Inline (Set_Flag34);
2224
 
2225
      procedure Set_Flag35 (N : Node_Id; Val : Boolean);
2226
      pragma Inline (Set_Flag35);
2227
 
2228
      procedure Set_Flag36 (N : Node_Id; Val : Boolean);
2229
      pragma Inline (Set_Flag36);
2230
 
2231
      procedure Set_Flag37 (N : Node_Id; Val : Boolean);
2232
      pragma Inline (Set_Flag37);
2233
 
2234
      procedure Set_Flag38 (N : Node_Id; Val : Boolean);
2235
      pragma Inline (Set_Flag38);
2236
 
2237
      procedure Set_Flag39 (N : Node_Id; Val : Boolean);
2238
      pragma Inline (Set_Flag39);
2239
 
2240
      procedure Set_Flag40 (N : Node_Id; Val : Boolean);
2241
      pragma Inline (Set_Flag40);
2242
 
2243
      procedure Set_Flag41 (N : Node_Id; Val : Boolean);
2244
      pragma Inline (Set_Flag41);
2245
 
2246
      procedure Set_Flag42 (N : Node_Id; Val : Boolean);
2247
      pragma Inline (Set_Flag42);
2248
 
2249
      procedure Set_Flag43 (N : Node_Id; Val : Boolean);
2250
      pragma Inline (Set_Flag43);
2251
 
2252
      procedure Set_Flag44 (N : Node_Id; Val : Boolean);
2253
      pragma Inline (Set_Flag44);
2254
 
2255
      procedure Set_Flag45 (N : Node_Id; Val : Boolean);
2256
      pragma Inline (Set_Flag45);
2257
 
2258
      procedure Set_Flag46 (N : Node_Id; Val : Boolean);
2259
      pragma Inline (Set_Flag46);
2260
 
2261
      procedure Set_Flag47 (N : Node_Id; Val : Boolean);
2262
      pragma Inline (Set_Flag47);
2263
 
2264
      procedure Set_Flag48 (N : Node_Id; Val : Boolean);
2265
      pragma Inline (Set_Flag48);
2266
 
2267
      procedure Set_Flag49 (N : Node_Id; Val : Boolean);
2268
      pragma Inline (Set_Flag49);
2269
 
2270
      procedure Set_Flag50 (N : Node_Id; Val : Boolean);
2271
      pragma Inline (Set_Flag50);
2272
 
2273
      procedure Set_Flag51 (N : Node_Id; Val : Boolean);
2274
      pragma Inline (Set_Flag51);
2275
 
2276
      procedure Set_Flag52 (N : Node_Id; Val : Boolean);
2277
      pragma Inline (Set_Flag52);
2278
 
2279
      procedure Set_Flag53 (N : Node_Id; Val : Boolean);
2280
      pragma Inline (Set_Flag53);
2281
 
2282
      procedure Set_Flag54 (N : Node_Id; Val : Boolean);
2283
      pragma Inline (Set_Flag54);
2284
 
2285
      procedure Set_Flag55 (N : Node_Id; Val : Boolean);
2286
      pragma Inline (Set_Flag55);
2287
 
2288
      procedure Set_Flag56 (N : Node_Id; Val : Boolean);
2289
      pragma Inline (Set_Flag56);
2290
 
2291
      procedure Set_Flag57 (N : Node_Id; Val : Boolean);
2292
      pragma Inline (Set_Flag57);
2293
 
2294
      procedure Set_Flag58 (N : Node_Id; Val : Boolean);
2295
      pragma Inline (Set_Flag58);
2296
 
2297
      procedure Set_Flag59 (N : Node_Id; Val : Boolean);
2298
      pragma Inline (Set_Flag59);
2299
 
2300
      procedure Set_Flag60 (N : Node_Id; Val : Boolean);
2301
      pragma Inline (Set_Flag60);
2302
 
2303
      procedure Set_Flag61 (N : Node_Id; Val : Boolean);
2304
      pragma Inline (Set_Flag61);
2305
 
2306
      procedure Set_Flag62 (N : Node_Id; Val : Boolean);
2307
      pragma Inline (Set_Flag62);
2308
 
2309
      procedure Set_Flag63 (N : Node_Id; Val : Boolean);
2310
      pragma Inline (Set_Flag63);
2311
 
2312
      procedure Set_Flag64 (N : Node_Id; Val : Boolean);
2313
      pragma Inline (Set_Flag64);
2314
 
2315
      procedure Set_Flag65 (N : Node_Id; Val : Boolean);
2316
      pragma Inline (Set_Flag65);
2317
 
2318
      procedure Set_Flag66 (N : Node_Id; Val : Boolean);
2319
      pragma Inline (Set_Flag66);
2320
 
2321
      procedure Set_Flag67 (N : Node_Id; Val : Boolean);
2322
      pragma Inline (Set_Flag67);
2323
 
2324
      procedure Set_Flag68 (N : Node_Id; Val : Boolean);
2325
      pragma Inline (Set_Flag68);
2326
 
2327
      procedure Set_Flag69 (N : Node_Id; Val : Boolean);
2328
      pragma Inline (Set_Flag69);
2329
 
2330
      procedure Set_Flag70 (N : Node_Id; Val : Boolean);
2331
      pragma Inline (Set_Flag70);
2332
 
2333
      procedure Set_Flag71 (N : Node_Id; Val : Boolean);
2334
      pragma Inline (Set_Flag71);
2335
 
2336
      procedure Set_Flag72 (N : Node_Id; Val : Boolean);
2337
      pragma Inline (Set_Flag72);
2338
 
2339
      procedure Set_Flag73 (N : Node_Id; Val : Boolean);
2340
      pragma Inline (Set_Flag73);
2341
 
2342
      procedure Set_Flag74 (N : Node_Id; Val : Boolean);
2343
      pragma Inline (Set_Flag74);
2344
 
2345
      procedure Set_Flag75 (N : Node_Id; Val : Boolean);
2346
      pragma Inline (Set_Flag75);
2347
 
2348
      procedure Set_Flag76 (N : Node_Id; Val : Boolean);
2349
      pragma Inline (Set_Flag76);
2350
 
2351
      procedure Set_Flag77 (N : Node_Id; Val : Boolean);
2352
      pragma Inline (Set_Flag77);
2353
 
2354
      procedure Set_Flag78 (N : Node_Id; Val : Boolean);
2355
      pragma Inline (Set_Flag78);
2356
 
2357
      procedure Set_Flag79 (N : Node_Id; Val : Boolean);
2358
      pragma Inline (Set_Flag79);
2359
 
2360
      procedure Set_Flag80 (N : Node_Id; Val : Boolean);
2361
      pragma Inline (Set_Flag80);
2362
 
2363
      procedure Set_Flag81 (N : Node_Id; Val : Boolean);
2364
      pragma Inline (Set_Flag81);
2365
 
2366
      procedure Set_Flag82 (N : Node_Id; Val : Boolean);
2367
      pragma Inline (Set_Flag82);
2368
 
2369
      procedure Set_Flag83 (N : Node_Id; Val : Boolean);
2370
      pragma Inline (Set_Flag83);
2371
 
2372
      procedure Set_Flag84 (N : Node_Id; Val : Boolean);
2373
      pragma Inline (Set_Flag84);
2374
 
2375
      procedure Set_Flag85 (N : Node_Id; Val : Boolean);
2376
      pragma Inline (Set_Flag85);
2377
 
2378
      procedure Set_Flag86 (N : Node_Id; Val : Boolean);
2379
      pragma Inline (Set_Flag86);
2380
 
2381
      procedure Set_Flag87 (N : Node_Id; Val : Boolean);
2382
      pragma Inline (Set_Flag87);
2383
 
2384
      procedure Set_Flag88 (N : Node_Id; Val : Boolean);
2385
      pragma Inline (Set_Flag88);
2386
 
2387
      procedure Set_Flag89 (N : Node_Id; Val : Boolean);
2388
      pragma Inline (Set_Flag89);
2389
 
2390
      procedure Set_Flag90 (N : Node_Id; Val : Boolean);
2391
      pragma Inline (Set_Flag90);
2392
 
2393
      procedure Set_Flag91 (N : Node_Id; Val : Boolean);
2394
      pragma Inline (Set_Flag91);
2395
 
2396
      procedure Set_Flag92 (N : Node_Id; Val : Boolean);
2397
      pragma Inline (Set_Flag92);
2398
 
2399
      procedure Set_Flag93 (N : Node_Id; Val : Boolean);
2400
      pragma Inline (Set_Flag93);
2401
 
2402
      procedure Set_Flag94 (N : Node_Id; Val : Boolean);
2403
      pragma Inline (Set_Flag94);
2404
 
2405
      procedure Set_Flag95 (N : Node_Id; Val : Boolean);
2406
      pragma Inline (Set_Flag95);
2407
 
2408
      procedure Set_Flag96 (N : Node_Id; Val : Boolean);
2409
      pragma Inline (Set_Flag96);
2410
 
2411
      procedure Set_Flag97 (N : Node_Id; Val : Boolean);
2412
      pragma Inline (Set_Flag97);
2413
 
2414
      procedure Set_Flag98 (N : Node_Id; Val : Boolean);
2415
      pragma Inline (Set_Flag98);
2416
 
2417
      procedure Set_Flag99 (N : Node_Id; Val : Boolean);
2418
      pragma Inline (Set_Flag99);
2419
 
2420
      procedure Set_Flag100 (N : Node_Id; Val : Boolean);
2421
      pragma Inline (Set_Flag100);
2422
 
2423
      procedure Set_Flag101 (N : Node_Id; Val : Boolean);
2424
      pragma Inline (Set_Flag101);
2425
 
2426
      procedure Set_Flag102 (N : Node_Id; Val : Boolean);
2427
      pragma Inline (Set_Flag102);
2428
 
2429
      procedure Set_Flag103 (N : Node_Id; Val : Boolean);
2430
      pragma Inline (Set_Flag103);
2431
 
2432
      procedure Set_Flag104 (N : Node_Id; Val : Boolean);
2433
      pragma Inline (Set_Flag104);
2434
 
2435
      procedure Set_Flag105 (N : Node_Id; Val : Boolean);
2436
      pragma Inline (Set_Flag105);
2437
 
2438
      procedure Set_Flag106 (N : Node_Id; Val : Boolean);
2439
      pragma Inline (Set_Flag106);
2440
 
2441
      procedure Set_Flag107 (N : Node_Id; Val : Boolean);
2442
      pragma Inline (Set_Flag107);
2443
 
2444
      procedure Set_Flag108 (N : Node_Id; Val : Boolean);
2445
      pragma Inline (Set_Flag108);
2446
 
2447
      procedure Set_Flag109 (N : Node_Id; Val : Boolean);
2448
      pragma Inline (Set_Flag109);
2449
 
2450
      procedure Set_Flag110 (N : Node_Id; Val : Boolean);
2451
      pragma Inline (Set_Flag110);
2452
 
2453
      procedure Set_Flag111 (N : Node_Id; Val : Boolean);
2454
      pragma Inline (Set_Flag111);
2455
 
2456
      procedure Set_Flag112 (N : Node_Id; Val : Boolean);
2457
      pragma Inline (Set_Flag112);
2458
 
2459
      procedure Set_Flag113 (N : Node_Id; Val : Boolean);
2460
      pragma Inline (Set_Flag113);
2461
 
2462
      procedure Set_Flag114 (N : Node_Id; Val : Boolean);
2463
      pragma Inline (Set_Flag114);
2464
 
2465
      procedure Set_Flag115 (N : Node_Id; Val : Boolean);
2466
      pragma Inline (Set_Flag115);
2467
 
2468
      procedure Set_Flag116 (N : Node_Id; Val : Boolean);
2469
      pragma Inline (Set_Flag116);
2470
 
2471
      procedure Set_Flag117 (N : Node_Id; Val : Boolean);
2472
      pragma Inline (Set_Flag117);
2473
 
2474
      procedure Set_Flag118 (N : Node_Id; Val : Boolean);
2475
      pragma Inline (Set_Flag118);
2476
 
2477
      procedure Set_Flag119 (N : Node_Id; Val : Boolean);
2478
      pragma Inline (Set_Flag119);
2479
 
2480
      procedure Set_Flag120 (N : Node_Id; Val : Boolean);
2481
      pragma Inline (Set_Flag120);
2482
 
2483
      procedure Set_Flag121 (N : Node_Id; Val : Boolean);
2484
      pragma Inline (Set_Flag121);
2485
 
2486
      procedure Set_Flag122 (N : Node_Id; Val : Boolean);
2487
      pragma Inline (Set_Flag122);
2488
 
2489
      procedure Set_Flag123 (N : Node_Id; Val : Boolean);
2490
      pragma Inline (Set_Flag123);
2491
 
2492
      procedure Set_Flag124 (N : Node_Id; Val : Boolean);
2493
      pragma Inline (Set_Flag124);
2494
 
2495
      procedure Set_Flag125 (N : Node_Id; Val : Boolean);
2496
      pragma Inline (Set_Flag125);
2497
 
2498
      procedure Set_Flag126 (N : Node_Id; Val : Boolean);
2499
      pragma Inline (Set_Flag126);
2500
 
2501
      procedure Set_Flag127 (N : Node_Id; Val : Boolean);
2502
      pragma Inline (Set_Flag127);
2503
 
2504
      procedure Set_Flag128 (N : Node_Id; Val : Boolean);
2505
      pragma Inline (Set_Flag128);
2506
 
2507
      procedure Set_Flag129 (N : Node_Id; Val : Boolean);
2508
      pragma Inline (Set_Flag129);
2509
 
2510
      procedure Set_Flag130 (N : Node_Id; Val : Boolean);
2511
      pragma Inline (Set_Flag130);
2512
 
2513
      procedure Set_Flag131 (N : Node_Id; Val : Boolean);
2514
      pragma Inline (Set_Flag131);
2515
 
2516
      procedure Set_Flag132 (N : Node_Id; Val : Boolean);
2517
      pragma Inline (Set_Flag132);
2518
 
2519
      procedure Set_Flag133 (N : Node_Id; Val : Boolean);
2520
      pragma Inline (Set_Flag133);
2521
 
2522
      procedure Set_Flag134 (N : Node_Id; Val : Boolean);
2523
      pragma Inline (Set_Flag134);
2524
 
2525
      procedure Set_Flag135 (N : Node_Id; Val : Boolean);
2526
      pragma Inline (Set_Flag135);
2527
 
2528
      procedure Set_Flag136 (N : Node_Id; Val : Boolean);
2529
      pragma Inline (Set_Flag136);
2530
 
2531
      procedure Set_Flag137 (N : Node_Id; Val : Boolean);
2532
      pragma Inline (Set_Flag137);
2533
 
2534
      procedure Set_Flag138 (N : Node_Id; Val : Boolean);
2535
      pragma Inline (Set_Flag138);
2536
 
2537
      procedure Set_Flag139 (N : Node_Id; Val : Boolean);
2538
      pragma Inline (Set_Flag139);
2539
 
2540
      procedure Set_Flag140 (N : Node_Id; Val : Boolean);
2541
      pragma Inline (Set_Flag140);
2542
 
2543
      procedure Set_Flag141 (N : Node_Id; Val : Boolean);
2544
      pragma Inline (Set_Flag141);
2545
 
2546
      procedure Set_Flag142 (N : Node_Id; Val : Boolean);
2547
      pragma Inline (Set_Flag142);
2548
 
2549
      procedure Set_Flag143 (N : Node_Id; Val : Boolean);
2550
      pragma Inline (Set_Flag143);
2551
 
2552
      procedure Set_Flag144 (N : Node_Id; Val : Boolean);
2553
      pragma Inline (Set_Flag144);
2554
 
2555
      procedure Set_Flag145 (N : Node_Id; Val : Boolean);
2556
      pragma Inline (Set_Flag145);
2557
 
2558
      procedure Set_Flag146 (N : Node_Id; Val : Boolean);
2559
      pragma Inline (Set_Flag146);
2560
 
2561
      procedure Set_Flag147 (N : Node_Id; Val : Boolean);
2562
      pragma Inline (Set_Flag147);
2563
 
2564
      procedure Set_Flag148 (N : Node_Id; Val : Boolean);
2565
      pragma Inline (Set_Flag148);
2566
 
2567
      procedure Set_Flag149 (N : Node_Id; Val : Boolean);
2568
      pragma Inline (Set_Flag149);
2569
 
2570
      procedure Set_Flag150 (N : Node_Id; Val : Boolean);
2571
      pragma Inline (Set_Flag150);
2572
 
2573
      procedure Set_Flag151 (N : Node_Id; Val : Boolean);
2574
      pragma Inline (Set_Flag151);
2575
 
2576
      procedure Set_Flag152 (N : Node_Id; Val : Boolean);
2577
      pragma Inline (Set_Flag152);
2578
 
2579
      procedure Set_Flag153 (N : Node_Id; Val : Boolean);
2580
      pragma Inline (Set_Flag153);
2581
 
2582
      procedure Set_Flag154 (N : Node_Id; Val : Boolean);
2583
      pragma Inline (Set_Flag154);
2584
 
2585
      procedure Set_Flag155 (N : Node_Id; Val : Boolean);
2586
      pragma Inline (Set_Flag155);
2587
 
2588
      procedure Set_Flag156 (N : Node_Id; Val : Boolean);
2589
      pragma Inline (Set_Flag156);
2590
 
2591
      procedure Set_Flag157 (N : Node_Id; Val : Boolean);
2592
      pragma Inline (Set_Flag157);
2593
 
2594
      procedure Set_Flag158 (N : Node_Id; Val : Boolean);
2595
      pragma Inline (Set_Flag158);
2596
 
2597
      procedure Set_Flag159 (N : Node_Id; Val : Boolean);
2598
      pragma Inline (Set_Flag159);
2599
 
2600
      procedure Set_Flag160 (N : Node_Id; Val : Boolean);
2601
      pragma Inline (Set_Flag160);
2602
 
2603
      procedure Set_Flag161 (N : Node_Id; Val : Boolean);
2604
      pragma Inline (Set_Flag161);
2605
 
2606
      procedure Set_Flag162 (N : Node_Id; Val : Boolean);
2607
      pragma Inline (Set_Flag162);
2608
 
2609
      procedure Set_Flag163 (N : Node_Id; Val : Boolean);
2610
      pragma Inline (Set_Flag163);
2611
 
2612
      procedure Set_Flag164 (N : Node_Id; Val : Boolean);
2613
      pragma Inline (Set_Flag164);
2614
 
2615
      procedure Set_Flag165 (N : Node_Id; Val : Boolean);
2616
      pragma Inline (Set_Flag165);
2617
 
2618
      procedure Set_Flag166 (N : Node_Id; Val : Boolean);
2619
      pragma Inline (Set_Flag166);
2620
 
2621
      procedure Set_Flag167 (N : Node_Id; Val : Boolean);
2622
      pragma Inline (Set_Flag167);
2623
 
2624
      procedure Set_Flag168 (N : Node_Id; Val : Boolean);
2625
      pragma Inline (Set_Flag168);
2626
 
2627
      procedure Set_Flag169 (N : Node_Id; Val : Boolean);
2628
      pragma Inline (Set_Flag169);
2629
 
2630
      procedure Set_Flag170 (N : Node_Id; Val : Boolean);
2631
      pragma Inline (Set_Flag170);
2632
 
2633
      procedure Set_Flag171 (N : Node_Id; Val : Boolean);
2634
      pragma Inline (Set_Flag171);
2635
 
2636
      procedure Set_Flag172 (N : Node_Id; Val : Boolean);
2637
      pragma Inline (Set_Flag172);
2638
 
2639
      procedure Set_Flag173 (N : Node_Id; Val : Boolean);
2640
      pragma Inline (Set_Flag173);
2641
 
2642
      procedure Set_Flag174 (N : Node_Id; Val : Boolean);
2643
      pragma Inline (Set_Flag174);
2644
 
2645
      procedure Set_Flag175 (N : Node_Id; Val : Boolean);
2646
      pragma Inline (Set_Flag175);
2647
 
2648
      procedure Set_Flag176 (N : Node_Id; Val : Boolean);
2649
      pragma Inline (Set_Flag176);
2650
 
2651
      procedure Set_Flag177 (N : Node_Id; Val : Boolean);
2652
      pragma Inline (Set_Flag177);
2653
 
2654
      procedure Set_Flag178 (N : Node_Id; Val : Boolean);
2655
      pragma Inline (Set_Flag178);
2656
 
2657
      procedure Set_Flag179 (N : Node_Id; Val : Boolean);
2658
      pragma Inline (Set_Flag179);
2659
 
2660
      procedure Set_Flag180 (N : Node_Id; Val : Boolean);
2661
      pragma Inline (Set_Flag180);
2662
 
2663
      procedure Set_Flag181 (N : Node_Id; Val : Boolean);
2664
      pragma Inline (Set_Flag181);
2665
 
2666
      procedure Set_Flag182 (N : Node_Id; Val : Boolean);
2667
      pragma Inline (Set_Flag182);
2668
 
2669
      procedure Set_Flag183 (N : Node_Id; Val : Boolean);
2670
      pragma Inline (Set_Flag183);
2671
 
2672
      procedure Set_Flag184 (N : Node_Id; Val : Boolean);
2673
      pragma Inline (Set_Flag184);
2674
 
2675
      procedure Set_Flag185 (N : Node_Id; Val : Boolean);
2676
      pragma Inline (Set_Flag185);
2677
 
2678
      procedure Set_Flag186 (N : Node_Id; Val : Boolean);
2679
      pragma Inline (Set_Flag186);
2680
 
2681
      procedure Set_Flag187 (N : Node_Id; Val : Boolean);
2682
      pragma Inline (Set_Flag187);
2683
 
2684
      procedure Set_Flag188 (N : Node_Id; Val : Boolean);
2685
      pragma Inline (Set_Flag188);
2686
 
2687
      procedure Set_Flag189 (N : Node_Id; Val : Boolean);
2688
      pragma Inline (Set_Flag189);
2689
 
2690
      procedure Set_Flag190 (N : Node_Id; Val : Boolean);
2691
      pragma Inline (Set_Flag190);
2692
 
2693
      procedure Set_Flag191 (N : Node_Id; Val : Boolean);
2694
      pragma Inline (Set_Flag191);
2695
 
2696
      procedure Set_Flag192 (N : Node_Id; Val : Boolean);
2697
      pragma Inline (Set_Flag192);
2698
 
2699
      procedure Set_Flag193 (N : Node_Id; Val : Boolean);
2700
      pragma Inline (Set_Flag193);
2701
 
2702
      procedure Set_Flag194 (N : Node_Id; Val : Boolean);
2703
      pragma Inline (Set_Flag194);
2704
 
2705
      procedure Set_Flag195 (N : Node_Id; Val : Boolean);
2706
      pragma Inline (Set_Flag195);
2707
 
2708
      procedure Set_Flag196 (N : Node_Id; Val : Boolean);
2709
      pragma Inline (Set_Flag196);
2710
 
2711
      procedure Set_Flag197 (N : Node_Id; Val : Boolean);
2712
      pragma Inline (Set_Flag197);
2713
 
2714
      procedure Set_Flag198 (N : Node_Id; Val : Boolean);
2715
      pragma Inline (Set_Flag198);
2716
 
2717
      procedure Set_Flag199 (N : Node_Id; Val : Boolean);
2718
      pragma Inline (Set_Flag199);
2719
 
2720
      procedure Set_Flag200 (N : Node_Id; Val : Boolean);
2721
      pragma Inline (Set_Flag200);
2722
 
2723
      procedure Set_Flag201 (N : Node_Id; Val : Boolean);
2724
      pragma Inline (Set_Flag201);
2725
 
2726
      procedure Set_Flag202 (N : Node_Id; Val : Boolean);
2727
      pragma Inline (Set_Flag202);
2728
 
2729
      procedure Set_Flag203 (N : Node_Id; Val : Boolean);
2730
      pragma Inline (Set_Flag203);
2731
 
2732
      procedure Set_Flag204 (N : Node_Id; Val : Boolean);
2733
      pragma Inline (Set_Flag204);
2734
 
2735
      procedure Set_Flag205 (N : Node_Id; Val : Boolean);
2736
      pragma Inline (Set_Flag205);
2737
 
2738
      procedure Set_Flag206 (N : Node_Id; Val : Boolean);
2739
      pragma Inline (Set_Flag206);
2740
 
2741
      procedure Set_Flag207 (N : Node_Id; Val : Boolean);
2742
      pragma Inline (Set_Flag207);
2743
 
2744
      procedure Set_Flag208 (N : Node_Id; Val : Boolean);
2745
      pragma Inline (Set_Flag208);
2746
 
2747
      procedure Set_Flag209 (N : Node_Id; Val : Boolean);
2748
      pragma Inline (Set_Flag209);
2749
 
2750
      procedure Set_Flag210 (N : Node_Id; Val : Boolean);
2751
      pragma Inline (Set_Flag210);
2752
 
2753
      procedure Set_Flag211 (N : Node_Id; Val : Boolean);
2754
      pragma Inline (Set_Flag211);
2755
 
2756
      procedure Set_Flag212 (N : Node_Id; Val : Boolean);
2757
      pragma Inline (Set_Flag212);
2758
 
2759
      procedure Set_Flag213 (N : Node_Id; Val : Boolean);
2760
      pragma Inline (Set_Flag213);
2761
 
2762
      procedure Set_Flag214 (N : Node_Id; Val : Boolean);
2763
      pragma Inline (Set_Flag214);
2764
 
2765
      procedure Set_Flag215 (N : Node_Id; Val : Boolean);
2766
      pragma Inline (Set_Flag215);
2767
 
2768
      procedure Set_Flag216 (N : Node_Id; Val : Boolean);
2769
      pragma Inline (Set_Flag216);
2770
 
2771
      procedure Set_Flag217 (N : Node_Id; Val : Boolean);
2772
      pragma Inline (Set_Flag217);
2773
 
2774
      procedure Set_Flag218 (N : Node_Id; Val : Boolean);
2775
      pragma Inline (Set_Flag218);
2776
 
2777
      procedure Set_Flag219 (N : Node_Id; Val : Boolean);
2778
      pragma Inline (Set_Flag219);
2779
 
2780
      procedure Set_Flag220 (N : Node_Id; Val : Boolean);
2781
      pragma Inline (Set_Flag220);
2782
 
2783
      procedure Set_Flag221 (N : Node_Id; Val : Boolean);
2784
      pragma Inline (Set_Flag221);
2785
 
2786
      procedure Set_Flag222 (N : Node_Id; Val : Boolean);
2787
      pragma Inline (Set_Flag222);
2788
 
2789
      procedure Set_Flag223 (N : Node_Id; Val : Boolean);
2790
      pragma Inline (Set_Flag223);
2791
 
2792
      procedure Set_Flag224 (N : Node_Id; Val : Boolean);
2793
      pragma Inline (Set_Flag224);
2794
 
2795
      procedure Set_Flag225 (N : Node_Id; Val : Boolean);
2796
      pragma Inline (Set_Flag225);
2797
 
2798
      procedure Set_Flag226 (N : Node_Id; Val : Boolean);
2799
      pragma Inline (Set_Flag226);
2800
 
2801
      procedure Set_Flag227 (N : Node_Id; Val : Boolean);
2802
      pragma Inline (Set_Flag227);
2803
 
2804
      procedure Set_Flag228 (N : Node_Id; Val : Boolean);
2805
      pragma Inline (Set_Flag228);
2806
 
2807
      procedure Set_Flag229 (N : Node_Id; Val : Boolean);
2808
      pragma Inline (Set_Flag229);
2809
 
2810
      procedure Set_Flag230 (N : Node_Id; Val : Boolean);
2811
      pragma Inline (Set_Flag230);
2812
 
2813
      procedure Set_Flag231 (N : Node_Id; Val : Boolean);
2814
      pragma Inline (Set_Flag231);
2815
 
2816
      procedure Set_Flag232 (N : Node_Id; Val : Boolean);
2817
      pragma Inline (Set_Flag232);
2818
 
2819
      procedure Set_Flag233 (N : Node_Id; Val : Boolean);
2820
      pragma Inline (Set_Flag233);
2821
 
2822
      procedure Set_Flag234 (N : Node_Id; Val : Boolean);
2823
      pragma Inline (Set_Flag234);
2824
 
2825
      procedure Set_Flag235 (N : Node_Id; Val : Boolean);
2826
      pragma Inline (Set_Flag235);
2827
 
2828
      procedure Set_Flag236 (N : Node_Id; Val : Boolean);
2829
      pragma Inline (Set_Flag236);
2830
 
2831
      procedure Set_Flag237 (N : Node_Id; Val : Boolean);
2832
      pragma Inline (Set_Flag237);
2833
 
2834
      procedure Set_Flag238 (N : Node_Id; Val : Boolean);
2835
      pragma Inline (Set_Flag238);
2836
 
2837
      procedure Set_Flag239 (N : Node_Id; Val : Boolean);
2838
      pragma Inline (Set_Flag239);
2839
 
2840
      procedure Set_Flag240 (N : Node_Id; Val : Boolean);
2841
      pragma Inline (Set_Flag240);
2842
 
2843
      procedure Set_Flag241 (N : Node_Id; Val : Boolean);
2844
      pragma Inline (Set_Flag241);
2845
 
2846
      procedure Set_Flag242 (N : Node_Id; Val : Boolean);
2847
      pragma Inline (Set_Flag242);
2848
 
2849
      procedure Set_Flag243 (N : Node_Id; Val : Boolean);
2850
      pragma Inline (Set_Flag243);
2851
 
2852
      procedure Set_Flag244 (N : Node_Id; Val : Boolean);
2853
      pragma Inline (Set_Flag244);
2854
 
2855
      procedure Set_Flag245 (N : Node_Id; Val : Boolean);
2856
      pragma Inline (Set_Flag245);
2857
 
2858
      procedure Set_Flag246 (N : Node_Id; Val : Boolean);
2859
      pragma Inline (Set_Flag246);
2860
 
2861
      procedure Set_Flag247 (N : Node_Id; Val : Boolean);
2862
      pragma Inline (Set_Flag247);
2863
 
2864
      --  The following versions of Set_Noden also set the parent
2865
      --  pointer of the referenced node if it is non_Empty
2866
 
2867
      procedure Set_Node1_With_Parent (N : Node_Id; Val : Node_Id);
2868
      pragma Inline (Set_Node1_With_Parent);
2869
 
2870
      procedure Set_Node2_With_Parent (N : Node_Id; Val : Node_Id);
2871
      pragma Inline (Set_Node2_With_Parent);
2872
 
2873
      procedure Set_Node3_With_Parent (N : Node_Id; Val : Node_Id);
2874
      pragma Inline (Set_Node3_With_Parent);
2875
 
2876
      procedure Set_Node4_With_Parent (N : Node_Id; Val : Node_Id);
2877
      pragma Inline (Set_Node4_With_Parent);
2878
 
2879
      procedure Set_Node5_With_Parent (N : Node_Id; Val : Node_Id);
2880
      pragma Inline (Set_Node5_With_Parent);
2881
 
2882
      --  The following versions of Set_Listn also set the parent pointer of
2883
      --  the referenced node if it is non_Empty. The procedures for List6
2884
      --  to List12 can only be applied to nodes which have an extension.
2885
 
2886
      procedure Set_List1_With_Parent (N : Node_Id; Val : List_Id);
2887
      pragma Inline (Set_List1_With_Parent);
2888
 
2889
      procedure Set_List2_With_Parent (N : Node_Id; Val : List_Id);
2890
      pragma Inline (Set_List2_With_Parent);
2891
 
2892
      procedure Set_List3_With_Parent (N : Node_Id; Val : List_Id);
2893
      pragma Inline (Set_List3_With_Parent);
2894
 
2895
      procedure Set_List4_With_Parent (N : Node_Id; Val : List_Id);
2896
      pragma Inline (Set_List4_With_Parent);
2897
 
2898
      procedure Set_List5_With_Parent (N : Node_Id; Val : List_Id);
2899
      pragma Inline (Set_List5_With_Parent);
2900
 
2901
   end Unchecked_Access;
2902
 
2903
   -----------------------------
2904
   -- Private Part Subpackage --
2905
   -----------------------------
2906
 
2907
   --  The following package contains the definition of the data structure
2908
   --  used by the implementation of the Atree package. Logically it really
2909
   --  corresponds to the private part, hence the name. The reason that it
2910
   --  is defined as a sub-package is to allow special access from clients
2911
   --  that need to see the internals of the data structures.
2912
 
2913
   package Atree_Private_Part is
2914
 
2915
      -------------------------
2916
      -- Tree Representation --
2917
      -------------------------
2918
 
2919
      --  The nodes of the tree are stored in a table (i.e. an array). In the
2920
      --  case of extended nodes five consecutive components in the array are
2921
      --  used. There are thus two formats for array components. One is used
2922
      --  for non-extended nodes, and for the first component of extended
2923
      --  nodes. The other is used for the extension parts (second, third,
2924
      --  fourth and fifth components) of an extended node. A variant record
2925
      --  structure is used to distinguish the two formats.
2926
 
2927
      type Node_Record (Is_Extension : Boolean := False) is record
2928
 
2929
         --  Logically, the only field in the common part is the above
2930
         --  Is_Extension discriminant (a single bit). However, Gigi cannot
2931
         --  yet handle such a structure, so we fill out the common part of
2932
         --  the record with fields that are used in different ways for
2933
         --  normal nodes and node extensions.
2934
 
2935
         Pflag1, Pflag2 : Boolean;
2936
         --  The Paren_Count field is represented using two boolean flags,
2937
         --  where Pflag1 is worth 1, and Pflag2 is worth 2. This is done
2938
         --  because we need to be easily able to reuse this field for
2939
         --  extra flags in the extended node case.
2940
 
2941
         In_List : Boolean;
2942
         --  Flag used to indicate if node is a member of a list.
2943
         --  This field is considered private to the Atree package.
2944
 
2945
         Unused_1 : Boolean;
2946
         --  Currently unused flag
2947
 
2948
         Rewrite_Ins : Boolean;
2949
         --  Flag set by Mark_Rewrite_Insertion procedure.
2950
         --  This field is considered private to the Atree package.
2951
 
2952
         Analyzed : Boolean;
2953
         --  Flag to indicate the node has been analyzed (and expanded)
2954
 
2955
         Comes_From_Source : Boolean;
2956
         --  Flag to indicate that node comes from the source program (i.e.
2957
         --  was built by the parser or scanner, not the analyzer or expander).
2958
 
2959
         Error_Posted : Boolean;
2960
         --  Flag to indicate that an error message has been posted on the
2961
         --  node (to avoid duplicate flags on the same node)
2962
 
2963
         Flag4  : Boolean;
2964
         Flag5  : Boolean;
2965
         Flag6  : Boolean;
2966
         Flag7  : Boolean;
2967
         Flag8  : Boolean;
2968
         Flag9  : Boolean;
2969
         Flag10 : Boolean;
2970
         Flag11 : Boolean;
2971
         Flag12 : Boolean;
2972
         Flag13 : Boolean;
2973
         Flag14 : Boolean;
2974
         Flag15 : Boolean;
2975
         Flag16 : Boolean;
2976
         Flag17 : Boolean;
2977
         Flag18 : Boolean;
2978
         --  The eighteen flags for a normal node
2979
 
2980
         --  The above fields are used as follows in components 2-4 of
2981
         --  an extended node entry. These fields are not currently
2982
         --  used in component 5 (where we still have lots of room!)
2983
 
2984
         --    In_List            used as  Flag19, Flag40, Flag129
2985
         --    Unused_1           used as  Flag20, Flag41, Flag130
2986
         --    Rewrite_Ins        used as  Flag21, Flag42, Flag131
2987
         --    Analyzed           used as  Flag22, Flag43, Flag132
2988
         --    Comes_From_Source  used as  Flag23, Flag44, Flag133
2989
         --    Error_Posted       used as  Flag24, Flag45, Flag134
2990
         --    Flag4              used as  Flag25, Flag46, Flag135
2991
         --    Flag5              used as  Flag26, Flag47, Flag136
2992
         --    Flag6              used as  Flag27, Flag48, Flag137
2993
         --    Flag7              used as  Flag28, Flag49, Flag138
2994
         --    Flag8              used as  Flag29, Flag50, Flag139
2995
         --    Flag9              used as  Flag30, Flag51, Flag140
2996
         --    Flag10             used as  Flag31, Flag52, Flag141
2997
         --    Flag11             used as  Flag32, Flag53, Flag142
2998
         --    Flag12             used as  Flag33, Flag54, Flag143
2999
         --    Flag13             used as  Flag34, Flag55, Flag144
3000
         --    Flag14             used as  Flag35, Flag56, Flag145
3001
         --    Flag15             used as  Flag36, Flag57, Flag146
3002
         --    Flag16             used as  Flag37, Flag58, Flag147
3003
         --    Flag17             used as  Flag38, Flag59, Flag148
3004
         --    Flag18             used as  Flag39, Flag60, Flag149
3005
         --    Pflag1             used as  Flag61, Flag62, Flag150
3006
         --    Pflag2             used as  Flag63, Flag64, Flag151
3007
 
3008
         Nkind : Node_Kind;
3009
         --  For a non-extended node, or the initial section of an extended
3010
         --  node, this field holds the Node_Kind value. For an extended node,
3011
         --  The Nkind field is used as follows:
3012
         --
3013
         --     Second entry: holds the Ekind field of the entity
3014
         --     Third entry:  holds 8 additional flags (Flag65-Flag72)
3015
         --     Fourth entry: not currently used
3016
 
3017
         --  Now finally (on an 32-bit boundary!) comes the variant part
3018
 
3019
         case Is_Extension is
3020
 
3021
            --  Non-extended node, or first component of extended node
3022
 
3023
            when False =>
3024
 
3025
               Sloc : Source_Ptr;
3026
               --  Source location for this node
3027
 
3028
               Link : Union_Id;
3029
               --  This field is used either as the Parent pointer (if In_List
3030
               --  is False), or to point to the list header (if In_List is
3031
               --  True). This field is considered private and can be modified
3032
               --  only by Atree or by Nlists.
3033
 
3034
               Field1 : Union_Id;
3035
               Field2 : Union_Id;
3036
               Field3 : Union_Id;
3037
               Field4 : Union_Id;
3038
               Field5 : Union_Id;
3039
               --  Five general use fields, which can contain Node_Id, List_Id,
3040
               --  Elist_Id, String_Id, or Name_Id values depending on the
3041
               --  values in Nkind and (for extended nodes), in Ekind. See
3042
               --  packages Sinfo and Einfo for details of their use.
3043
 
3044
            --  Extension (second component) of extended node
3045
 
3046
            when True =>
3047
 
3048
               Field6  : Union_Id;
3049
               Field7  : Union_Id;
3050
               Field8  : Union_Id;
3051
               Field9  : Union_Id;
3052
               Field10 : Union_Id;
3053
               Field11 : Union_Id;
3054
               Field12 : Union_Id;
3055
               --  Seven additional general fields available only for entities
3056
               --  See package Einfo for details of their use (which depends
3057
               --  on the value in the Ekind field).
3058
 
3059
            --  In the third component, the extension format as described
3060
            --  above is used to hold additional general fields and flags
3061
            --  as follows:
3062
 
3063
            --    Field6-11      Holds Field13-Field18
3064
            --    Field12        Holds Flag73-Flag96 and Convention
3065
 
3066
            --  In the fourth component, the extension format as described
3067
            --  above is used to hold additional general fields and flags
3068
            --  as follows:
3069
 
3070
            --    Field6-10      Holds Field19-Field23
3071
            --    Field11        Holds Flag152-Flag183
3072
            --    Field12        Holds Flag97-Flag128
3073
 
3074
            --  In the fifth component, the extension format as described
3075
            --  above is used to hold additional general fields and flags
3076
            --  as follows:
3077
 
3078
            --    Field6-10      Holds Field24-Field28
3079
            --    Field11        Holds Flag184-Flag215
3080
            --    Field12        Holds Flag216-Flag247
3081
 
3082
         end case;
3083
      end record;
3084
 
3085
      pragma Pack (Node_Record);
3086
      for Node_Record'Size use 8*32;
3087
      for Node_Record'Alignment use 4;
3088
 
3089
      function E_To_N is new Unchecked_Conversion (Entity_Kind, Node_Kind);
3090
      function N_To_E is new Unchecked_Conversion (Node_Kind, Entity_Kind);
3091
 
3092
      --  Default value used to initialize default nodes. Note that some of the
3093
      --  fields get overwritten, and in particular, Nkind always gets reset.
3094
 
3095
      Default_Node : Node_Record := (
3096
         Is_Extension      => False,
3097
         Pflag1            => False,
3098
         Pflag2            => False,
3099
         In_List           => False,
3100
         Unused_1          => False,
3101
         Rewrite_Ins       => False,
3102
         Analyzed          => False,
3103
         Comes_From_Source => False,
3104
         --  modified by Set_Comes_From_Source_Default
3105
         Error_Posted      => False,
3106
         Flag4             => False,
3107
 
3108
         Flag5             => False,
3109
         Flag6             => False,
3110
         Flag7             => False,
3111
         Flag8             => False,
3112
         Flag9             => False,
3113
         Flag10            => False,
3114
         Flag11            => False,
3115
         Flag12            => False,
3116
 
3117
         Flag13            => False,
3118
         Flag14            => False,
3119
         Flag15            => False,
3120
         Flag16            => False,
3121
         Flag17            => False,
3122
         Flag18            => False,
3123
 
3124
         Nkind             => N_Unused_At_Start,
3125
 
3126
         Sloc              => No_Location,
3127
         Link              => Empty_List_Or_Node,
3128
         Field1            => Empty_List_Or_Node,
3129
         Field2            => Empty_List_Or_Node,
3130
         Field3            => Empty_List_Or_Node,
3131
         Field4            => Empty_List_Or_Node,
3132
         Field5            => Empty_List_Or_Node);
3133
 
3134
      --  Default value used to initialize node extensions (i.e. the second
3135
      --  and third and fourth components of an extended node). Note we are
3136
      --  cheating a bit here when it comes to Node12, which really holds
3137
      --  flags an (for the third component), the convention. But it works
3138
      --  because Empty, False, Convention_Ada, all happen to be all zero bits.
3139
 
3140
      Default_Node_Extension : constant Node_Record := (
3141
         Is_Extension      => True,
3142
         Pflag1            => False,
3143
         Pflag2            => False,
3144
         In_List           => False,
3145
         Unused_1          => False,
3146
         Rewrite_Ins       => False,
3147
         Analyzed          => False,
3148
         Comes_From_Source => False,
3149
         Error_Posted      => False,
3150
         Flag4             => False,
3151
 
3152
         Flag5             => False,
3153
         Flag6             => False,
3154
         Flag7             => False,
3155
         Flag8             => False,
3156
         Flag9             => False,
3157
         Flag10            => False,
3158
         Flag11            => False,
3159
         Flag12            => False,
3160
 
3161
         Flag13            => False,
3162
         Flag14            => False,
3163
         Flag15            => False,
3164
         Flag16            => False,
3165
         Flag17            => False,
3166
         Flag18            => False,
3167
 
3168
         Nkind             => E_To_N (E_Void),
3169
 
3170
         Field6            => Empty_List_Or_Node,
3171
         Field7            => Empty_List_Or_Node,
3172
         Field8            => Empty_List_Or_Node,
3173
         Field9            => Empty_List_Or_Node,
3174
         Field10           => Empty_List_Or_Node,
3175
         Field11           => Empty_List_Or_Node,
3176
         Field12           => Empty_List_Or_Node);
3177
 
3178
      --  The following defines the extendable array used for the nodes table
3179
      --  Nodes with extensions use five consecutive entries in the array
3180
 
3181
      package Nodes is new Table.Table (
3182
        Table_Component_Type => Node_Record,
3183
        Table_Index_Type     => Node_Id'Base,
3184
        Table_Low_Bound      => First_Node_Id,
3185
        Table_Initial        => Alloc.Nodes_Initial,
3186
        Table_Increment      => Alloc.Nodes_Increment,
3187
        Table_Name           => "Nodes");
3188
 
3189
   end Atree_Private_Part;
3190
 
3191
end Atree;

powered by: WebSVN 2.1.0

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