Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
void breakpoint | ( | ) |
Definition at line 2127 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_Valid_Opcode_FUNC | ( | OPCODE | opc | ) |
Definition at line 2522 of file opcode_gen_core.cxx.
References Is_Valid_Opcode_Parts(), and OPERATOR_info_struct::opr.
BOOL Is_Valid_Opcode_Parts | ( | OPERATOR | opr, |
TYPE_ID | rtype, | ||
TYPE_ID | desc | ||
) |
Definition at line 2132 of file opcode_gen_core.cxx.
References breakpoint(), FALSE, Is_MTYPE_b, Is_MTYPE_b_bs_f_i_M_p_s_z, Is_MTYPE_b_bs_f_i_p_s_z, Is_MTYPE_b_f_i_M_p_s_z, Is_MTYPE_b_f_i_M_p_V_z, Is_MTYPE_b_f_i_M_p_z, Is_MTYPE_b_f_i_p_z, Is_MTYPE_b_i_p, Is_MTYPE_b_i_s, Is_MTYPE_bs_I1_I2_I4_I8, Is_MTYPE_bs_U1_U2_U4_U8, Is_MTYPE_f, Is_MTYPE_f_i, Is_MTYPE_f_I4_I8_I16, Is_MTYPE_f_i_M_p_s_V_z, Is_MTYPE_f_i_M_p_s_z, Is_MTYPE_f_i_M_p_V_z, Is_MTYPE_f_i_M_p_z, Is_MTYPE_f_i_M_z, Is_MTYPE_f_i_p, Is_MTYPE_f_i_p_s_z, Is_MTYPE_f_i_p_z, Is_MTYPE_f_i_z, Is_MTYPE_f_z, Is_MTYPE_i, Is_MTYPE_p, Is_MTYPE_s, Is_MTYPE_z, MTYPE_B, MTYPE_F4, MTYPE_F8, MTYPE_I4, MTYPE_I8, MTYPE_LAST, MTYPE_M, MTYPE_U1, MTYPE_U2, MTYPE_U4, MTYPE_U8, MTYPE_V, OPERATOR_LAST, OPR_ABS, OPR_ADD, OPR_AFFIRM, OPR_AGOTO, OPR_ALLOCA, OPR_ALTENTRY, OPR_ARRAY, OPR_ARRAY_CONSTRUCT, OPR_ARRAYEXP, OPR_ARRSECTION, OPR_ASHR, OPR_ASM_EXPR, OPR_ASM_INPUT, OPR_ASM_STMT, OPR_ASSERT, OPR_BACKWARD_BARRIER, OPR_BAND, OPR_BIOR, OPR_BLOCK, OPR_BNOR, OPR_BNOT, OPR_BXOR, OPR_CALL, OPR_CAND, OPR_CASEGOTO, OPR_CEIL, OPR_CIOR, OPR_COMMA, OPR_COMMENT, OPR_COMPGOTO, OPR_COMPOSE_BITS, OPR_CONST, OPR_CSELECT, OPR_CVT, OPR_CVTL, OPR_DEALLOCA, OPR_DIV, OPR_DIVREM, OPR_DO_LOOP, OPR_DO_WHILE, OPR_EQ, OPR_EVAL, OPR_EXC_SCOPE_BEGIN, OPR_EXC_SCOPE_END, OPR_EXTRACT_BITS, OPR_FALSEBR, OPR_FIRSTPART, OPR_FLOOR, OPR_FORWARD_BARRIER, OPR_FUNC_ENTRY, OPR_GE, OPR_GOTO, OPR_GOTO_OUTER_BLOCK, OPR_GT, OPR_HIGHMPY, OPR_HIGHPART, OPR_ICALL, OPR_IDNAME, OPR_IF, OPR_ILDA, OPR_ILDBITS, OPR_ILOAD, OPR_ILOADX, OPR_IMPLICIT_BND, OPR_IMPLIED_DO, OPR_INTCONST, OPR_INTERFACE, OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_IO, OPR_IO_ITEM, OPR_ISTBITS, OPR_ISTORE, OPR_ISTOREX, OPR_LABEL, OPR_LAND, OPR_LDA, OPR_LDA_LABEL, OPR_LDBITS, OPR_LDID, OPR_LDMA, OPR_LE, OPR_LIOR, OPR_LNOT, OPR_LOOP_INFO, OPR_LOWPART, OPR_LSHR, OPR_LT, OPR_MADD, OPR_MAX, OPR_MAXPART, OPR_MIN, OPR_MINMAX, OPR_MINPART, OPR_MLOAD, OPR_MOD, OPR_MPY, OPR_MSTORE, OPR_MSUB, OPR_NAMELIST, OPR_NE, OPR_NEG, OPR_NMADD, OPR_NMSUB, OPR_NULLIFY, OPR_OPT_CHI, OPR_OPT_RESERVE2, OPR_OPTPARM, OPR_PAIR, OPR_PAREN, OPR_PARM, OPR_PICCALL, OPR_PRAGMA, OPR_PREFETCH, OPR_PREFETCHX, OPR_PSTID, OPR_PSTORE, OPR_RCOMMA, OPR_RECIP, OPR_REGION, OPR_REGION_EXIT, OPR_REM, OPR_RETURN, OPR_RETURN_VAL, OPR_RND, OPR_RROTATE, OPR_RSQRT, OPR_SECONDPART, OPR_SELECT, OPR_SHL, OPR_SQRT, OPR_SRCTRIPLET, OPR_STBITS, OPR_STID, OPR_STRCTFLD, OPR_SUB, OPR_SWITCH, OPR_TAS, OPR_TRAP, OPR_TRIPLET, OPR_TRUEBR, OPR_TRUNC, OPR_USE, OPR_VFCALL, OPR_WHERE, OPR_WHILE_DO, OPR_XGOTO, OPR_XMPY, OPR_XPRAGMA, and WHIRL_Mldid_Mstid_On.
Referenced by Is_Valid_Opcode_FUNC(), OPCODE_name(), and simp_cvt().
char* OPCODE_name | ( | OPERATOR | opr, |
TYPE_ID | rtype, | ||
TYPE_ID | desc | ||
) |
Definition at line 2532 of file opcode_gen_core.cxx.
References OPERATOR_info_struct::_name, Is_True, Is_Valid_Opcode_Parts(), MTYPE_name, MTYPE_V, OPR_ABS, OPR_ADD, OPR_AFFIRM, OPR_AGOTO, OPR_ALLOCA, OPR_ALTENTRY, OPR_ARRAY, OPR_ARRAY_CONSTRUCT, OPR_ARRAYEXP, OPR_ARRSECTION, OPR_ASHR, OPR_ASM_EXPR, OPR_ASM_INPUT, OPR_ASM_STMT, OPR_ASSERT, OPR_BACKWARD_BARRIER, OPR_BAND, OPR_BIOR, OPR_BLOCK, OPR_BNOR, OPR_BNOT, OPR_BXOR, OPR_CALL, OPR_CAND, OPR_CASEGOTO, OPR_CEIL, OPR_CIOR, OPR_COMMA, OPR_COMMENT, OPR_COMPGOTO, OPR_COMPOSE_BITS, OPR_CONST, OPR_CSELECT, OPR_CVT, OPR_CVTL, OPR_DEALLOCA, OPR_DIV, OPR_DIVREM, OPR_DO_LOOP, OPR_DO_WHILE, OPR_EQ, OPR_EVAL, OPR_EXC_SCOPE_BEGIN, OPR_EXC_SCOPE_END, OPR_EXTRACT_BITS, OPR_FALSEBR, OPR_FIRSTPART, OPR_FLOOR, OPR_FORWARD_BARRIER, OPR_FUNC_ENTRY, OPR_GE, OPR_GOTO, OPR_GOTO_OUTER_BLOCK, OPR_GT, OPR_HIGHMPY, OPR_HIGHPART, OPR_ICALL, OPR_IDNAME, OPR_IF, OPR_ILDA, OPR_ILDBITS, OPR_ILOAD, OPR_ILOADX, OPR_IMPLICIT_BND, OPR_IMPLIED_DO, OPR_INTCONST, OPR_INTERFACE, OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_IO, OPR_IO_ITEM, OPR_ISTBITS, OPR_ISTORE, OPR_ISTOREX, OPR_LABEL, OPR_LAND, OPR_LDA, OPR_LDA_LABEL, OPR_LDBITS, OPR_LDID, OPR_LDMA, OPR_LE, OPR_LIOR, OPR_LNOT, OPR_LOOP_INFO, OPR_LOWPART, OPR_LSHR, OPR_LT, OPR_MADD, OPR_MAX, OPR_MAXPART, OPR_MIN, OPR_MINMAX, OPR_MINPART, OPR_MLOAD, OPR_MOD, OPR_MPY, OPR_MSTORE, OPR_MSUB, OPR_NAMELIST, OPR_NE, OPR_NEG, OPR_NMADD, OPR_NMSUB, OPR_NULLIFY, OPR_OPT_CHI, OPR_OPT_RESERVE2, OPR_OPTPARM, OPR_PAIR, OPR_PAREN, OPR_PARM, OPR_PICCALL, OPR_PRAGMA, OPR_PREFETCH, OPR_PREFETCHX, OPR_PSTID, OPR_PSTORE, OPR_RCOMMA, OPR_RECIP, OPR_REGION, OPR_REGION_EXIT, OPR_REM, OPR_RETURN, OPR_RETURN_VAL, OPR_RND, OPR_RROTATE, OPR_RSQRT, OPR_SECONDPART, OPR_SELECT, OPR_SHL, OPR_SQRT, OPR_SRCTRIPLET, OPR_STBITS, OPR_STID, OPR_STRCTFLD, OPR_SUB, OPR_SWITCH, OPR_TAS, OPR_TRAP, OPR_TRIPLET, OPR_TRUEBR, OPR_TRUNC, OPR_USE, OPR_VFCALL, OPR_WHERE, OPR_WHILE_DO, OPR_XGOTO, OPR_XMPY, and OPR_XPRAGMA.
char* OPCODE_name | ( | OPCODE | opc | ) |
Definition at line 2845 of file opcode_gen_core.cxx.
References OPCODE_name(), and OPERATOR_info_struct::opr.
Referenced by Append_CallSite(), WN_Verifier::Call_children_are_PARM(), Error_Return_Func(), fix_tree(), ir_put_wn(), WN_Verifier::Is_legal_wn_opcode(), WN_Verifier::LDA_ty_not_NULL(), WN_Verifier::Load_addr_TY_is_not_NULL(), OPCODE_name(), WN_Verifier::Param_parent_is_Call(), process_wn(), show_tree(), WN_Verifier::ST_is_not_NULL(), WN_Verifier::STID_check_st_class(), Targ_WhirlOp(), WN_Verifier::TY_is_not_NULL(), Whirl_Symbol_Type(), WN_TREE_put_expr(), WN_TREE_put_stmt(), and WN_Upper_Bound_Standardize().
BOOL Is_MTYPE_b[MTYPE_LAST+1] [static] |
{ 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
Definition at line 1230 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_bs_f_i_M_p_s_z[MTYPE_LAST+1] [static] |
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 }
Definition at line 1486 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_bs_f_i_p_s_z[MTYPE_LAST+1] [static] |
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 }
Definition at line 1454 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_f_i_M_p_s_z[MTYPE_LAST+1] [static] |
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1326 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_f_i_M_p_V_z[MTYPE_LAST+1] [static] |
{ 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1294 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_f_i_M_p_z[MTYPE_LAST+1] [static] |
{ 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1262 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_f_i_p_z[MTYPE_LAST+1] [static] |
{ 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1358 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_i_p[MTYPE_LAST+1] [static] |
{ 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1 }
Definition at line 1966 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_b_i_s[MTYPE_LAST+1] [static] |
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 }
Definition at line 2062 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_bs_I1_I2_I4_I8[MTYPE_LAST+1] [static] |
{ 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 }
Definition at line 1390 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_bs_U1_U2_U4_U8[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 }
Definition at line 1422 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
Definition at line 1518 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 }
Definition at line 1742 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_I4_I8_I16[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 }
Definition at line 1550 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_M_p_s_V_z[MTYPE_LAST+1] [static] |
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1614 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_M_p_s_z[MTYPE_LAST+1] [static] |
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1646 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_M_p_V_z[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1582 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_M_p_z[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1678 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_M_z[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1 }
Definition at line 1710 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_p[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1 }
Definition at line 1774 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_p_s_z[MTYPE_LAST+1] [static] |
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1806 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_p_z[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 1838 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_i_z[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1 }
Definition at line 1870 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_f_z[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0 }
Definition at line 1902 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_i[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 }
Definition at line 1934 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_p[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0 }
Definition at line 1998 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_s[MTYPE_LAST+1] [static] |
{ 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
Definition at line 2030 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
BOOL Is_MTYPE_z[MTYPE_LAST+1] [static] |
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0 }
Definition at line 2094 of file opcode_gen_core.cxx.
Referenced by Is_Valid_Opcode_Parts().
struct OPERATOR_info_struct OPERATOR_info[OPERATOR_LAST+1] |
Definition at line 42 of file opcode_gen_core.cxx.
Referenced by Name_To_OPERATOR(), OPERATOR_has_1ty(), OPERATOR_has_2offsets(), OPERATOR_has_2ty(), OPERATOR_has_barrier(), OPERATOR_has_bits(), OPERATOR_has_ereg_supp(), OPERATOR_has_esize(), OPERATOR_has_field_id(), OPERATOR_has_flags(), OPERATOR_has_inumber(), OPERATOR_has_label(), OPERATOR_has_last_label(), OPERATOR_has_ndim(), OPERATOR_has_next_prev(), OPERATOR_has_num_entries(), OPERATOR_has_offset(), OPERATOR_has_sym(), OPERATOR_has_value(), OPERATOR_is_boolean(), OPERATOR_is_call(), OPERATOR_is_comp_unit_if(), OPERATOR_is_compare(), OPERATOR_is_endsbb(), OPERATOR_is_expression(), OPERATOR_is_leaf(), OPERATOR_is_load(), OPERATOR_is_non_scf(), OPERATOR_is_not_executable(), OPERATOR_is_prefetch(), OPERATOR_is_scf(), OPERATOR_is_stmt(), OPERATOR_is_store(), OPERATOR_mapcat(), OPERATOR_name(), and OPERATOR_nkids().