Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
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 /* wn_simp_ftable.h: This file automatically generated. */ 00037 00038 typedef simpnode (*simpfunction)(OPCODE, simpnode, simpnode, BOOL, BOOL); 00039 00040 static 00041 simpfunction simplify_function_table[OPERATOR_LAST+1]={ 00042 NULL, /* index 0 is not used */ 00043 simp_abs, /* OPR_ABS */ 00044 simp_add_sub, /* OPR_ADD */ 00045 NULL, /* OPR_AGOTO */ 00046 NULL, /* OPR_ALTENTRY */ 00047 NULL, /* OPR_ARRAY */ 00048 NULL, /* OPR_ARRAYEXP */ 00049 NULL, /* OPR_ARRSECTION */ 00050 simp_shift, /* OPR_ASHR */ 00051 NULL, /* OPR_ASSERT */ 00052 NULL, /* OPR_BACKWARD_BARRIER */ 00053 simp_band, /* OPR_BAND */ 00054 simp_bior, /* OPR_BIOR */ 00055 NULL, /* OPR_BLOCK */ 00056 simp_bnor, /* OPR_BNOR */ 00057 simp_not, /* OPR_BNOT */ 00058 simp_bxor, /* OPR_BXOR */ 00059 NULL, /* OPR_CALL */ 00060 simp_cand, /* OPR_CAND */ 00061 NULL, /* OPR_CASEGOTO */ 00062 NULL, /* OPR_CEIL */ 00063 simp_cior, /* OPR_CIOR */ 00064 NULL, /* OPR_COMMA */ 00065 NULL, /* OPR_COMMENT */ 00066 NULL, /* OPR_COMPGOTO */ 00067 NULL, /* OPR_COMPLEX */ 00068 NULL, /* OPR_CONST */ 00069 NULL, /* OPR_CSELECT */ 00070 simp_cvt, /* OPR_CVT */ 00071 NULL, /* OPR_CVTL */ 00072 simp_div, /* OPR_DIV */ 00073 NULL, /* OPR_DIVREM */ 00074 NULL, /* OPR_DO_LOOP */ 00075 NULL, /* OPR_DO_WHILE */ 00076 simp_eq_neq, /* OPR_EQ */ 00077 NULL, /* OPR_EVAL */ 00078 NULL, /* OPR_EXC_SCOPE_BEGIN */ 00079 NULL, /* OPR_EXC_SCOPE_END */ 00080 NULL, /* OPR_FALSEBR */ 00081 NULL, /* OPR_FLOOR */ 00082 NULL, /* OPR_FORWARD_BARRIER */ 00083 NULL, /* OPR_FUNC_ENTRY */ 00084 simp_relop, /* OPR_GE */ 00085 NULL, /* OPR_GOTO */ 00086 simp_relop, /* OPR_GT */ 00087 NULL, /* OPR_HIGHMPY */ 00088 NULL, /* OPR_HIGHPART */ 00089 NULL, /* OPR_ICALL */ 00090 NULL, /* OPR_IDNAME */ 00091 NULL, /* OPR_IF */ 00092 NULL, /* OPR_ILDA */ 00093 NULL, /* OPR_ILDBITS */ 00094 NULL, /* OPR_ILOAD */ 00095 NULL, /* OPR_ILOADX */ 00096 simp_cvt, /* OPR_IMAGPART */ 00097 NULL, /* OPR_INTCONST */ 00098 NULL, /* OPR_INTRINSIC_CALL */ 00099 NULL, /* OPR_INTRINSIC_OP */ 00100 NULL, /* OPR_IO */ 00101 NULL, /* OPR_IO_ITEM */ 00102 NULL, /* OPR_ISTBITS */ 00103 NULL, /* OPR_ISTORE */ 00104 NULL, /* OPR_ISTOREX */ 00105 NULL, /* OPR_LABEL */ 00106 simp_land, /* OPR_LAND */ 00107 NULL, /* OPR_LDA */ 00108 NULL, /* OPR_LDBITS */ 00109 NULL, /* OPR_LDID */ 00110 simp_relop, /* OPR_LE */ 00111 simp_lior, /* OPR_LIOR */ 00112 simp_not, /* OPR_LNOT */ 00113 NULL, /* OPR_LOOP_INFO */ 00114 NULL, /* OPR_LOWPART */ 00115 simp_shift, /* OPR_LSHR */ 00116 simp_relop, /* OPR_LT */ 00117 NULL, /* OPR_MADD */ 00118 simp_min_max, /* OPR_MAX */ 00119 NULL, /* OPR_MAXPART */ 00120 simp_min_max, /* OPR_MIN */ 00121 NULL, /* OPR_MINMAX */ 00122 NULL, /* OPR_MINPART */ 00123 NULL, /* OPR_MLOAD */ 00124 simp_mod_rem, /* OPR_MOD */ 00125 simp_times, /* OPR_MPY */ 00126 NULL, /* OPR_MSTORE */ 00127 NULL, /* OPR_MSUB */ 00128 simp_eq_neq, /* OPR_NE */ 00129 simp_neg, /* OPR_NEG */ 00130 NULL, /* OPR_NMADD */ 00131 NULL, /* OPR_NMSUB */ 00132 NULL, /* OPR_OPTPARM */ 00133 NULL, /* OPR_OPT_CHI */ 00134 NULL, /* OPR_OPT_RESERVE2 */ 00135 NULL, /* OPR_PAREN */ 00136 NULL, /* OPR_PARM */ 00137 NULL, /* OPR_PICCALL */ 00138 NULL, /* OPR_PRAGMA */ 00139 NULL, /* OPR_PREFETCH */ 00140 NULL, /* OPR_PREFETCHX */ 00141 NULL, /* OPR_RCOMMA */ 00142 simp_cvt, /* OPR_REALPART */ 00143 simp_recip, /* OPR_RECIP */ 00144 NULL, /* OPR_REGION */ 00145 NULL, /* OPR_REGION_EXIT */ 00146 simp_mod_rem, /* OPR_REM */ 00147 NULL, /* OPR_RETURN */ 00148 NULL, /* OPR_RETURN_VAL */ 00149 NULL, /* OPR_RND */ 00150 simp_recip, /* OPR_RSQRT */ 00151 NULL, /* OPR_SELECT */ 00152 simp_shift, /* OPR_SHL */ 00153 simp_recip, /* OPR_SQRT */ 00154 NULL, /* OPR_STBITS */ 00155 NULL, /* OPR_STID */ 00156 simp_add_sub, /* OPR_SUB */ 00157 NULL, /* OPR_SWITCH */ 00158 simp_cvt, /* OPR_TAS */ 00159 NULL, /* OPR_TRAP */ 00160 NULL, /* OPR_TRIPLET */ 00161 NULL, /* OPR_TRUEBR */ 00162 simp_cvt, /* OPR_TRUNC */ 00163 NULL, /* OPR_VFCALL */ 00164 NULL, /* OPR_WHERE */ 00165 NULL, /* OPR_WHILE_DO */ 00166 NULL, /* OPR_XGOTO */ 00167 NULL, /* OPR_XMPY */ 00168 NULL, /* OPR_XPRAGMA */ 00169 NULL, /* OPR_AFFIRM */ 00170 NULL, /* OPR_ALLOCA*/ 00171 NULL, /* OPR_DEALLOCA */ 00172 NULL, /* OPR_LDMA */ 00173 NULL, /* OPR_PSTORE */ 00174 NULL, /* OPR_PSTID */ 00175 NULL, /* OPR_USE */ 00176 NULL, /* OPR_NAMELIST */ 00177 NULL, /* OPR_SRCTRIPLET*/ 00178 NULL, /*OPR_NULLIFY */ 00179 NULL, /*OPR_INTERFACE */ 00180 NULL,/*OPR_ARRAY_CONSTRUCT */ 00181 NULL,/*OPR_IMPLIED_DO */ 00182 };