annotate gcc/ada/repinfo.h @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /****************************************************************************
kono
parents:
diff changeset
2 * *
kono
parents:
diff changeset
3 * GNAT COMPILER COMPONENTS *
kono
parents:
diff changeset
4 * *
kono
parents:
diff changeset
5 * R E P I N F O *
kono
parents:
diff changeset
6 * *
kono
parents:
diff changeset
7 * C Header File *
kono
parents:
diff changeset
8 * *
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
9 * Copyright (C) 1999-2019, Free Software Foundation, Inc. *
111
kono
parents:
diff changeset
10 * *
kono
parents:
diff changeset
11 * GNAT is free software; you can redistribute it and/or modify it under *
kono
parents:
diff changeset
12 * terms of the GNU General Public License as published by the Free Soft- *
kono
parents:
diff changeset
13 * ware Foundation; either version 3, or (at your option) any later ver- *
kono
parents:
diff changeset
14 * sion. GNAT is distributed in the hope that it will be useful, but WITH- *
kono
parents:
diff changeset
15 * OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
kono
parents:
diff changeset
16 * or FITNESS FOR A PARTICULAR PURPOSE. *
kono
parents:
diff changeset
17 * *
kono
parents:
diff changeset
18 * As a special exception under Section 7 of GPL version 3, you are granted *
kono
parents:
diff changeset
19 * additional permissions described in the GCC Runtime Library Exception, *
kono
parents:
diff changeset
20 * version 3.1, as published by the Free Software Foundation. *
kono
parents:
diff changeset
21 * *
kono
parents:
diff changeset
22 * You should have received a copy of the GNU General Public License and *
kono
parents:
diff changeset
23 * a copy of the GCC Runtime Library Exception along with this program; *
kono
parents:
diff changeset
24 * see the files COPYING3 and COPYING.RUNTIME respectively. If not, see *
kono
parents:
diff changeset
25 * <http://www.gnu.org/licenses/>. *
kono
parents:
diff changeset
26 * *
kono
parents:
diff changeset
27 * GNAT was originally developed by the GNAT team at New York University. *
kono
parents:
diff changeset
28 * Extensive contributions were provided by Ada Core Technologies Inc. *
kono
parents:
diff changeset
29 * *
kono
parents:
diff changeset
30 ****************************************************************************/
kono
parents:
diff changeset
31
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
32 /* This is the C header that corresponds to the Ada package specification for
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
33 Repinfo. It was created manually from repinfo.ads and must be kept
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
34 synchronized with changes in this file. */
111
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 #ifdef __cplusplus
kono
parents:
diff changeset
37 extern "C" {
kono
parents:
diff changeset
38 #endif
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 typedef Uint Node_Ref;
kono
parents:
diff changeset
41 typedef Uint Node_Ref_Or_Val;
kono
parents:
diff changeset
42 typedef char TCode;
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 /* These are the values of TCcode that correspond to tree codes in tree.def,
kono
parents:
diff changeset
45 except for the first, which is how we encode discriminants. */
kono
parents:
diff changeset
46
kono
parents:
diff changeset
47 #define Discrim_Val 0
kono
parents:
diff changeset
48 #define Cond_Expr 1
kono
parents:
diff changeset
49 #define Plus_Expr 2
kono
parents:
diff changeset
50 #define Minus_Expr 3
kono
parents:
diff changeset
51 #define Mult_Expr 4
kono
parents:
diff changeset
52 #define Trunc_Div_Expr 5
kono
parents:
diff changeset
53 #define Ceil_Div_Expr 6
kono
parents:
diff changeset
54 #define Floor_Div_Expr 7
kono
parents:
diff changeset
55 #define Trunc_Mod_Expr 8
kono
parents:
diff changeset
56 #define Ceil_Mod_Expr 9
kono
parents:
diff changeset
57 #define Floor_Mod_Expr 10
kono
parents:
diff changeset
58 #define Exact_Div_Expr 11
kono
parents:
diff changeset
59 #define Negate_Expr 12
kono
parents:
diff changeset
60 #define Min_Expr 13
kono
parents:
diff changeset
61 #define Max_Expr 14
kono
parents:
diff changeset
62 #define Abs_Expr 15
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
63 #define Truth_And_Expr 16
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
64 #define Truth_Or_Expr 17
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
65 #define Truth_Xor_Expr 18
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
66 #define Truth_Not_Expr 19
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
67 #define Lt_Expr 20
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
68 #define Le_Expr 21
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
69 #define Gt_Expr 22
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
70 #define Ge_Expr 23
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
71 #define Eq_Expr 24
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
72 #define Ne_Expr 25
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
73 #define Bit_And_Expr 26
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
74 #define Dynamic_Val 27
111
kono
parents:
diff changeset
75
kono
parents:
diff changeset
76 /* Creates a node using the tree code defined by Expr and from 1-3
kono
parents:
diff changeset
77 operands as required (unused operands set as shown to No_Uint) Note
kono
parents:
diff changeset
78 that this call can be used to create a discriminant reference by
kono
parents:
diff changeset
79 using (Expr => Discrim_Val, Op1 => discriminant_number). */
kono
parents:
diff changeset
80 #define Create_Node repinfo__create_node
kono
parents:
diff changeset
81 extern Node_Ref Create_Node (TCode, Node_Ref_Or_Val,
kono
parents:
diff changeset
82 Node_Ref_Or_Val, Node_Ref_Or_Val);
kono
parents:
diff changeset
83
kono
parents:
diff changeset
84 #ifdef __cplusplus
kono
parents:
diff changeset
85 }
kono
parents:
diff changeset
86 #endif