OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
erirb.h
Go to the documentation of this file.
1 /*
2 
3  Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
4 
5  This program is free software; you can redistribute it and/or modify it
6  under the terms of version 2 of the GNU General Public License as
7  published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it would be useful, but
10  WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13  Further, this software is distributed without any warranty that it is
14  free of the rightful claim of any third person regarding infringement
15  or the like. Any license provided herein, whether implied or
16  otherwise, applies only to this software file. Patent licenses, if
17  any, provided herein do not apply to combinations of this program with
18  other software, or any other product whatsoever.
19 
20  You should have received a copy of the GNU General Public License along
21  with this program; if not, write the Free Software Foundation, Inc., 59
22  Temple Place - Suite 330, Boston MA 02111-1307, USA.
23 
24  Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky,
25  Mountain View, CA 94043, or:
26 
27  http://www.sgi.com
28 
29  For further information regarding this notice, see:
30 
31  http://oss.sgi.com/projects/GenInfo/NoticeExplan
32 
33 */
34 
35 
36 #ifndef erirb_INCLUDED
37 #define erirb_INCLUDED
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 /* ====================================================================
42  * ====================================================================
43  *
44  *
45  * Revision history:
46  * 23-Jun-89 - Original Version
47  * 12-Jun-91 - Integrated from Josie
48  *
49  * Description:
50  *
51  * IR Builder error code definitions.
52  *
53  * ====================================================================
54  * ====================================================================
55  */
56 
57 
58 #ifdef _KEEP_RCS_ID
59 #endif /* _KEEP_RCS_ID */
60 
61 /* Include errors.h for the benefit of any users: */
62 #include "errors.h"
63 
64 /* Define the initial error code to use: */
65 #define EC_IRB_Start (EP_IR_BUILDER)*1000
66 
67 /* General irb error codes: */
68 #define EC_Irb_Internal EC_IRB_Start /* str */
69 
70 /* irbmain error codes: */
71 #define EC_No_ASSIGN EC_IRB_Start+1 /* str */
72 
73 /* irbmem error codes: */
74 #define EC_Array_OOB EC_IRB_Start+11 /* sym */
75 #define EC_Bad_Formal EC_IRB_Start+12 /* sym */
76 #define EC_Addr_Formal EC_IRB_Start+13 /* sym */
77 #define EC_Null_Base EC_IRB_Start+14 /* tree, tree */
78 #define EC_Invalid_Addr EC_IRB_Start+15 /* str */
79 #define EC_Var_TN EC_IRB_Start+16 /* tn, str */
80 #define EC_Bad_Const EC_IRB_Start+17 /* int, str */
81 #define EC_Mult_Defer EC_IRB_Start+18 /* sym, tree */
82 #define EC_Abs_Addr EC_IRB_Start+19 /* tree, tree, str */
83 #define EC_Load_Opnds EC_IRB_Start+20 /* int, str, str */
84 
85 /* irbcall/callutil error codes: */
86 #define EC_Return_Style EC_IRB_Start+31 /* int, str */
87 #define EC_Need_Value EC_IRB_Start+32 /* str */
88 #define EC_Inv_Actual EC_IRB_Start+33 /* node, int */
89 #define EC_Mem_Actual EC_IRB_Start+34 /* int, int */
90 #define EC_No_Einfo EC_IRB_Start+35 /* tree */
91 #define EC_Not_Entry EC_IRB_Start+37 /* sym, sym */
92 #define EC_Flt_Varargs1 EC_IRB_Start+38 /* str */
93 #define EC_Flt_Varargs2 EC_IRB_Start+39 /* str */
94 
95 /* irbexec error codes: */
96 #define EC_Agt_Uninit EC_IRB_Start+41 /* sym */
97 
98 /* irbdo error codes: */
99 #define EC_Inv_GOTO EC_IRB_Start+51 /* int, sym */
100 
101 /* irbexpr error codes: */
102 #define EC_Inv_Field_At EC_IRB_Start+61 /* int, int, int */
103 #define EC_Inv_Alloca_Size EC_IRB_Start+62 /* int64 */
104 #define EC_Zero_Alloca_Size EC_IRB_Start+63 /* none */
105 #define EC_Inv_TAS_Size EC_IRB_Start+64 /* nd, int, nd, int, str */
106 #define EC_TAS_Nonload EC_IRB_Start+65 /* nd, nd, tn */
107 
108 /* Memory model errors: */
109 #define EC_Ill_TDT_Seg EC_IRB_Start+80 /* int, stab */
110 #define EC_Large_Temp EC_IRB_Start+81 /* int, stab */
111 #define EC_Ill_Stack_Base EC_IRB_Start+82 /* stab, stab */
112 #define EC_Huge_Frame EC_IRB_Start+83 /* int, int */
113 #define EC_Huge_Frame2 EC_IRB_Start+84 /* none */
114 #define EC_Not_Sorted EC_IRB_Start+85 /* str */
115 #define EC_Pop_Scope EC_IRB_Start+86 /* none */
116 #define EC_Ill_Frame_Seg EC_IRB_Start+87 /* int, str */
117 #define EC_Ill_Stack_Model EC_IRB_Start+88 /* int, str */
118 #define EC_Sym_Removal EC_IRB_Start+89 /* stab, str */
119 #define EC_Gnum_Range EC_IRB_Start+90 /* str */
120 
121 #ifdef __cplusplus
122 }
123 #endif
124 #endif /* erirb_INCLUDED */