Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
wn2f_expr.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_expr_INCLUDED
00037 #define wn2f_expr_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_Expr_initialize(void);
00052 extern void WN2F_Expr_finalize(void);
00053 
00054 extern WN2F_STATUS 
00055    WN2F_binaryop(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00056 
00057 extern WN2F_STATUS
00058    WN2F_unaryop(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00059 
00060 extern WN2F_STATUS 
00061    WN2F_intrinsic_op(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00062 
00063 extern WN2F_STATUS 
00064    WN2F_tas(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00065 
00066 extern WN2F_STATUS 
00067    WN2F_select(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00068 
00069 extern WN2F_STATUS 
00070    WN2F_cvt(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00071 
00072 extern WN2F_STATUS 
00073    WN2F_cvtl(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00074 
00075 extern WN2F_STATUS 
00076    WN2F_realpart(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00077 
00078 extern WN2F_STATUS 
00079    WN2F_imagpart(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00080 
00081 extern WN2F_STATUS 
00082    WN2F_paren(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00083 
00084 extern WN2F_STATUS 
00085    WN2F_complex(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00086 
00087 extern WN2F_STATUS
00088    WN2F_ceil(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00089 
00090 extern WN2F_STATUS
00091    WN2F_floor(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00092 
00093 extern WN2F_STATUS
00094    WN2F_ashr(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00095 
00096 extern WN2F_STATUS 
00097    WN2F_lshr(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00098 
00099 extern WN2F_STATUS 
00100    WN2F_bnor(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00101 
00102 extern WN2F_STATUS 
00103    WN2F_recip(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00104 
00105 extern WN2F_STATUS 
00106    WN2F_rsqrt(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00107 
00108 extern WN2F_STATUS 
00109    WN2F_madd(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00110 
00111 extern WN2F_STATUS 
00112    WN2F_msub(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00113 
00114 extern WN2F_STATUS 
00115    WN2F_nmadd(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00116 
00117 extern WN2F_STATUS 
00118    WN2F_nmsub(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00119 
00120 extern WN2F_STATUS 
00121    WN2F_const(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00122 
00123 extern WN2F_STATUS 
00124    WN2F_intconst(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00125 
00126 extern WN2F_STATUS 
00127    WN2F_eq(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00128 
00129 extern WN2F_STATUS 
00130    WN2F_ne(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00131 
00132 extern WN2F_STATUS 
00133    WN2F_parm(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context);
00134 
00135 extern WN2F_STATUS 
00136 WN2F_alloca(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context) ;
00137 
00138 extern WN2F_STATUS 
00139 WN2F_dealloca(TOKEN_BUFFER tokens, WN *wn, WN2F_CONTEXT context) ;
00140 
00141 #endif /* wn2f_expr_INCLUDED */
00142 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines