Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
wn2f_load_store.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 wn2f_load_store_INCLUDED
00037 #define wn2f_load_store_INCLUDED
00038 /* ====================================================================
00039  * ====================================================================
00040  *
00041  *
00042  * Revision history:
00043  *    13-Apr-95 - Original Version
00044  *
00045  * Description:
00046  *
00047  * ====================================================================
00048  * ====================================================================
00049  */
00050 
00051 extern void WN2F_Load_Store_initialize(void);
00052 extern void WN2F_Load_Store_finalize(void);
00053       
00054 extern WN2F_STATUS 
00055    WN2F_istore(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00056 extern WN2F_STATUS 
00057    WN2F_istorex(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00058 
00059 extern WN2F_STATUS
00060    WN2F_pstore(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00061 
00062 extern WN2F_STATUS 
00063    WN2F_mstore(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00064 extern WN2F_STATUS 
00065    WN2F_stid(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00066 extern WN2F_STATUS
00067    WN2F_pstid(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00068 
00069 
00070 extern WN2F_STATUS 
00071    WN2F_iload(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00072 extern WN2F_STATUS 
00073    WN2F_iloadx(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00074 extern WN2F_STATUS 
00075    WN2F_mload(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00076 extern WN2F_STATUS 
00077    WN2F_ldid(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00078 extern WN2F_STATUS 
00079    WN2F_lda(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00080 extern WN2F_STATUS
00081    WN2F_array(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00082 
00083  extern WN2F_STATUS
00084    WN2F_arrayexp(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00085  extern WN2F_STATUS
00086    WN2F_arrsection(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00087  extern WN2F_STATUS
00088    WN2F_triplet(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00089  extern WN2F_STATUS
00090    WN2F_src_triplet(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00091  extern WN2F_STATUS
00092    WN2F_where(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00093 extern WN2F_STATUS 
00094    WN2F_strctfld(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00095 extern WN2F_STATUS
00096    WN2F_comma(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00097 
00098 
00099 extern void
00100    WN2F_array_bounds(TOKEN_BUFFER tokens, 
00101                      WN *wn, 
00102                      TY_IDX array_ty,
00103                      WN2F_CONTEXT context) ;
00104 extern void
00105    WN2F_arrsection_bounds(TOKEN_BUFFER tokens,
00106                      WN *wn,
00107                      TY_IDX array_ty,
00108                      WN2F_CONTEXT context) ;
00109 
00110 extern void
00111    WN2F_String_Argument(TOKEN_BUFFER  tokens,
00112                         WN           *base,
00113                         WN           *length,
00114                         WN2F_CONTEXT  context);
00115 
00116 
00117 extern BOOL WN2F_Is_Address_Preg(WN * wn ,TY_IDX ptr_ty) ;
00118 extern TY_IDX fld_type_z;
00119 
00120 #endif /* wn2f_load_store_INCLUDED */
00121 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines