00001 /* 00002 Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. 00003 File modified June 20, 2003 by PathScale, Inc. to update Open64 C/C++ 00004 front-ends to GNU 3.2.2 release. 00005 */ 00006 00007 /* 00008 00009 Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00010 00011 This program is free software; you can redistribute it and/or modify it 00012 under the terms of version 2 of the GNU General Public License as 00013 published by the Free Software Foundation. 00014 00015 This program is distributed in the hope that it would be useful, but 00016 WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 00019 Further, this software is distributed without any warranty that it is 00020 free of the rightful claim of any third person regarding infringement 00021 or the like. Any license provided herein, whether implied or 00022 otherwise, applies only to this software file. Patent licenses, if 00023 any, provided herein do not apply to combinations of this program with 00024 other software, or any other product whatsoever. 00025 00026 You should have received a copy of the GNU General Public License along 00027 with this program; if not, write the Free Software Foundation, Inc., 59 00028 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00029 00030 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00031 Mountain View, CA 94043, or: 00032 00033 http://www.sgi.com 00034 00035 For further information regarding this notice, see: 00036 00037 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00038 00039 */ 00040 00041 00042 /* ==================================================================== 00043 * ==================================================================== 00044 * 00045 * Module: c_int_model.h 00046 * $Revision: 1.5 $ 00047 * $Date: 04/12/21 14:57:52-08:00 $ 00048 * $Author: bos@eng-25.internal.keyresearch.com $ 00049 * $Source: /home/bos/bk/kpro64-pending/kgccfe/SCCS/s.c_int_model.h $ 00050 * 00051 * Revision history: 00052 * ??-???-92 - Original Version 00053 * 00054 * Description: 00055 * 00056 * External interface to C integer model configuration support. 00057 * 00058 * ==================================================================== 00059 * ==================================================================== 00060 */ 00061 00062 #ifndef c_int_model_INCLUDED 00063 #define c_int_model_INCLUDED 00064 00065 #ifdef _KEEP_RCS_ID 00066 static char *c_int_model_rcs_id = "$Source: /home/bos/bk/kpro64-pending/kgccfe/SCCS/s.c_int_model.h $ $Revision: 1.5 $"; 00067 #endif /* _KEEP_RCS_ID */ 00068 00069 #ifndef defs_INCLUDED 00070 #include "defs.h" 00071 #endif 00072 #ifndef mtypes_INCLUDED 00073 #include "mtypes.h" 00074 #endif 00075 00076 /* Define the integer model choices. WARNING: There are tables in the 00077 * associated source file which depend on these value assignments. 00078 */ 00079 typedef enum { 00080 TARGET_INT_ILP32 = 0, 00081 TARGET_INT_LP64 = 1, 00082 TARGET_INT_ILP64 = 2, 00083 TARGET_INT_P64 = 3 00084 } TARGET_INT_MODEL; 00085 extern TARGET_INT_MODEL Target_Int_Model; 00086 00087 #ifdef __cplusplus 00088 extern "C" { 00089 #endif 00090 00091 extern void Initialize_C_Int_Model ( void ); 00092 extern TYPE_ID FE_Int_Type_To_Mtype(int); 00093 extern TYPE_ID FE_Pointer_Type_To_Mtype(void); 00094 extern TYPE_ID FE_int_To_Mtype(void); 00095 extern void Make_Int_Model_Consistent(void); 00096 00097 #ifdef __cplusplus 00098 } 00099 #endif 00100 00101 #endif /* c_int_model_INCLUDED */
1.5.6