Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
erirb.h
Go to the documentation of this file.
00001 /*
00002 
00003   Copyright (C) 2000, 2001 Silicon Graphics, Inc.  All Rights Reserved.
00004 
00005   This program is free software; you can redistribute it and/or modify it
00006   under the terms of version 2 of the GNU General Public License as
00007   published by the Free Software Foundation.
00008 
00009   This program is distributed in the hope that it would be useful, but
00010   WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00012 
00013   Further, this software is distributed without any warranty that it is
00014   free of the rightful claim of any third person regarding infringement 
00015   or the like.  Any license provided herein, whether implied or 
00016   otherwise, applies only to this software file.  Patent licenses, if 
00017   any, provided herein do not apply to combinations of this program with 
00018   other software, or any other product whatsoever.  
00019 
00020   You should have received a copy of the GNU General Public License along
00021   with this program; if not, write the Free Software Foundation, Inc., 59
00022   Temple Place - Suite 330, Boston MA 02111-1307, USA.
00023 
00024   Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pky,
00025   Mountain View, CA 94043, or:
00026 
00027   http://www.sgi.com
00028 
00029   For further information regarding this notice, see:
00030 
00031   http://oss.sgi.com/projects/GenInfo/NoticeExplan
00032 
00033 */
00034 
00035 
00036 #ifndef erirb_INCLUDED
00037 #define erirb_INCLUDED
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 /* ====================================================================
00042  * ====================================================================
00043  *
00044  *
00045  * Revision history:
00046  *  23-Jun-89 - Original Version
00047  *  12-Jun-91 - Integrated from Josie
00048  *
00049  * Description:
00050  *
00051  * IR Builder error code definitions.
00052  *
00053  * ====================================================================
00054  * ====================================================================
00055  */
00056 
00057 
00058 #ifdef _KEEP_RCS_ID
00059 #endif /* _KEEP_RCS_ID */
00060 
00061 /* Include errors.h for the benefit of any users: */
00062 #include "errors.h"
00063 
00064 /* Define the initial error code to use: */
00065 #define EC_IRB_Start    (EP_IR_BUILDER)*1000
00066 
00067 /* General irb error codes: */
00068 #define EC_Irb_Internal EC_IRB_Start            /* str */
00069 
00070 /* irbmain error codes: */
00071 #define EC_No_ASSIGN    EC_IRB_Start+1          /* str */
00072 
00073 /* irbmem error codes: */
00074 #define EC_Array_OOB    EC_IRB_Start+11         /* sym */
00075 #define EC_Bad_Formal   EC_IRB_Start+12         /* sym */
00076 #define EC_Addr_Formal  EC_IRB_Start+13         /* sym */
00077 #define EC_Null_Base    EC_IRB_Start+14         /* tree, tree */
00078 #define EC_Invalid_Addr EC_IRB_Start+15         /* str */
00079 #define EC_Var_TN       EC_IRB_Start+16         /* tn, str */
00080 #define EC_Bad_Const    EC_IRB_Start+17         /* int, str */
00081 #define EC_Mult_Defer   EC_IRB_Start+18         /* sym, tree */
00082 #define EC_Abs_Addr     EC_IRB_Start+19         /* tree, tree, str */
00083 #define EC_Load_Opnds   EC_IRB_Start+20         /* int, str, str */
00084 
00085 /* irbcall/callutil error codes: */
00086 #define EC_Return_Style EC_IRB_Start+31         /* int, str */
00087 #define EC_Need_Value   EC_IRB_Start+32         /* str */
00088 #define EC_Inv_Actual   EC_IRB_Start+33         /* node, int */
00089 #define EC_Mem_Actual   EC_IRB_Start+34         /* int, int */
00090 #define EC_No_Einfo     EC_IRB_Start+35         /* tree */
00091 #define EC_Not_Entry    EC_IRB_Start+37         /* sym, sym */
00092 #define EC_Flt_Varargs1 EC_IRB_Start+38         /* str */
00093 #define EC_Flt_Varargs2 EC_IRB_Start+39         /* str */
00094 
00095 /* irbexec error codes: */
00096 #define EC_Agt_Uninit   EC_IRB_Start+41         /* sym */
00097 
00098 /* irbdo error codes: */
00099 #define EC_Inv_GOTO     EC_IRB_Start+51         /* int, sym */
00100 
00101 /* irbexpr error codes: */
00102 #define EC_Inv_Field_At EC_IRB_Start+61         /* int, int, int */
00103 #define EC_Inv_Alloca_Size  EC_IRB_Start+62     /* int64 */
00104 #define EC_Zero_Alloca_Size EC_IRB_Start+63     /* none */
00105 #define EC_Inv_TAS_Size EC_IRB_Start+64         /* nd, int, nd, int, str */
00106 #define EC_TAS_Nonload  EC_IRB_Start+65         /* nd, nd, tn */
00107 
00108 /* Memory model errors: */
00109 #define EC_Ill_TDT_Seg  EC_IRB_Start+80         /* int, stab */
00110 #define EC_Large_Temp   EC_IRB_Start+81         /* int, stab */
00111 #define EC_Ill_Stack_Base EC_IRB_Start+82       /* stab, stab */
00112 #define EC_Huge_Frame   EC_IRB_Start+83         /* int, int */
00113 #define EC_Huge_Frame2  EC_IRB_Start+84         /* none */
00114 #define EC_Not_Sorted   EC_IRB_Start+85         /* str */
00115 #define EC_Pop_Scope    EC_IRB_Start+86         /* none */
00116 #define EC_Ill_Frame_Seg EC_IRB_Start+87        /* int, str */
00117 #define EC_Ill_Stack_Model EC_IRB_Start+88      /* int, str */
00118 #define EC_Sym_Removal  EC_IRB_Start+89         /* stab, str */
00119 #define EC_Gnum_Range   EC_IRB_Start+90         /* str */
00120 
00121 #ifdef __cplusplus
00122 }
00123 #endif
00124 #endif /* erirb_INCLUDED */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines