/* Generated automatically by the program `genmatch' from a IL pattern matching and simplification description. */ #include "generic-match-head.c" bool tree_power_of_two_cand (tree t, tree *res_ops) { tree type = TREE_TYPE (t); if (TREE_SIDE_EFFECTS (t)) return false; switch (TREE_CODE (t)) { case INTEGER_CST: { { /* #line 365 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { t }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:365, %s:%d\n", __FILE__, __LINE__); res_ops[0] = captures[0]; return true; } break; } case LSHIFT_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); switch (TREE_CODE (op0)) { case INTEGER_CST: { { /* #line 367 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:367, %s:%d\n", __FILE__, __LINE__); res_ops[0] = captures[0]; return true; } break; } default:; } break; } default:; } return false; } bool tree_negate_expr_p (tree t) { tree type = TREE_TYPE (t); if (TREE_SIDE_EFFECTS (t)) return false; switch (TREE_CODE (t)) { case INTEGER_CST: { { /* #line 838 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ /* #line 838 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_WRAPS (type)) || (!TYPE_OVERFLOW_SANITIZED (type) && may_negate_without_overflow_p (t))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:837, %s:%d\n", __FILE__, __LINE__); return true; } } break; } case FIXED_CST: { { /* #line 843 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:843, %s:%d\n", __FILE__, __LINE__); return true; } break; } case NEGATE_EXPR: { tree op0 = TREE_OPERAND (t, 0); { /* #line 846 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 846 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_OVERFLOW_SANITIZED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:845, %s:%d\n", __FILE__, __LINE__); return true; } } break; } case REAL_CST: { { /* #line 849 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ /* #line 849 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (t))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:848, %s:%d\n", __FILE__, __LINE__); return true; } } break; } case VECTOR_CST: { { /* #line 854 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ /* #line 854 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (TREE_TYPE (type)) || TYPE_OVERFLOW_WRAPS (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:853, %s:%d\n", __FILE__, __LINE__); return true; } } break; } default:; } return false; } bool tree_truth_valued_p (tree t) { tree type = TREE_TYPE (t); if (TREE_SIDE_EFFECTS (t)) return false; { /* #line 934 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { t }; /* #line 934 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && TYPE_PRECISION (type) == 1) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:933, %s:%d\n", __FILE__, __LINE__); return true; } } switch (TREE_CODE (t)) { case LT_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case LE_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case EQ_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case NE_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case GE_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case GT_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case UNORDERED_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case ORDERED_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case UNLT_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case UNLE_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case UNGT_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case UNGE_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case UNEQ_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case LTGT_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case TRUTH_AND_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case TRUTH_ANDIF_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case TRUTH_OR_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case TRUTH_ORIF_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case TRUTH_XOR_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 937 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:937, %s:%d\n", __FILE__, __LINE__); return true; } break; } case TRUTH_NOT_EXPR: { tree op0 = TREE_OPERAND (t, 0); { /* #line 939 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:939, %s:%d\n", __FILE__, __LINE__); return true; } break; } default:; } return false; } bool tree_logical_inverted_value (tree t, tree *res_ops) { tree type = TREE_TYPE (t); if (TREE_SIDE_EFFECTS (t)) return false; switch (TREE_CODE (t)) { case TRUTH_NOT_EXPR: { tree op0 = TREE_OPERAND (t, 0); { /* #line 941 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:941, %s:%d\n", __FILE__, __LINE__); res_ops[0] = captures[0]; return true; } break; } case BIT_NOT_EXPR: { tree op0 = TREE_OPERAND (t, 0); if (tree_truth_valued_p (op0)) { { /* #line 943 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:943, %s:%d\n", __FILE__, __LINE__); res_ops[0] = captures[0]; return true; } } break; } case EQ_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); if (integer_zerop (op1)) { { /* #line 945 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:945, %s:%d\n", __FILE__, __LINE__); res_ops[0] = captures[0]; return true; } } break; } case NE_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); if (tree_truth_valued_p (op0)) { if (integer_truep (op1)) { { /* #line 947 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:947, %s:%d\n", __FILE__, __LINE__); res_ops[0] = captures[0]; return true; } } } break; } case BIT_XOR_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); if (tree_truth_valued_p (op0)) { if (integer_truep (op1)) { { /* #line 949 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:949, %s:%d\n", __FILE__, __LINE__); res_ops[0] = captures[0]; return true; } } } break; } default:; } return false; } bool tree_compositional_complex (tree t) { tree type = TREE_TYPE (t); if (TREE_SIDE_EFFECTS (t)) return false; switch (TREE_CODE (t)) { CASE_CONVERT: { tree op0 = TREE_OPERAND (t, 0); switch (TREE_CODE (op0)) { case COMPLEX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1934 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1934, %s:%d\n", __FILE__, __LINE__); return true; } break; } default:; } break; } case COMPLEX_EXPR: { tree op0 = TREE_OPERAND (t, 0); tree op1 = TREE_OPERAND (t, 1); { /* #line 1934 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1934, %s:%d\n", __FILE__, __LINE__); return true; } break; } default:; } return false; } bool tree_double_value_p (tree t) { tree type = TREE_TYPE (t); if (TREE_SIDE_EFFECTS (t)) return false; { /* #line 3441 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { t }; /* #line 3441 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_MAIN_VARIANT (TREE_TYPE (captures[0])) == double_type_node) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3440, %s:%d\n", __FILE__, __LINE__); return true; } } return false; } bool tree_float_value_p (tree t) { tree type = TREE_TYPE (t); if (TREE_SIDE_EFFECTS (t)) return false; { /* #line 3462 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { t }; /* #line 3462 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_MAIN_VARIANT (TREE_TYPE (captures[0])) == float_type_node) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3461, %s:%d\n", __FILE__, __LINE__); return true; } } return false; } static tree generic_simplify_1 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (minmax)) { /* #line 1423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (real_isnan (TREE_REAL_CST_PTR (captures[1])) && (!HONOR_SNANS (captures[1]) || !TREE_REAL_CST (captures[1]).signalling)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1425, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_2 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2363, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_3 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0])) && tree_nop_conversion_p (type, TREE_TYPE (captures[3]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1011, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } ops1[1] = captures[0]; res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_4 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bit_op), enum tree_code ARG_UNUSED (shift)) { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))) { { /* #line 1695 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree mask = int_const_binop (shift, fold_convert (type, captures[3]), captures[4]); if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1696, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops2[0]); else res = ops2[0]; ops1[0] = res; } ops1[1] = captures[4]; res = fold_build2_loc (loc, shift, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = mask; tree res; res = fold_build2_loc (loc, bit_op, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_5 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 3064 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && TYPE_UNSIGNED (TREE_TYPE (captures[1])) && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3068, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[2]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_6 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shiftrotate)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1518, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; return NULL_TREE; } static tree generic_simplify_7 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op), enum tree_code ARG_UNUSED (ext)) { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && TREE_CODE (captures[1]) != INTEGER_CST) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3693, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; ops1[1] = captures[4]; res = fold_build2_loc (loc, ext, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_8 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 595 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:596, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == LT_EXPR, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_9 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { /* #line 372 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (captures[0])) && tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && integer_pow2p (captures[3]) && tree_int_cst_sgn (captures[3]) > 0) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:376, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[2]; ops2[1] = build_int_cst (TREE_TYPE (captures[2]), 1); res = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_10 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 3094 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[2])) && !VECTOR_TYPE_P (TREE_TYPE (captures[2]))) { { /* #line 3095 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t); if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3096, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[2]; ops2[1] = captures[1]; { res = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, ops2[0], ops2[1]); if (!res) return NULL_TREE; } ops1[0] = res; } res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (t); tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_11 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1242 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_OVERFLOW_TRAPS (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1243, %s:%d\n", __FILE__, __LINE__); tree res; res = build_all_ones_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } return NULL_TREE; } static tree generic_simplify_12 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (scmp)) { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (TREE_TYPE (captures[0])) || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0])))) { { /* #line 2669 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_unop (NEGATE_EXPR, TREE_TYPE (captures[0]), captures[1]); /* #line 2670 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem && !TREE_OVERFLOW (tem)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2671, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, scmp, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_13 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 866 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!HONOR_SIGN_DEPENDENT_ROUNDING (element_mode (type)) && !HONOR_SIGNED_ZEROS (element_mode (type))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:868, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = captures[0]; tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_14 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_15 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 1701 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_UNSIGNED (TREE_TYPE (captures[2])) && (element_precision (TREE_TYPE (captures[2])) <= element_precision (TREE_TYPE (captures[3])) || !TYPE_UNSIGNED (TREE_TYPE (captures[3])))) { { /* #line 1705 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree shift_type = TREE_TYPE (captures[2]); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1707, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[3]; if (TREE_TYPE (ops2[0]) != shift_type) res = fold_build1_loc (loc, NOP_EXPR, shift_type, ops2[0]); else res = ops2[0]; ops1[0] = res; } ops1[1] = captures[4]; res = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } return NULL_TREE; } static tree generic_simplify_16 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (floors), combined_fn ARG_UNUSED (truncs)) { /* #line 3431 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3437, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = maybe_build_call_expr_loc (loc, truncs, type, 1, res_op0); if (!res) return NULL_TREE; return res; } return NULL_TREE; } static tree generic_simplify_17 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op), enum tree_code ARG_UNUSED (rop)) { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[0])) && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:741, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[0]; if (TREE_TYPE (ops2[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops2[0]); else res = ops2[0]; ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[1]; if (TREE_TYPE (ops2[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, rop, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_18 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { /* #line 309 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_UNSIGNED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:310, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_19 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { /* #line 324 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ANY_INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_UNDEFINED (type) && wi::multiple_of_p (captures[1], captures[2], TYPE_SIGN (type))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:327, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } return NULL_TREE; } static tree generic_simplify_20 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1351, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_21 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2635, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; return NULL_TREE; } static tree generic_simplify_22 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { { /* #line 1558 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ unsigned int prec = element_precision (type); /* #line 1559 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::ge_p (captures[1], 0, TYPE_SIGN (TREE_TYPE (captures[1]))) && wi::lt_p (captures[1], prec, TYPE_SIGN (TREE_TYPE (captures[1]))) && wi::ge_p (captures[2], 0, TYPE_SIGN (TREE_TYPE (captures[2]))) && wi::lt_p (captures[2], prec, TYPE_SIGN (TREE_TYPE (captures[2])))) { { /* #line 1563 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ unsigned int low = wi::add (captures[1], captures[2]).to_uhwi (); /* #line 1566 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (low >= prec) { /* #line 1567 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (op == LROTATE_EXPR || op == RROTATE_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1568, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_int_cst (TREE_TYPE (captures[1]), low % prec); tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 1569 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (type) || op == LSHIFT_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1570, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } else { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1571, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_int_cst (TREE_TYPE (captures[1]), prec - 1); tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } else { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1572, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_int_cst (TREE_TYPE (captures[1]), low); tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } } return NULL_TREE; } static tree generic_simplify_23 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (test1), enum tree_code ARG_UNUSED (test2)) { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || VECTOR_INTEGER_TYPE_P (TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2653, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_24 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (icmp)) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1581, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_zero_cst (TREE_TYPE (captures[0])); tree res; res = fold_build2_loc (loc, icmp, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_25 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((INTEGRAL_TYPE_P (type) || VECTOR_INTEGER_TYPE_P (type)) && TYPE_OVERFLOW_UNDEFINED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:184, %s:%d\n", __FILE__, __LINE__); tree res; res = build_minus_one_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } return NULL_TREE; } static tree generic_simplify_26 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && !(targetm.have_canonicalize_funcptr_for_compare () && TREE_CODE (TREE_TYPE (captures[1])) == POINTER_TYPE && TREE_CODE (TREE_TYPE (TREE_TYPE (captures[1]))) == FUNCTION_TYPE) && single_use (captures[0])) { /* #line 2690 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (TREE_TYPE (captures[0])) && (TREE_CODE (captures[3]) == INTEGER_CST || (captures[2] != captures[3] && types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])))) && (TYPE_UNSIGNED (TREE_TYPE (captures[1])) == TYPE_UNSIGNED (TREE_TYPE (captures[0])) || cmp == NE_EXPR || cmp == EQ_EXPR) && (POINTER_TYPE_P (TREE_TYPE (captures[1])) == POINTER_TYPE_P (TREE_TYPE (captures[0])))) { /* #line 2700 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (captures[2]) == INTEGER_CST) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2701, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = force_fit_type (TREE_TYPE (captures[1]), wi::to_widest (captures[2]), 0, TREE_OVERFLOW (captures[2])); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2703, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != TREE_TYPE (res_op0)) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } else { /* #line 2705 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))) { /* #line 2707 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((cmp == EQ_EXPR || cmp == NE_EXPR || TYPE_UNSIGNED (TREE_TYPE (captures[0])) == TYPE_UNSIGNED (TREE_TYPE (captures[1])) || (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1])))) && (types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])) || ((TYPE_PRECISION (TREE_TYPE (captures[1])) >= TYPE_PRECISION (TREE_TYPE (captures[3]))) && (TYPE_UNSIGNED (TREE_TYPE (captures[1])) == TYPE_UNSIGNED (TREE_TYPE (captures[3])))) || (TREE_CODE (captures[3]) == INTEGER_CST && INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && int_fits_type_p (captures[3], TREE_TYPE (captures[1]))))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2719, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != TREE_TYPE (res_op0)) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } else { /* #line 2720 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (captures[3]) == INTEGER_CST && INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && !int_fits_type_p (captures[3], TREE_TYPE (captures[1]))) { { /* #line 2723 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree min = lower_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])); tree max = upper_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])); bool above = integer_nonzerop (const_binop (LT_EXPR, type, max, captures[3])); bool below = integer_nonzerop (const_binop (LT_EXPR, type, captures[3], min)); /* #line 2730 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (above || below) { /* #line 2731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == EQ_EXPR || cmp == NE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2732, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == EQ_EXPR ? false : true, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2733 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR || cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2734, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (above ? true : false, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2735 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR || cmp == GE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2736, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (above ? false : true, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_27 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (copysigns)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:484, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = maybe_build_call_expr_loc (loc, copysigns, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_28 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (copysigns)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:490, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[1])) return NULL_TREE; tree res_op0; res_op0 = unshare_expr (captures[1]); tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; return NULL_TREE; } static tree generic_simplify_29 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 230 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (SCALAR_FLOAT_TYPE_P (type) && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)) { /* #line 234 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (types_match (type, float_type_node)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:235, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = build_one_cst (type); tree res_op1; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNF, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } else { /* #line 236 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (types_match (type, double_type_node)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:237, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = build_one_cst (type); tree res_op1; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGN, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } else { /* #line 238 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (types_match (type, long_double_type_node)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:239, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = build_one_cst (type); tree res_op1; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNL, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } } } } return NULL_TREE; } static tree generic_simplify_30 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_31 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2])) || POINTER_TYPE_P (TREE_TYPE (captures[2]))) && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))) { { /* #line 2956 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree arg1_type = TREE_TYPE (captures[2]); unsigned int prec = TYPE_PRECISION (arg1_type); wide_int max = wi::max_value (arg1_type); wide_int signed_max = wi::max_value (prec, SIGNED); wide_int min = wi::min_value (arg1_type); /* #line 2965 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], max)) { /* #line 2967 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2968, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2969 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2970, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2971 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2972, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2973 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2974, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } } } } } else { /* #line 2975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], min)) { /* #line 2977 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2978, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2979 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2980, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2981 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2982, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2983 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2984, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } } } } } else { /* #line 2985 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], max - 1)) { /* #line 2987 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2988, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::add (captures[2], 1)); tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2989 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2990, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::add (captures[2], 1)); tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } } } else { /* #line 2991 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], min + 1)) { /* #line 2993 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2994, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::sub (captures[2], 1)); tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2995 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2996, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::sub (captures[2], 1)); tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } } } else { /* #line 2997 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], signed_max) && TYPE_UNSIGNED (arg1_type) && prec == GET_MODE_PRECISION (TYPE_MODE (arg1_type)) && INTEGRAL_TYPE_P (arg1_type)) { /* #line 3008 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR || cmp == GT_EXPR) { { /* #line 3009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree st = signed_type_for (arg1_type); /* #line 3010 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3011, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != st) res = fold_build1_loc (loc, NOP_EXPR, st, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (st); tree res; res = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3012, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != st) res = fold_build1_loc (loc, NOP_EXPR, st, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (st); tree res; res = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_32 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shift)) { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1])) && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT && tree_fits_uhwi_p (captures[4]) && tree_to_uhwi (captures[4]) > 0 && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)) { { /* #line 1610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ unsigned int shiftc = tree_to_uhwi (captures[4]); unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]); unsigned HOST_WIDE_INT newmask, zerobits = 0; tree shift_type = TREE_TYPE (captures[2]); unsigned int prec; if (shift == LSHIFT_EXPR) zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1); else if (shift == RSHIFT_EXPR && (TYPE_PRECISION (shift_type) == GET_MODE_PRECISION (TYPE_MODE (shift_type)))) { prec = TYPE_PRECISION (TREE_TYPE (captures[2])); tree arg00 = captures[3]; if (captures[2] != captures[3] && TYPE_UNSIGNED (TREE_TYPE (captures[3]))) { tree inner_type = TREE_TYPE (captures[3]); if ((TYPE_PRECISION (inner_type) == GET_MODE_PRECISION (TYPE_MODE (inner_type))) && TYPE_PRECISION (inner_type) < prec) { prec = TYPE_PRECISION (inner_type); if (shiftc < prec) shift_type = inner_type; } } zerobits = HOST_WIDE_INT_M1U; if (shiftc < prec) { zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc; zerobits <<= prec - shiftc; } if (!TYPE_UNSIGNED (TREE_TYPE (captures[2])) && prec == TYPE_PRECISION (TREE_TYPE (captures[2]))) { if ((mask & zerobits) == 0) shift_type = unsigned_type_for (TREE_TYPE (captures[2])); else zerobits = 0; } }/* #line 1666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((mask & zerobits) == mask) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1667, %s:%d\n", __FILE__, __LINE__); tree res; res = build_int_cst (type, 0); return res; } else { { /* #line 1668 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ newmask = mask | zerobits; /* #line 1669 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (newmask != mask && (newmask & (newmask + 1)) == 0) { { /* #line 1670 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ for (prec = BITS_PER_UNIT; prec < HOST_BITS_PER_WIDE_INT; prec <<= 1) if (newmask == (HOST_WIDE_INT_1U << prec) - 1) break; /* #line 1679 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (prec < HOST_BITS_PER_WIDE_INT || newmask == HOST_WIDE_INT_M1U) { { /* #line 1681 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask); /* #line 1683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!tree_int_cst_equal (newmaskt, captures[5])) { /* #line 1684 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (shift_type != TREE_TYPE (captures[2])) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1685, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; { tree ops3[1], res; ops3[0] = captures[2]; if (TREE_TYPE (ops3[0]) != shift_type) res = fold_build1_loc (loc, NOP_EXPR, shift_type, ops3[0]); else res = ops3[0]; ops2[0] = res; } ops2[1] = captures[4]; res = fold_build2_loc (loc, shift, shift_type, ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } else { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1686, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_33 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:802, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; return NULL_TREE; } static tree generic_simplify_34 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0])) && tree_nop_conversion_p (type, TREE_TYPE (captures[3]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1011, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } ops1[1] = captures[0]; res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_35 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (scmp)) { /* #line 2333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_zerop (captures[2])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2334, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[2]; tree res_op1; res_op1 = captures[3]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2335 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])) && single_use (captures[0])) { /* #line 2339 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_sgn (captures[2]) < 0) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2340, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = captures[3]; tree res; res = fold_build2_loc (loc, scmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2341, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = captures[3]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } return NULL_TREE; } static tree generic_simplify_36 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_ISNAN (TREE_REAL_CST (captures[1])) && (cmp != LTGT_EXPR || ! flag_trapping_math)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3020, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == ORDERED_EXPR || cmp == LTGT_EXPR ? false : true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_37 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 2243 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (VECTOR_TYPE_P (type) && TYPE_VECTOR_SUBPARTS (type) == TYPE_VECTOR_SUBPARTS (TREE_TYPE (captures[3])) && (TYPE_MODE (TREE_TYPE (type)) == TYPE_MODE (TREE_TYPE (TREE_TYPE (captures[3]))))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2247, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[3], res; ops2[0] = captures[2]; { tree ops3[1], res; ops3[0] = captures[3]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops3[0]), ops3[0]); ops2[1] = res; } ops2[2] = captures[4]; res = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (ops2[1]), ops2[0], ops2[1], ops2[2]); ops1[0] = res; } res = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_38 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (TAN), combined_fn ARG_UNUSED (SIN), combined_fn ARG_UNUSED (COS)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { /* #line 3340 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_NANS (captures[1]) && ! HONOR_INFINITIES (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3342, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = build_one_cst (type); tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; { res = maybe_build_call_expr_loc (loc, COS, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_39 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 772 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:773, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_40 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop), enum tree_code ARG_UNUSED (cmp)) { /* #line 549 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && INTEGRAL_TYPE_P (TREE_TYPE (captures[2])) && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[2]))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:552, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != TREE_TYPE (ops1[0])) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (ops1[0]), ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_41 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (POW)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3273, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_42 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (froms), combined_fn ARG_UNUSED (tos)) { /* #line 3496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (optimize && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3499, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = maybe_build_call_expr_loc (loc, tos, type, 1, res_op0); if (!res) return NULL_TREE; return res; } return NULL_TREE; } static tree generic_simplify_43 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3289, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_44 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) || VECTOR_INTEGER_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:359, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = captures[1]; res = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_45 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { { /* #line 199 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ bool overflow_p; wide_int mul = wi::mul (captures[1], captures[2], TYPE_SIGN (type), &overflow_p); /* #line 203 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!overflow_p) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:204, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (type, mul); tree res; res = fold_build2_loc (loc, div, type, res_op0, res_op1); return res; } else { /* #line 205 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (type) || mul != wi::min_value (TYPE_PRECISION (type), SIGNED)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:207, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } return NULL_TREE; } static tree generic_simplify_46 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1154 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && !TYPE_OVERFLOW_SANITIZED (type)) { { /* #line 1156 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree t1 = type; if (INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_WRAPS (type) != TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))) t1 = TYPE_OVERFLOW_WRAPS (type) ? type : TREE_TYPE (captures[1]); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1163, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[0]; if (TREE_TYPE (ops2[0]) != t1) res = fold_build1_loc (loc, NOP_EXPR, t1, ops2[0]); else res = ops2[0]; ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[1]; if (TREE_TYPE (ops2[0]) != t1) res = fold_build1_loc (loc, NOP_EXPR, t1, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } return NULL_TREE; } static tree generic_simplify_47 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2939 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((POINTER_TYPE_P (TREE_TYPE (captures[0])) && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[0]))) && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))) || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && POINTER_TYPE_P (TREE_TYPE (captures[1])) && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[1]))))) && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2946, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != TREE_TYPE (res_op0)) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_48 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:557, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = unshare_expr (captures[2]); res = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_49 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bit_op), enum tree_code ARG_UNUSED (shift)) { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))) { { /* #line 1695 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree mask = int_const_binop (shift, fold_convert (type, captures[3]), captures[4]); if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1696, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops2[0]); else res = ops2[0]; ops1[0] = res; } ops1[1] = captures[4]; res = fold_build2_loc (loc, shift, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = mask; tree res; res = fold_build2_loc (loc, bit_op, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_50 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1362 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (type) != COMPLEX_TYPE && (! ANY_INTEGRAL_TYPE_P (type) || TYPE_OVERFLOW_UNDEFINED (type))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1365, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_51 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 3624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && INTEGRAL_TYPE_P (TREE_TYPE (captures[2])) && INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && (TYPE_PRECISION (TREE_TYPE (captures[2])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[2])))) && (TYPE_PRECISION (TREE_TYPE (captures[4])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[4])))) && TYPE_PRECISION (type) == GET_MODE_PRECISION (TYPE_MODE (type)) && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2])) && types_match (captures[2], type) && (types_match (captures[2], captures[4]) || TREE_CODE (captures[4]) == INTEGER_CST)) { /* #line 3644 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3645, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[2]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[4]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { { /* #line 3646 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree utype = unsigned_type_for (TREE_TYPE (captures[2])); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3647, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != utype) res = fold_build1_loc (loc, NOP_EXPR, utype, ops2[0]); else res = ops2[0]; ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[4]; if (TREE_TYPE (ops2[0]) != utype) res = fold_build1_loc (loc, NOP_EXPR, utype, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } return NULL_TREE; } static tree generic_simplify_52 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:566, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = unshare_expr (captures[2]); tree res_op1; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[2]; res = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_53 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:571, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_54 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:580, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_55 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shiftrotate)) { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = uniform_vector_p (captures[1]); /* #line 1528 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1529, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_56 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:534, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_57 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[1])) && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])) && wi::ne_p (captures[2], 0) && single_use (captures[0])) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3055, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[1]), wi::max_value (TYPE_PRECISION (TREE_TYPE (captures[1])), UNSIGNED) - captures[2]); tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_58 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 343 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type) && !TYPE_OVERFLOW_TRAPS (type) && tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && (expr_not_equal_to (captures[0], TYPE_MIN_VALUE (type)) || expr_not_equal_to (captures[1], wi::minus_one (TYPE_PRECISION (TREE_TYPE (captures[1])))))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:353, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, TRUNC_MOD_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_59 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && tree_nop_conversion_p (type, TREE_TYPE (captures[2]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:823, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } return NULL_TREE; } static tree generic_simplify_60 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2677, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_61 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:802, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; return NULL_TREE; } static tree generic_simplify_62 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop)) { /* #line 885 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((TREE_CODE (captures[1]) == INTEGER_CST && INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && int_fits_type_p (captures[1], TREE_TYPE (captures[0]))) || types_match (captures[0], captures[1])) && (bitop != BIT_AND_EXPR ||0) && ( TYPE_PRECISION (TREE_TYPE (captures[0])) < TYPE_PRECISION (type) || GET_MODE_CLASS (TYPE_MODE (type)) != MODE_INT || TYPE_PRECISION (type) != GET_MODE_PRECISION (TYPE_MODE (type)))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:904, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; { tree ops2[1], res; ops2[0] = captures[1]; if (TREE_TYPE (ops2[0]) != TREE_TYPE (ops1[0])) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (ops1[0]), ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, bitop, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_63 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1347, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_64 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (POW)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3347, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; ops1[1] = captures[4]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } return NULL_TREE; } static tree generic_simplify_65 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:645, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; return NULL_TREE; } static tree generic_simplify_66 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 994 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:995, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; { tree ops2[1], res; ops2[0] = captures[1]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_67 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1206, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } return NULL_TREE; } static tree generic_simplify_68 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:659, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[2])) return NULL_TREE; tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = unshare_expr (captures[2]); res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_69 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (COS), combined_fn ARG_UNUSED (SIN), combined_fn ARG_UNUSED (TAN)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3328, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = build_one_cst (type); tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; { res = maybe_build_call_expr_loc (loc, TAN, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_70 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:666, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, bitop, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_71 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop), enum tree_code ARG_UNUSED (rbitop)) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:674, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, bitop, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_72 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop), enum tree_code ARG_UNUSED (rbitop)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:674, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, bitop, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_73 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:679, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_74 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 2252 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (VECTOR_TYPE_P (type) && TYPE_VECTOR_SUBPARTS (type) == TYPE_VECTOR_SUBPARTS (TREE_TYPE (captures[3])) && (TYPE_MODE (TREE_TYPE (type)) == TYPE_MODE (TREE_TYPE (TREE_TYPE (captures[3]))))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2256, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[3], res; ops2[0] = captures[2]; { tree ops3[1], res; ops3[0] = captures[3]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops3[0]), ops3[0]); ops2[1] = res; } ops2[2] = captures[4]; res = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (ops2[1]), ops2[0], ops2[1], ops2[2]); ops1[0] = res; } res = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_75 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , enum tree_code ARG_UNUSED (rotate)) { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((element_precision (TREE_TYPE (captures[2])) <= element_precision (TREE_TYPE (captures[3])) || !TYPE_UNSIGNED (TREE_TYPE (captures[3]))) && (element_precision (type) <= element_precision (TREE_TYPE (captures[2])) || !TYPE_UNSIGNED (TREE_TYPE (captures[2])))) { { /* #line 1719 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree rotate_type = TREE_TYPE (captures[2]); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1721, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[3]; if (TREE_TYPE (ops2[0]) != rotate_type) res = fold_build1_loc (loc, NOP_EXPR, rotate_type, ops2[0]); else res = ops2[0]; ops1[0] = res; } ops1[1] = captures[4]; res = fold_build2_loc (loc, rotate, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } return NULL_TREE; } static tree generic_simplify_76 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (acmp)) { /* #line 2268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_sgn (captures[1]) == -1) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2269, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[1]), wi::add (captures[1], 1)); tree res; res = fold_build2_loc (loc, acmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_77 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[1])) && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3086, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (TREE_TYPE (captures[1])); tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_78 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 1969 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (TREE_TYPE (captures[0]), type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1970, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_79 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { /* #line 372 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (captures[0])) && tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && integer_pow2p (captures[3]) && tree_int_cst_sgn (captures[3]) > 0) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:376, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[2]; ops2[1] = build_int_cst (TREE_TYPE (captures[2]), 1); res = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_80 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (SQRT)) { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { /* #line 3120 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!HONOR_SNANS (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3121, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; } } return NULL_TREE; } static tree generic_simplify_81 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:726, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_82 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:731, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_83 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:692, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_84 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 3658 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && INTEGRAL_TYPE_P (TREE_TYPE (captures[2])) && INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && (TYPE_PRECISION (TREE_TYPE (captures[2])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[2])))) && (TYPE_PRECISION (TREE_TYPE (captures[4])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[4])))) && TYPE_PRECISION (type) == GET_MODE_PRECISION (TYPE_MODE (type)) && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2])) && types_match (captures[2], captures[4]) && (tree_int_cst_min_precision (captures[5], TYPE_SIGN (TREE_TYPE (captures[2]))) <= TYPE_PRECISION (TREE_TYPE (captures[2]))) && (wi::bit_and (captures[5], wi::mask (TYPE_PRECISION (TREE_TYPE (captures[2])), true, TYPE_PRECISION (type))) == 0)) { /* #line 3678 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))) { { /* #line 3679 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree ntype = TREE_TYPE (captures[2]); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3680, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[2], res; ops2[0] = captures[2]; ops2[1] = captures[4]; res = fold_build2_loc (loc, op, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[5]; if (TREE_TYPE (ops2[0]) != ntype) res = fold_build1_loc (loc, NOP_EXPR, ntype, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } else { { /* #line 3681 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree utype = unsigned_type_for (TREE_TYPE (captures[2])); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3682, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[2], res; { tree ops3[1], res; ops3[0] = captures[2]; if (TREE_TYPE (ops3[0]) != utype) res = fold_build1_loc (loc, NOP_EXPR, utype, ops3[0]); else res = ops3[0]; ops2[0] = res; } { tree ops3[1], res; ops3[0] = captures[4]; if (TREE_TYPE (ops3[0]) != utype) res = fold_build1_loc (loc, NOP_EXPR, utype, ops3[0]); else res = ops3[0]; ops2[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[5]; if (TREE_TYPE (ops2[0]) != utype) res = fold_build1_loc (loc, NOP_EXPR, utype, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } return NULL_TREE; } static tree generic_simplify_85 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_86 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , enum tree_code ARG_UNUSED (minmax)) { /* #line 1412 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && types_match (captures[1], type) && int_fits_type_p (captures[2], type) && TYPE_SIGN (TREE_TYPE (captures[0])) == TYPE_SIGN (type) && TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1416, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, minmax, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_87 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 982 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[0])) || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:984, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_88 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:760, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; { tree ops2[1], res; ops2[0] = captures[0]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_89 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2348 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! FLOAT_TYPE_P (TREE_TYPE (captures[0])) || ! HONOR_NANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2350, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } else { /* #line 2351 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp != EQ_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2352, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = unshare_expr (captures[0]); tree res_op1; res_op1 = captures[0]; tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_90 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 998 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:999, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = captures[1]; res = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_91 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (rotate)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1492, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_92 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 600 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:601, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == GT_EXPR, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_93 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { /* #line 170 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!integer_zerop (captures[0]) && !ALL_FRACT_MODE_P (TYPE_MODE (type))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:171, %s:%d\n", __FILE__, __LINE__); tree res; res = build_one_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } return NULL_TREE; } static tree generic_simplify_94 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (bswap)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1982, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; return NULL_TREE; } static tree generic_simplify_95 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (opo), enum tree_code ARG_UNUSED (opi)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:780, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_96 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3595, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_97 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (neeq)) { /* #line 2926 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (POINTER_TYPE_P (TREE_TYPE (captures[0])) && ptrs_compare_unequal (captures[0], captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2928, %s:%d\n", __FILE__, __LINE__); tree res; res = neeq == EQ_EXPR ? boolean_false_node : boolean_true_node; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_98 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op), enum tree_code ARG_UNUSED (cmp)) { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { { /* #line 2484 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_binop (op == PLUS_EXPR ? MINUS_EXPR : PLUS_EXPR, TREE_TYPE (captures[1]), captures[2], captures[1]); /* #line 2489 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem && !TREE_OVERFLOW (tem)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2490, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_99 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 987 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[0])) || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:989, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_100 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_associative_math) { { /* #line 2499 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_binop (MINUS_EXPR, TREE_TYPE (captures[1]), captures[0], captures[2]); /* #line 2500 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem && !TREE_OVERFLOW (tem)) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2501, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = tem; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_101 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ HOST_WIDE_INT off0, off1; tree base0 = get_addr_base_and_unit_offset (TREE_OPERAND (captures[1], 0), &off0); tree base1 = get_addr_base_and_unit_offset (TREE_OPERAND (captures[2], 0), &off1); if (base0 && TREE_CODE (base0) == MEM_REF) { off0 += mem_ref_offset (base0).to_short_addr (); base0 = TREE_OPERAND (base0, 0); } if (base1 && TREE_CODE (base1) == MEM_REF) { off1 += mem_ref_offset (base1).to_short_addr (); base1 = TREE_OPERAND (base1, 0); }/* #line 2867 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (base0 && base1) { { /* #line 2868 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ int equal = 2; if (1 && ((VAR_P (base0) && DECL_HAS_VALUE_EXPR_P (base0)) || (VAR_P (base1) && DECL_HAS_VALUE_EXPR_P (base1)))) ; else if (decl_in_symtab_p (base0) && decl_in_symtab_p (base1)) equal = symtab_node::get_create (base0) ->equal_address_to (symtab_node::get_create (base1)); else if ((DECL_P (base0) || TREE_CODE (base0) == SSA_NAME || TREE_CODE (base0) == STRING_CST) && (DECL_P (base1) || TREE_CODE (base1) == SSA_NAME || TREE_CODE (base1) == STRING_CST)) equal = (base0 == base1); /* #line 2890 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (equal == 1 && (cmp == EQ_EXPR || cmp == NE_EXPR || off0 == off1 || POINTER_TYPE_OVERFLOW_UNDEFINED || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && (DECL_P (base0) || TREE_CODE (base0) == STRING_CST)))) { /* #line 2899 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == EQ_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2900, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 == off1, type); return res; } else { /* #line 2901 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == NE_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2902, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 != off1, type); return res; } else { /* #line 2903 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2904, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 < off1, type); return res; } else { /* #line 2905 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2906, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 <= off1, type); return res; } else { /* #line 2907 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2908, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 >= off1, type); return res; } else { /* #line 2909 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2910, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 > off1, type); return res; } } } } } } } else { /* #line 2911 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (equal == 0 && DECL_P (base0) && DECL_P (base1) && (!INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || off0 == off1)) { /* #line 2917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == EQ_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2918, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); return res; } else { /* #line 2919 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == NE_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2920, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); return res; } } } } } } } return NULL_TREE; } static tree generic_simplify_102 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (POW)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { /* #line 3317 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TREE_OVERFLOW (captures[2])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3318, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; ops1[1] = build_one_cst (type); res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } } return NULL_TREE; } static tree generic_simplify_103 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2767, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_104 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2773, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = build_zero_cst (TREE_TYPE (captures[1])); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_105 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2783 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_single_nonzero_warnv_p (captures[0], NULL)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2784, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } return NULL_TREE; } static tree generic_simplify_106 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_107 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1254 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_OVERFLOW_TRAPS (type) && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1256, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res; res = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0); return res; } } } return NULL_TREE; } static tree generic_simplify_108 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (minmax), enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1462, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_109 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op), enum tree_code ARG_UNUSED (rop)) { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && tree_nop_conversion_p (type, TREE_TYPE (captures[2]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:794, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[1]; if (TREE_TYPE (ops2[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops2[0]); else res = ops2[0]; ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, rop, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_110 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (scmp)) { /* #line 2385 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && (TREE_CODE (captures[2]) == INTEGER_CST || TREE_CODE (captures[2]) == VECTOR_CST)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2387, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, scmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_111 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3293, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_112 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && !(targetm.have_canonicalize_funcptr_for_compare () && TREE_CODE (TREE_TYPE (captures[1])) == POINTER_TYPE && TREE_CODE (TREE_TYPE (TREE_TYPE (captures[1]))) == FUNCTION_TYPE) && single_use (captures[0])) { /* #line 2690 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (TREE_TYPE (captures[0])) && (TREE_CODE (captures[3]) == INTEGER_CST || (captures[2] != captures[3] && types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])))) && (TYPE_UNSIGNED (TREE_TYPE (captures[1])) == TYPE_UNSIGNED (TREE_TYPE (captures[0])) || cmp == NE_EXPR || cmp == EQ_EXPR) && (POINTER_TYPE_P (TREE_TYPE (captures[1])) == POINTER_TYPE_P (TREE_TYPE (captures[0])))) { /* #line 2700 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (captures[2]) == INTEGER_CST) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2701, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = force_fit_type (TREE_TYPE (captures[1]), wi::to_widest (captures[2]), 0, TREE_OVERFLOW (captures[2])); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[3])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), res); return res; } else { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2703, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != TREE_TYPE (res_op0)) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } else { /* #line 2705 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))) { /* #line 2707 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((cmp == EQ_EXPR || cmp == NE_EXPR || TYPE_UNSIGNED (TREE_TYPE (captures[0])) == TYPE_UNSIGNED (TREE_TYPE (captures[1])) || (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1])))) && (types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])) || ((TYPE_PRECISION (TREE_TYPE (captures[1])) >= TYPE_PRECISION (TREE_TYPE (captures[3]))) && (TYPE_UNSIGNED (TREE_TYPE (captures[1])) == TYPE_UNSIGNED (TREE_TYPE (captures[3])))) || (TREE_CODE (captures[3]) == INTEGER_CST && INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && int_fits_type_p (captures[3], TREE_TYPE (captures[1]))))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2719, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != TREE_TYPE (res_op0)) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } else { /* #line 2720 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (captures[3]) == INTEGER_CST && INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && !int_fits_type_p (captures[3], TREE_TYPE (captures[1]))) { { /* #line 2723 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree min = lower_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])); tree max = upper_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1])); bool above = integer_nonzerop (const_binop (LT_EXPR, type, max, captures[3])); bool below = integer_nonzerop (const_binop (LT_EXPR, type, captures[3], min)); /* #line 2730 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (above || below) { /* #line 2731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == EQ_EXPR || cmp == NE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2732, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == EQ_EXPR ? false : true, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[3])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), res); return res; } else { /* #line 2733 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR || cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2734, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (above ? true : false, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[3])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), res); return res; } else { /* #line 2735 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR || cmp == GE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2736, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (above ? false : true, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[3])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), res); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_113 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (inner_op), enum tree_code ARG_UNUSED (outer_op)) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { { /* #line 1219 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree cst = const_binop (outer_op == inner_op ? PLUS_EXPR : MINUS_EXPR, type, captures[1], captures[2]); /* #line 1221 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cst && !TREE_OVERFLOW (cst)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1222, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = cst; tree res; res = fold_build2_loc (loc, inner_op, type, res_op0, res_op1); return res; } } } } return NULL_TREE; } static tree generic_simplify_114 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { { /* #line 1589 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ int cand = wi::ctz (captures[2]) - wi::ctz (captures[0]); /* #line 1590 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cand < 0 || (!integer_zerop (captures[2]) && wi::ne_p (wi::lshift (captures[0], cand), captures[2]))) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1593, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 1594 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!integer_zerop (captures[2]) && wi::eq_p (wi::lshift (captures[0], cand), captures[2])) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1596, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = build_int_cst (TREE_TYPE (captures[1]), cand); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_115 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (acmp)) { /* #line 2274 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_sgn (captures[1]) == 1) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2275, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[1]), wi::sub (captures[1], 1)); tree res; res = fold_build2_loc (loc, acmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_116 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shift)) { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1])) && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT && tree_fits_uhwi_p (captures[4]) && tree_to_uhwi (captures[4]) > 0 && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)) { { /* #line 1610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ unsigned int shiftc = tree_to_uhwi (captures[4]); unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]); unsigned HOST_WIDE_INT newmask, zerobits = 0; tree shift_type = TREE_TYPE (captures[2]); unsigned int prec; if (shift == LSHIFT_EXPR) zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1); else if (shift == RSHIFT_EXPR && (TYPE_PRECISION (shift_type) == GET_MODE_PRECISION (TYPE_MODE (shift_type)))) { prec = TYPE_PRECISION (TREE_TYPE (captures[2])); tree arg00 = captures[3]; if (captures[2] != captures[3] && TYPE_UNSIGNED (TREE_TYPE (captures[3]))) { tree inner_type = TREE_TYPE (captures[3]); if ((TYPE_PRECISION (inner_type) == GET_MODE_PRECISION (TYPE_MODE (inner_type))) && TYPE_PRECISION (inner_type) < prec) { prec = TYPE_PRECISION (inner_type); if (shiftc < prec) shift_type = inner_type; } } zerobits = HOST_WIDE_INT_M1U; if (shiftc < prec) { zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc; zerobits <<= prec - shiftc; } if (!TYPE_UNSIGNED (TREE_TYPE (captures[2])) && prec == TYPE_PRECISION (TREE_TYPE (captures[2]))) { if ((mask & zerobits) == 0) shift_type = unsigned_type_for (TREE_TYPE (captures[2])); else zerobits = 0; } }/* #line 1666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((mask & zerobits) == mask) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1667, %s:%d\n", __FILE__, __LINE__); tree res; res = build_int_cst (type, 0); return res; } else { { /* #line 1668 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ newmask = mask | zerobits; /* #line 1669 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (newmask != mask && (newmask & (newmask + 1)) == 0) { { /* #line 1670 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ for (prec = BITS_PER_UNIT; prec < HOST_BITS_PER_WIDE_INT; prec <<= 1) if (newmask == (HOST_WIDE_INT_1U << prec) - 1) break; /* #line 1679 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (prec < HOST_BITS_PER_WIDE_INT || newmask == HOST_WIDE_INT_M1U) { { /* #line 1681 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask); /* #line 1683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!tree_int_cst_equal (newmaskt, captures[5])) { /* #line 1684 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (shift_type != TREE_TYPE (captures[2])) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1685, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; { tree ops3[1], res; ops3[0] = captures[2]; if (TREE_TYPE (ops3[0]) != shift_type) res = fold_build1_loc (loc, NOP_EXPR, shift_type, ops3[0]); else res = ops3[0]; ops2[0] = res; } ops2[1] = captures[4]; res = fold_build2_loc (loc, shift, shift_type, ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } else { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1686, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_117 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:624, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = build_all_ones_cst (TREE_TYPE (captures[0])); tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_118 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (icmp), enum tree_code ARG_UNUSED (ncmp)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ enum tree_code ic = invert_tree_comparison (cmp, HONOR_NANS (captures[0])); /* #line 2308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ic == icmp) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2309, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, icmp, type, res_op0, res_op1); return res; } else { /* #line 2310 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ic == ncmp) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2311, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, ncmp, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_119 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shiftrotate)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1521, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_120 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2])) || POINTER_TYPE_P (TREE_TYPE (captures[2]))) && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))) { { /* #line 2956 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree arg1_type = TREE_TYPE (captures[2]); unsigned int prec = TYPE_PRECISION (arg1_type); wide_int max = wi::max_value (arg1_type); wide_int signed_max = wi::max_value (prec, SIGNED); wide_int min = wi::min_value (arg1_type); /* #line 2965 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], max)) { /* #line 2967 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2968, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2969 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2970, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2971 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2972, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2973 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2974, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } } } } } else { /* #line 2975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], min)) { /* #line 2977 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2978, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2979 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2980, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2981 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2982, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2983 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2984, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } } } } } else { /* #line 2985 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], max - 1)) { /* #line 2987 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2988, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::add (captures[2], 1)); tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2989 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2990, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::add (captures[2], 1)); tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } } } else { /* #line 2991 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], min + 1)) { /* #line 2993 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2994, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::sub (captures[2], 1)); tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); return res; } else { /* #line 2995 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2996, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[2]), wi::sub (captures[2], 1)); tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } } } else { /* #line 2997 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], signed_max) && TYPE_UNSIGNED (arg1_type) && prec == GET_MODE_PRECISION (TYPE_MODE (arg1_type)) && INTEGRAL_TYPE_P (arg1_type)) { /* #line 3008 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR || cmp == GT_EXPR) { { /* #line 3009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree st = signed_type_for (arg1_type); /* #line 3010 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3011, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != st) res = fold_build1_loc (loc, NOP_EXPR, st, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (st); tree res; res = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3012, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != st) res = fold_build1_loc (loc, NOP_EXPR, st, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (st); tree res; res = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_121 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1894, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; return NULL_TREE; } static tree generic_simplify_122 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { /* #line 315 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!integer_zerop (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:316, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } return NULL_TREE; } static tree generic_simplify_123 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (COPYSIGN)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3278, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; return NULL_TREE; } static tree generic_simplify_124 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 1701 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_UNSIGNED (TREE_TYPE (captures[2])) && (element_precision (TREE_TYPE (captures[2])) <= element_precision (TREE_TYPE (captures[3])) || !TYPE_UNSIGNED (TREE_TYPE (captures[3])))) { { /* #line 1705 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree shift_type = TREE_TYPE (captures[2]); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1707, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[3]; if (TREE_TYPE (ops2[0]) != shift_type) res = fold_build1_loc (loc, NOP_EXPR, shift_type, ops2[0]); else res = ops2[0]; ops1[0] = res; } ops1[1] = captures[4]; res = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } return NULL_TREE; } static tree generic_simplify_125 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop), enum tree_code ARG_UNUSED (rbitop)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:917, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, bitop, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_126 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (POW)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { /* #line 3362 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TREE_OVERFLOW (captures[2])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3363, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; ops1[1] = build_one_cst (type); res = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } } return NULL_TREE; } static tree generic_simplify_127 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:928, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[2]; res = fold_build2_loc (loc, bitop, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, bitop, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_128 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree ARG_UNUSED (op2), tree *captures , enum tree_code ARG_UNUSED (cmp)) { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree from_type = TREE_TYPE (captures[0]); tree c1_type = TREE_TYPE (captures[1]), c2_type = TREE_TYPE (captures[2]); enum tree_code code = ERROR_MARK; if (INTEGRAL_TYPE_P (from_type) && int_fits_type_p (captures[2], from_type) && (types_match (c1_type, from_type) || (TYPE_PRECISION (c1_type) > TYPE_PRECISION (from_type) && (TYPE_UNSIGNED (from_type) || TYPE_SIGN (c1_type) == TYPE_SIGN (from_type)))) && (types_match (c2_type, from_type) || (TYPE_PRECISION (c2_type) > TYPE_PRECISION (from_type) && (TYPE_UNSIGNED (from_type) || TYPE_SIGN (c2_type) == TYPE_SIGN (from_type))))) { if (cmp != EQ_EXPR) { if (wi::to_widest (captures[1]) == (wi::to_widest (captures[2]) - 1)) { if (cmp == LE_EXPR) code = LT_EXPR; if (cmp == GT_EXPR) code = GE_EXPR; } if (wi::to_widest (captures[1]) == (wi::to_widest (captures[2]) + 1)) { if (cmp == LT_EXPR) code = LE_EXPR; if (cmp == GE_EXPR) code = GT_EXPR; } if (code != ERROR_MARK || wi::to_widest (captures[2]) == wi::to_widest (captures[1])) { if (cmp == LT_EXPR || cmp == LE_EXPR) code = MIN_EXPR; if (cmp == GT_EXPR || cmp == GE_EXPR) code = MAX_EXPR; } } else if (int_fits_type_p (captures[1], from_type)) code = EQ_EXPR; }/* #line 2087 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == MAX_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2088, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != TREE_TYPE (ops1[0])) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (ops1[0]), ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 2089 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == MIN_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2090, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != TREE_TYPE (ops1[0])) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (ops1[0]), ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 2091 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == EQ_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2092, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[1])) return NULL_TREE; tree res_op0; { tree ops1[3], res; { tree ops2[2], res; ops2[0] = captures[0]; { tree ops3[1], res; ops3[0] = unshare_expr (captures[1]); if (TREE_TYPE (ops3[0]) != TREE_TYPE (ops2[0])) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (ops2[0]), ops3[0]); else res = ops3[0]; ops2[1] = res; } res = fold_build2_loc (loc, EQ_EXPR, boolean_type_node, ops2[0], ops2[1]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[1]; if (TREE_TYPE (ops2[0]) != from_type) res = fold_build1_loc (loc, NOP_EXPR, from_type, ops2[0]); else res = ops2[0]; ops1[1] = res; } { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != from_type) res = fold_build1_loc (loc, NOP_EXPR, from_type, ops2[0]); else res = ops2[0]; ops1[2] = res; } res = fold_build3_loc (loc, COND_EXPR, TREE_TYPE (ops1[1]), ops1[0], ops1[1], ops1[2]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } } return NULL_TREE; } static tree generic_simplify_129 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (TAN), combined_fn ARG_UNUSED (COS), combined_fn ARG_UNUSED (SIN)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3312, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = maybe_build_call_expr_loc (loc, SIN, type, 1, res_op0); if (!res) return NULL_TREE; return res; } return NULL_TREE; } static tree generic_simplify_130 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_pow2p (captures[2]) && tree_int_cst_sgn (captures[2]) > 0 && wi::add (captures[2], captures[1]) == 0 && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:272, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = build_int_cst (integer_type_node, wi::exact_log2 (captures[2])); tree res; res = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_131 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ HOST_WIDE_INT off0, off1; tree base0 = get_addr_base_and_unit_offset (TREE_OPERAND (captures[1], 0), &off0); tree base1 = get_addr_base_and_unit_offset (TREE_OPERAND (captures[2], 0), &off1); if (base0 && TREE_CODE (base0) == MEM_REF) { off0 += mem_ref_offset (base0).to_short_addr (); base0 = TREE_OPERAND (base0, 0); } if (base1 && TREE_CODE (base1) == MEM_REF) { off1 += mem_ref_offset (base1).to_short_addr (); base1 = TREE_OPERAND (base1, 0); }/* #line 2867 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (base0 && base1) { { /* #line 2868 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ int equal = 2; if (1 && ((VAR_P (base0) && DECL_HAS_VALUE_EXPR_P (base0)) || (VAR_P (base1) && DECL_HAS_VALUE_EXPR_P (base1)))) ; else if (decl_in_symtab_p (base0) && decl_in_symtab_p (base1)) equal = symtab_node::get_create (base0) ->equal_address_to (symtab_node::get_create (base1)); else if ((DECL_P (base0) || TREE_CODE (base0) == SSA_NAME || TREE_CODE (base0) == STRING_CST) && (DECL_P (base1) || TREE_CODE (base1) == SSA_NAME || TREE_CODE (base1) == STRING_CST)) equal = (base0 == base1); /* #line 2890 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (equal == 1 && (cmp == EQ_EXPR || cmp == NE_EXPR || off0 == off1 || POINTER_TYPE_OVERFLOW_UNDEFINED || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && (DECL_P (base0) || TREE_CODE (base0) == STRING_CST)))) { /* #line 2899 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == EQ_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2900, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 == off1, type); return res; } else { /* #line 2901 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == NE_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2902, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 != off1, type); return res; } else { /* #line 2903 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2904, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 < off1, type); return res; } else { /* #line 2905 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2906, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 <= off1, type); return res; } else { /* #line 2907 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2908, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 >= off1, type); return res; } else { /* #line 2909 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2910, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (off0 > off1, type); return res; } } } } } } } else { /* #line 2911 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (equal == 0 && DECL_P (base0) && DECL_P (base1) && (!INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || off0 == off1)) { /* #line 2917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == EQ_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2918, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); return res; } else { /* #line 2919 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == NE_EXPR) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2920, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); return res; } } } } } } } return NULL_TREE; } static tree generic_simplify_132 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (FMIN)) { /* #line 1431 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_finite_math_only) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1434, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_133 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (fns)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3263, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; return NULL_TREE; } static tree generic_simplify_134 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (froms), combined_fn ARG_UNUSED (tos)) { /* #line 3486 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (optimize && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3489, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = maybe_build_call_expr_loc (loc, tos, type, 1, res_op0); if (!res) return NULL_TREE; return res; } return NULL_TREE; } static tree generic_simplify_135 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (ncmp)) { /* #line 2817 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && (TYPE_PRECISION (TREE_TYPE (captures[1])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[1])))) && element_precision (captures[0]) >= element_precision (captures[1]) && wi::only_sign_bit_p (captures[2], element_precision (captures[1]))) { { /* #line 2822 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree stype = signed_type_for (TREE_TYPE (captures[1])); if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2823, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != stype) res = fold_build1_loc (loc, NOP_EXPR, stype, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (stype); tree res; res = fold_build2_loc (loc, ncmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } return NULL_TREE; } static tree generic_simplify_136 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (bswap)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1985, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0); return res; return NULL_TREE; } static tree generic_simplify_137 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::gt_p (captures[1], 0, TYPE_SIGN (TREE_TYPE (captures[1])))) { { /* #line 2611 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ bool ovf; wide_int prod = wi::mul (captures[2], captures[1], TYPE_SIGN (TREE_TYPE (captures[1])), &ovf); /* #line 2616 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ovf) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2617, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (wi::lt_p (captures[2], 0, TYPE_SIGN (TREE_TYPE (captures[2]))) != (cmp == LT_EXPR || cmp == LE_EXPR), type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } else { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2619, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[0]), prod); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_138 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , enum tree_code ARG_UNUSED (bitop), combined_fn ARG_UNUSED (bswap)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1989, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; { res = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, bitop, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_139 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1180 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0])) && !TYPE_OVERFLOW_SANITIZED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1182, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } return NULL_TREE; } static tree generic_simplify_140 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { /* #line 396 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ANY_INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_UNDEFINED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:398, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_141 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (copysigns)) { /* #line 476 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:477, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:478, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, ABS_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_142 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (icmp), enum tree_code ARG_UNUSED (ncmp)) { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (VECTOR_TYPE_P (type) || (INTEGRAL_TYPE_P (type) && TYPE_PRECISION (type) == 1)) { { /* #line 2298 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ enum tree_code ic = invert_tree_comparison (cmp, HONOR_NANS (captures[0])); /* #line 2300 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ic == icmp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2301, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, icmp, type, res_op0, res_op1); return res; } else { /* #line 2302 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ic == ncmp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2303, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, ncmp, type, res_op0, res_op1); return res; } } } } return NULL_TREE; } static tree generic_simplify_143 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1004, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[1])) return NULL_TREE; tree res_op0; { tree ops1[2], res; { tree ops2[2], res; ops2[0] = unshare_expr (captures[1]); ops2[1] = captures[4]; res = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } ops1[1] = captures[2]; res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_144 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 508 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! FLOAT_TYPE_P (type) && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:510, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, LSHIFT_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_145 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (froms), combined_fn ARG_UNUSED (tos)) { /* #line 3455 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (optimize && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3458, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; { res = maybe_build_call_expr_loc (loc, tos, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_146 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2356 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp != NE_EXPR || ! FLOAT_TYPE_P (TREE_TYPE (captures[0])) || ! HONOR_NANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2359, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } return NULL_TREE; } static tree generic_simplify_147 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2595 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!integer_zerop (captures[1])) { /* #line 2596 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::eq_p (captures[2], 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2597, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2598 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (captures[1]) == INTEGER_CST) { { /* #line 2599 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ bool ovf; wide_int prod = wi::mul (captures[2], captures[1], TYPE_SIGN (TREE_TYPE (captures[1])), &ovf); /* #line 2604 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ovf) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2605, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } else { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2606, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (TREE_TYPE (captures[0]), prod); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } } } return NULL_TREE; } static tree generic_simplify_148 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_149 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (test1), enum tree_code ARG_UNUSED (test2)) { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || VECTOR_INTEGER_TYPE_P (TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2645, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_150 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { /* #line 158 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!integer_zerop (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:159, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_151 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1197, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } return NULL_TREE; } static tree generic_simplify_152 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:684, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_153 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 3624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && INTEGRAL_TYPE_P (TREE_TYPE (captures[2])) && INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && (TYPE_PRECISION (TREE_TYPE (captures[2])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[2])))) && (TYPE_PRECISION (TREE_TYPE (captures[4])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[4])))) && TYPE_PRECISION (type) == GET_MODE_PRECISION (TYPE_MODE (type)) && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2])) && types_match (captures[2], type) && (types_match (captures[2], captures[4]) || TREE_CODE (captures[4]) == INTEGER_CST)) { /* #line 3644 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3645, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[2]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[4]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { { /* #line 3646 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree utype = unsigned_type_for (TREE_TYPE (captures[2])); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3647, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; if (TREE_TYPE (ops2[0]) != utype) res = fold_build1_loc (loc, NOP_EXPR, utype, ops2[0]); else res = ops2[0]; ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[4]; if (TREE_TYPE (ops2[0]) != utype) res = fold_build1_loc (loc, NOP_EXPR, utype, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } return NULL_TREE; } static tree generic_simplify_154 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2778 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2779, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; { tree ops2[1], res; ops2[0] = captures[3]; if (TREE_TYPE (ops2[0]) != TREE_TYPE (res_op0)) res = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_155 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 222 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (type) && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:225, %s:%d\n", __FILE__, __LINE__); tree res; res = build_minus_one_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } return NULL_TREE; } static tree generic_simplify_156 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0])) && tree_expr_nonzero_p (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1021, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_157 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:697, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_158 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:955, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_159 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { /* #line 300 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!integer_zerop (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:301, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_160 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1248 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1249, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } } } return NULL_TREE; } static tree generic_simplify_161 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 95 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (fold_real_zero_addition_p (type, captures[1], 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:96, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_162 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op), enum tree_code ARG_UNUSED (rop), enum tree_code ARG_UNUSED (cmp)) { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3]) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))) { { /* #line 3729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree res = int_const_binop (rop, captures[3], captures[2]); /* #line 3730 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_OVERFLOW (res)) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3731, %s:%d\n", __FILE__, __LINE__); tree res; fold_overflow_warning (("assuming signed overflow does not occur " "when simplifying conditional to constant"), WARN_STRICT_OVERFLOW_CONDITIONAL); bool less = cmp == LE_EXPR || cmp == LT_EXPR; bool ovf_high = wi::lt_p (captures[2], 0, TYPE_SIGN (TREE_TYPE (captures[2]))) != (op == MINUS_EXPR); res = constant_boolean_node (less == ovf_high, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 3741 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0])) { { /* #line 3742 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ fold_overflow_warning (("assuming signed overflow does not occur " "when changing X +- C1 cmp C2 to " "X cmp C2 -+ C1"), WARN_STRICT_OVERFLOW_COMPARISON); if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3749, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = res; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } } } return NULL_TREE; } static tree generic_simplify_163 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_164 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0])) && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:861, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[1]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_165 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (scmp)) { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (TREE_TYPE (captures[0])) || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2663, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, scmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_166 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_UNDEFINED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:177, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = build_zero_cst (type); res = fold_build2_loc (loc, LT_EXPR, boolean_type_node, ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = build_minus_one_cst (type); tree res_op2; res_op2 = build_one_cst (type); tree res; res = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2); return res; } return NULL_TREE; } static tree generic_simplify_167 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 1475 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::gt_p (captures[1], captures[2], TYPE_SIGN (TREE_TYPE (captures[0])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1476, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 1477 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::lt_p (captures[1], captures[2], TYPE_SIGN (TREE_TYPE (captures[0])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1478, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } return NULL_TREE; } static tree generic_simplify_168 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (ncmp)) { /* #line 2817 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && (TYPE_PRECISION (TREE_TYPE (captures[1])) == GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (captures[1])))) && element_precision (captures[0]) >= element_precision (captures[1]) && wi::only_sign_bit_p (captures[2], element_precision (captures[1]))) { { /* #line 2822 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree stype = signed_type_for (TREE_TYPE (captures[1])); if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2823, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != stype) res = fold_build1_loc (loc, NOP_EXPR, stype, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (stype); tree res; res = fold_build2_loc (loc, ncmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } return NULL_TREE; } static tree generic_simplify_169 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shift)) { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1])) && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT && tree_fits_uhwi_p (captures[4]) && tree_to_uhwi (captures[4]) > 0 && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)) { { /* #line 1610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ unsigned int shiftc = tree_to_uhwi (captures[4]); unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]); unsigned HOST_WIDE_INT newmask, zerobits = 0; tree shift_type = TREE_TYPE (captures[2]); unsigned int prec; if (shift == LSHIFT_EXPR) zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1); else if (shift == RSHIFT_EXPR && (TYPE_PRECISION (shift_type) == GET_MODE_PRECISION (TYPE_MODE (shift_type)))) { prec = TYPE_PRECISION (TREE_TYPE (captures[2])); tree arg00 = captures[3]; if (captures[2] != captures[3] && TYPE_UNSIGNED (TREE_TYPE (captures[3]))) { tree inner_type = TREE_TYPE (captures[3]); if ((TYPE_PRECISION (inner_type) == GET_MODE_PRECISION (TYPE_MODE (inner_type))) && TYPE_PRECISION (inner_type) < prec) { prec = TYPE_PRECISION (inner_type); if (shiftc < prec) shift_type = inner_type; } } zerobits = HOST_WIDE_INT_M1U; if (shiftc < prec) { zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc; zerobits <<= prec - shiftc; } if (!TYPE_UNSIGNED (TREE_TYPE (captures[2])) && prec == TYPE_PRECISION (TREE_TYPE (captures[2]))) { if ((mask & zerobits) == 0) shift_type = unsigned_type_for (TREE_TYPE (captures[2])); else zerobits = 0; } }/* #line 1666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((mask & zerobits) == mask) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1667, %s:%d\n", __FILE__, __LINE__); tree res; res = build_int_cst (type, 0); return res; } else { { /* #line 1668 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ newmask = mask | zerobits; /* #line 1669 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (newmask != mask && (newmask & (newmask + 1)) == 0) { { /* #line 1670 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ for (prec = BITS_PER_UNIT; prec < HOST_BITS_PER_WIDE_INT; prec <<= 1) if (newmask == (HOST_WIDE_INT_1U << prec) - 1) break; /* #line 1679 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (prec < HOST_BITS_PER_WIDE_INT || newmask == HOST_WIDE_INT_M1U) { { /* #line 1681 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask); /* #line 1683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!tree_int_cst_equal (newmaskt, captures[5])) { /* #line 1684 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (shift_type != TREE_TYPE (captures[2])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1685, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; { tree ops3[1], res; ops3[0] = captures[2]; if (TREE_TYPE (ops3[0]) != shift_type) res = fold_build1_loc (loc, NOP_EXPR, shift_type, ops3[0]); else res = ops3[0]; ops2[0] = res; } ops2[1] = captures[4]; res = fold_build2_loc (loc, shift, shift_type, ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } else { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1686, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_170 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , enum tree_code ARG_UNUSED (rotate)) { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((element_precision (TREE_TYPE (captures[2])) <= element_precision (TREE_TYPE (captures[3])) || !TYPE_UNSIGNED (TREE_TYPE (captures[3]))) && (element_precision (type) <= element_precision (TREE_TYPE (captures[2])) || !TYPE_UNSIGNED (TREE_TYPE (captures[2])))) { { /* #line 1719 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree rotate_type = TREE_TYPE (captures[2]); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1721, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[3]; if (TREE_TYPE (ops2[0]) != rotate_type) res = fold_build1_loc (loc, NOP_EXPR, rotate_type, ops2[0]); else res = ops2[0]; ops1[0] = res; } ops1[1] = captures[4]; res = fold_build2_loc (loc, rotate, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } return NULL_TREE; } static tree generic_simplify_171 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:305, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_172 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree ARG_UNUSED (op2), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (op)) { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree from_type = TREE_TYPE (captures[0]), to_type = TREE_TYPE (captures[1]); /* #line 2120 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (types_match (from_type, to_type) || (TYPE_UNSIGNED (from_type) && !TYPE_UNSIGNED (to_type) && TYPE_PRECISION (from_type) == TYPE_PRECISION (to_type) && integer_zerop (captures[1]) && (cmp == LT_EXPR || cmp == GE_EXPR))) { { /* #line 2127 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ bool overflow = false; enum tree_code code, cmp_code = cmp; wide_int real_c1, c1 = captures[1], c2 = captures[2], c3 = captures[3]; signop sgn = TYPE_SIGN (from_type); if (!types_match (from_type, to_type)) { if (cmp_code == LT_EXPR) cmp_code = GT_EXPR; if (cmp_code == GE_EXPR) cmp_code = LE_EXPR; c1 = wi::max_value (to_type); } if (op == PLUS_EXPR) real_c1 = wi::sub (c3, c2, sgn, &overflow); else real_c1 = wi::add (c3, c2, sgn, &overflow); code = cmp_code; if (!overflow || !TYPE_OVERFLOW_UNDEFINED (from_type)) { if (!wi::cmp (wi::sub (real_c1, 1, sgn, &overflow), c1, sgn) && !overflow) { if (cmp_code == LE_EXPR) code = LT_EXPR; if (cmp_code == GT_EXPR) code = GE_EXPR; } if (!wi::cmp (wi::add (real_c1, 1, sgn, &overflow), c1, sgn) && !overflow) { if (cmp_code == LT_EXPR) code = LE_EXPR; if (cmp_code == GE_EXPR) code = GT_EXPR; } if (code != cmp_code || !wi::cmp (real_c1, c1, sgn)) { if (cmp_code == LT_EXPR || cmp_code == LE_EXPR) code = MIN_EXPR; if (cmp_code == GT_EXPR || cmp_code == GE_EXPR) code = MAX_EXPR; } }/* #line 2188 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == MAX_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2189, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = wide_int_to_tree (from_type, real_c1); res = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = wide_int_to_tree (from_type, c2); tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 2191 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == MIN_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2192, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = wide_int_to_tree (from_type, real_c1); res = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = wide_int_to_tree (from_type, c2); tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } } } return NULL_TREE; } static tree generic_simplify_173 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 765 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[0])) && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:767, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_174 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op), enum tree_code ARG_UNUSED (rop), enum tree_code ARG_UNUSED (cmp)) { /* #line 3712 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3]) && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[1])) && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[1])) && !TYPE_SATURATING (TREE_TYPE (captures[1]))) { { /* #line 3716 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree res = int_const_binop (rop, captures[3], captures[2]); /* #line 3717 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_OVERFLOW (res) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3719, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 3720 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0])) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3721, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = res; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } } return NULL_TREE; } static tree generic_simplify_175 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 574 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::bit_not (captures[1]) == captures[2]) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:575, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_176 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (logs), combined_fn ARG_UNUSED (pows)) { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3223, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[0]; { res = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_177 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1355 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (type) != COMPLEX_TYPE && (! ANY_INTEGRAL_TYPE_P (type) || TYPE_OVERFLOW_UNDEFINED (type))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1358, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, ABS_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_178 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (POW)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3352, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[4]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[2]; tree res; res = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } return NULL_TREE; } static tree generic_simplify_179 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (mod)) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:320, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; return NULL_TREE; } static tree generic_simplify_180 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (FMAX)) { /* #line 1431 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_finite_math_only) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1437, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_181 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 3076 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[1])) && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3078, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (TREE_TYPE (captures[1])); tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_182 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 3076 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[1])) && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3078, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (TREE_TYPE (captures[1])); tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_183 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[1])) && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3086, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (TREE_TYPE (captures[1])); tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_184 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_185 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (POW)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3368, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[1] = res; } { res = maybe_build_call_expr_loc (loc, POW, TREE_TYPE (ops1[0]), 2, ops1[0], ops1[1]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_186 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_MINUS_ZERO (TREE_REAL_CST (captures[1]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2424, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[1]), dconst0); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2426 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_ISNAN (TREE_REAL_CST (captures[1])) && ! HONOR_SNANS (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2428, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2430 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_ISINF (TREE_REAL_CST (captures[1])) && MODE_HAS_INFINITIES (TYPE_MODE (TREE_TYPE (captures[1])))) { { /* #line 2432 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ REAL_VALUE_TYPE max; enum tree_code code = cmp; bool neg = REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1])); if (neg) code = swap_tree_comparison (code); /* #line 2442 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == GT_EXPR && ! HONOR_SNANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2444, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2445 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == LE_EXPR) { /* #line 2447 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_NANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2448, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2450, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[0])) return NULL_TREE; tree res_op0; res_op0 = unshare_expr (captures[0]); tree res_op1; res_op1 = captures[0]; tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } else { /* #line 2452 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == EQ_EXPR || code == GE_EXPR) { { /* #line 2453 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ real_maxval (&max, neg, TYPE_MODE (TREE_TYPE (captures[0]))); /* #line 2454 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (neg) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2455, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), max); tree res; res = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2456, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), max); tree res; res = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } else { /* #line 2458 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == LT_EXPR) { { /* #line 2459 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ real_maxval (&max, neg, TYPE_MODE (TREE_TYPE (captures[0]))); /* #line 2460 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (neg) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2461, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), max); tree res; res = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2462, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), max); tree res; res = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } else { /* #line 2464 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (code == NE_EXPR) { { /* #line 2465 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ real_maxval (&max, neg, TYPE_MODE (TREE_TYPE (captures[0]))); /* #line 2466 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_NANS (captures[0])) { /* #line 2467 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (neg) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2468, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), max); tree res; res = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2469, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), max); tree res; res = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } else { /* #line 2470 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (neg) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2471, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = build_real (TREE_TYPE (captures[0]), max); res = fold_build2_loc (loc, LT_EXPR, type, ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = build_one_cst (type); tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2473, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = build_real (TREE_TYPE (captures[0]), max); res = fold_build2_loc (loc, GT_EXPR, type, ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = build_one_cst (type); tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_187 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (outer_op)) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { { /* #line 1228 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree cst = const_binop (outer_op, type, captures[0], captures[2]); /* #line 1229 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cst && !TREE_OVERFLOW (cst)) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1230, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = cst; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); return res; } } } } return NULL_TREE; } static tree generic_simplify_188 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2635, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; return NULL_TREE; } static tree generic_simplify_189 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:148, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; return NULL_TREE; } static tree generic_simplify_190 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && tree_nop_conversion_p (type, TREE_TYPE (captures[4])) && wi::bit_and (captures[2], captures[5]) == 0) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:754, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_191 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:806, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; return NULL_TREE; } static tree generic_simplify_192 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 1468 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::lt_p (captures[1], captures[2], TYPE_SIGN (TREE_TYPE (captures[0])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1469, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 1470 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::gt_p (captures[1], captures[2], TYPE_SIGN (TREE_TYPE (captures[0])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1471, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } return NULL_TREE; } static tree generic_simplify_193 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (tans), combined_fn ARG_UNUSED (atans)) { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3247, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } return NULL_TREE; } static tree generic_simplify_194 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (inner_op), enum tree_code ARG_UNUSED (outer_op)) { { /* #line 1054 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ bool fail = false; wide_int zero_mask_not; wide_int C0; wide_int cst_emit; if (TREE_CODE (captures[1]) == SSA_NAME) zero_mask_not = get_nonzero_bits (captures[1]); else fail = true; if (inner_op == BIT_XOR_EXPR) { C0 = wi::bit_and_not (captures[2], captures[3]); cst_emit = wi::bit_or (C0, captures[3]); } else { C0 = captures[2]; cst_emit = wi::bit_xor (captures[2], captures[3]); }/* #line 1077 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!fail && wi::bit_and (C0, zero_mask_not) == 0) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1078, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = wide_int_to_tree (type, cst_emit); tree res; res = fold_build2_loc (loc, outer_op, type, res_op0, res_op1); return res; } else { /* #line 1079 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!fail && wi::bit_and (captures[3], zero_mask_not) == 0) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1080, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = wide_int_to_tree (type, cst_emit); tree res; res = fold_build2_loc (loc, inner_op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_195 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (SIN), combined_fn ARG_UNUSED (TAN), combined_fn ARG_UNUSED (COS)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { /* #line 3333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_NANS (captures[1]) && ! HONOR_INFINITIES (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3335, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = maybe_build_call_expr_loc (loc, COS, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } return NULL_TREE; } static tree generic_simplify_196 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[3])) && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))) { /* #line 814 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[4]) && single_use (captures[5])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:815, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[6]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } else { /* #line 816 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[1])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:817, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[3]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, op, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_197 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1167 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[1])) && !TYPE_OVERFLOW_SANITIZED (type)) { { /* #line 1169 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree t1 = type; if (INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_WRAPS (type) != TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))) t1 = TYPE_OVERFLOW_WRAPS (type) ? type : TREE_TYPE (captures[1]); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1176, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[0]; if (TREE_TYPE (ops2[0]) != t1) res = fold_build1_loc (loc, NOP_EXPR, t1, ops2[0]); else res = ops2[0]; ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[1]; if (TREE_TYPE (ops2[0]) != t1) res = fold_build1_loc (loc, NOP_EXPR, t1, ops2[0]); else res = ops2[0]; ops1[1] = res; } res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } return NULL_TREE; } static tree generic_simplify_198 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shiftrotate)) { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = uniform_vector_p (captures[1]); /* #line 1528 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1529, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_199 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (div)) { /* #line 163 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_UNSIGNED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:164, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } return NULL_TREE; } static tree generic_simplify_200 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1134 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (POINTER_TYPE_P (TREE_TYPE (captures[0])) && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { { /* #line 1136 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ unsigned int align; unsigned HOST_WIDE_INT bitpos; get_pointer_alignment_1 (captures[0], &align, &bitpos); /* #line 1142 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::ltu_p (captures[1], align / BITS_PER_UNIT)) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1143, %s:%d\n", __FILE__, __LINE__); tree res; res = wide_int_to_tree (type, wi::bit_and (captures[1], bitpos / BITS_PER_UNIT)); return res; } } } return NULL_TREE; } static tree generic_simplify_201 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (icmp)) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2792, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_zero_cst (TREE_TYPE (captures[1])); tree res; res = fold_build2_loc (loc, icmp, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_202 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (sq), enum tree_code ARG_UNUSED (cmp)) { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && ! flag_errno_math) { /* #line 2510 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))) { /* #line 2513 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == EQ_EXPR || cmp == LT_EXPR || cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2514, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2517 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == NE_EXPR || !HONOR_NANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2518, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2520, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), dconst0); tree res; res = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } else { /* #line 2521 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (real_equal (TREE_REAL_CST_PTR (captures[1]), &dconst0)) { /* #line 2524 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2525, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GE_EXPR && !HONOR_NANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2528, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2530 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LE_EXPR) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2531, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2539, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } } else { /* #line 2540 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == GT_EXPR || cmp == GE_EXPR) { { /* #line 2541 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ REAL_VALUE_TYPE c2; real_arithmetic (&c2, MULT_EXPR, &TREE_REAL_CST (captures[1]), &TREE_REAL_CST (captures[1])); real_convert (&c2, TYPE_MODE (TREE_TYPE (captures[0])), &c2); /* #line 2548 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_ISINF (c2)) { /* #line 2550 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (HONOR_INFINITIES (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2551, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), c2); tree res; res = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2552, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2554, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), c2); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } else { /* #line 2555 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == LT_EXPR || cmp == LE_EXPR) { { /* #line 2556 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ REAL_VALUE_TYPE c2; real_arithmetic (&c2, MULT_EXPR, &TREE_REAL_CST (captures[1]), &TREE_REAL_CST (captures[1])); real_convert (&c2, TYPE_MODE (TREE_TYPE (captures[0])), &c2); /* #line 2563 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_ISINF (c2)) { /* #line 2567 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_NANS (captures[0]) && ! HONOR_INFINITIES (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2568, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2571 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_NANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2572, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), c2); tree res; res = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2575 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_INFINITIES (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2576, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), dconst0); tree res; res = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2578 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (1) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2579, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[0])) return NULL_TREE; tree res_op0; { tree ops1[2], res; ops1[0] = unshare_expr (captures[0]); ops1[1] = build_real (TREE_TYPE (captures[0]), dconst0); res = fold_build2_loc (loc, GE_EXPR, type, ops1[0], ops1[1]); res_op0 = res; } tree res_op1; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = build_real (TREE_TYPE (captures[0]), c2); res = fold_build2_loc (loc, NE_EXPR, type, ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } } } else { /* #line 2583 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! HONOR_NANS (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2584, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (TREE_TYPE (captures[0]), c2); tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 2586 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (1) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2587, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[0])) return NULL_TREE; tree res_op0; { tree ops1[2], res; ops1[0] = unshare_expr (captures[0]); ops1[1] = build_real (TREE_TYPE (captures[0]), dconst0); res = fold_build2_loc (loc, GE_EXPR, type, ops1[0], ops1[1]); res_op0 = res; } tree res_op1; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = build_real (TREE_TYPE (captures[0]), c2); res = fold_build2_loc (loc, cmp, type, ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } } } } } } } return NULL_TREE; } static tree generic_simplify_203 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2367, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = unshare_expr (captures[0]); tree res_op1; res_op1 = captures[0]; tree res; res = fold_build2_loc (loc, UNORDERED_EXPR, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_204 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures ) { /* #line 975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[0])) || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:977, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = build_each_one_cst (TREE_TYPE (captures[0])); res = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_205 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (fns)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3258, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = maybe_build_call_expr_loc (loc, fns, type, 1, res_op0); if (!res) return NULL_TREE; return res; return NULL_TREE; } static tree generic_simplify_206 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) { /* #line 1033 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_expr_nonnegative_p (captures[1]) && tree_expr_nonzero_p (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1034, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { /* #line 1035 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (captures[1]) == INTEGER_CST && wi::neg_p (captures[1], TYPE_SIGN (TREE_TYPE (captures[1])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1037, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[2]; tree res_op1; res_op1 = captures[0]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } return NULL_TREE; } static tree generic_simplify_207 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2377 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0]) && single_use (captures[2])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2378, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[3]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_208 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (COPYSIGN)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3283, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, ABS_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_209 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (TREE_TYPE (captures[1])) && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0])) == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[1]))) && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0])) == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[2])))) { { /* #line 2398 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree type1 = TREE_TYPE (captures[2]); if (TREE_CODE (captures[2]) == REAL_CST && !DECIMAL_FLOAT_TYPE_P (type1)) { REAL_VALUE_TYPE orig = TREE_REAL_CST (captures[2]); if (TYPE_PRECISION (type1) > TYPE_PRECISION (float_type_node) && exact_real_truncate (TYPE_MODE (float_type_node), &orig)) type1 = float_type_node; if (TYPE_PRECISION (type1) > TYPE_PRECISION (double_type_node) && exact_real_truncate (TYPE_MODE (double_type_node), &orig)) type1 = double_type_node; } tree newtype = (TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (type1) ? TREE_TYPE (captures[1]) : type1); /* #line 2415 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (newtype)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2416, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != newtype) res = fold_build1_loc (loc, NOP_EXPR, newtype, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != newtype) res = fold_build1_loc (loc, NOP_EXPR, newtype, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } } } return NULL_TREE; } static tree generic_simplify_210 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2632, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; return NULL_TREE; } static tree generic_simplify_211 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (out)) { /* #line 3094 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[2])) && !VECTOR_TYPE_P (TREE_TYPE (captures[2]))) { { /* #line 3095 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t); if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3096, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[2]; ops2[1] = captures[1]; { res = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, ops2[0], ops2[1]); if (!res) return NULL_TREE; } ops1[0] = res; } res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res_op1; res_op1 = build_zero_cst (t); tree res; res = fold_build2_loc (loc, out, type, res_op0, res_op1); return res; } } return NULL_TREE; } static tree generic_simplify_212 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (pows), combined_fn ARG_UNUSED (copysigns)) { { /* #line 450 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ HOST_WIDE_INT n; /* #line 451 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (real_isinteger (&TREE_REAL_CST (captures[2]), &n) && (n & 1) == 0) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:452, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res; res = maybe_build_call_expr_loc (loc, pows, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } return NULL_TREE; } static tree generic_simplify_213 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , combined_fn ARG_UNUSED (SIN), combined_fn ARG_UNUSED (COS), combined_fn ARG_UNUSED (TAN)) { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3323, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = maybe_build_call_expr_loc (loc, TAN, type, 1, res_op0); if (!res) return NULL_TREE; return res; } return NULL_TREE; } static tree generic_simplify_214 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2744 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (SSA_NAME_IS_DEFAULT_DEF (captures[1]) && TREE_CODE (SSA_NAME_VAR (captures[1])) == PARM_DECL) { { /* #line 2746 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree base = get_base_address (TREE_OPERAND (captures[0], 0)); /* #line 2747 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (base) == VAR_DECL && auto_var_in_fn_p (base, current_function_decl)) { /* #line 2749 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cmp == NE_EXPR) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2750, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } else { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2751, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } } return NULL_TREE; } static tree generic_simplify_215 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2321 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (single_use (captures[0])) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2322, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, cmp, type, res_op0, res_op1); return res; } return NULL_TREE; } static tree generic_simplify_216 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (cmp)) { /* #line 2760 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1])) && wi::bit_and_not (captures[2], captures[3]) != 0) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2762, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (cmp == NE_EXPR, type); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); if (TREE_SIDE_EFFECTS (captures[3])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), res); return res; } return NULL_TREE; } static tree generic_simplify_217 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:960, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (true, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_218 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (minmax), enum tree_code ARG_UNUSED (maxmin)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1453, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, maxmin, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0); return res; return NULL_TREE; } static tree generic_simplify_219 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (bitop), enum tree_code ARG_UNUSED (rbitop)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:912, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; return NULL_TREE; } static tree generic_simplify_220 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree *captures , combined_fn ARG_UNUSED (froms), combined_fn ARG_UNUSED (tos)) { /* #line 3477 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (optimize && canonicalize_math_p () && targetm.libc_has_function (function_c99_misc)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3481, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; { res = maybe_build_call_expr_loc (loc, tos, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } return NULL_TREE; } static tree generic_simplify_221 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1203, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } return NULL_TREE; } static tree generic_simplify_222 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1343, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; return NULL_TREE; } static tree generic_simplify_223 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (op)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:965, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (op == NE_EXPR ? true : false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; return NULL_TREE; } static tree generic_simplify_224 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (minmax), enum tree_code ARG_UNUSED (cmp), enum tree_code ARG_UNUSED (comb)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1485, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[2])) return NULL_TREE; tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = unshare_expr (captures[2]); res = fold_build2_loc (loc, cmp, type, ops1[0], ops1[1]); res_op0 = res; } tree res_op1; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[2]; res = fold_build2_loc (loc, cmp, type, ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, comb, type, res_op0, res_op1); return res; return NULL_TREE; } static tree generic_simplify_225 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures , enum tree_code ARG_UNUSED (shift)) { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1])) && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT && tree_fits_uhwi_p (captures[4]) && tree_to_uhwi (captures[4]) > 0 && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)) { { /* #line 1610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ unsigned int shiftc = tree_to_uhwi (captures[4]); unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]); unsigned HOST_WIDE_INT newmask, zerobits = 0; tree shift_type = TREE_TYPE (captures[2]); unsigned int prec; if (shift == LSHIFT_EXPR) zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1); else if (shift == RSHIFT_EXPR && (TYPE_PRECISION (shift_type) == GET_MODE_PRECISION (TYPE_MODE (shift_type)))) { prec = TYPE_PRECISION (TREE_TYPE (captures[2])); tree arg00 = captures[3]; if (captures[2] != captures[3] && TYPE_UNSIGNED (TREE_TYPE (captures[3]))) { tree inner_type = TREE_TYPE (captures[3]); if ((TYPE_PRECISION (inner_type) == GET_MODE_PRECISION (TYPE_MODE (inner_type))) && TYPE_PRECISION (inner_type) < prec) { prec = TYPE_PRECISION (inner_type); if (shiftc < prec) shift_type = inner_type; } } zerobits = HOST_WIDE_INT_M1U; if (shiftc < prec) { zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc; zerobits <<= prec - shiftc; } if (!TYPE_UNSIGNED (TREE_TYPE (captures[2])) && prec == TYPE_PRECISION (TREE_TYPE (captures[2]))) { if ((mask & zerobits) == 0) shift_type = unsigned_type_for (TREE_TYPE (captures[2])); else zerobits = 0; } }/* #line 1666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((mask & zerobits) == mask) { if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1667, %s:%d\n", __FILE__, __LINE__); tree res; res = build_int_cst (type, 0); return res; } else { { /* #line 1668 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ newmask = mask | zerobits; /* #line 1669 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (newmask != mask && (newmask & (newmask + 1)) == 0) { { /* #line 1670 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ for (prec = BITS_PER_UNIT; prec < HOST_BITS_PER_WIDE_INT; prec <<= 1) if (newmask == (HOST_WIDE_INT_1U << prec) - 1) break; /* #line 1679 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (prec < HOST_BITS_PER_WIDE_INT || newmask == HOST_WIDE_INT_M1U) { { /* #line 1681 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask); /* #line 1683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!tree_int_cst_equal (newmaskt, captures[5])) { /* #line 1684 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (shift_type != TREE_TYPE (captures[2])) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1685, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; { tree ops3[1], res; ops3[0] = captures[2]; if (TREE_TYPE (ops3[0]) != shift_type) res = fold_build1_loc (loc, NOP_EXPR, shift_type, ops3[0]); else res = ops3[0]; ops2[0] = res; } ops2[1] = captures[4]; res = fold_build2_loc (loc, shift, shift_type, ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } else { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[5])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1686, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = newmaskt; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } } } } } } } return NULL_TREE; } static tree generic_simplify_226 (location_t ARG_UNUSED (loc), tree ARG_UNUSED (type), tree ARG_UNUSED (op0), tree ARG_UNUSED (op1), tree *captures ) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2632, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; return NULL_TREE; } static tree generic_simplify_ABS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 827 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:827, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 830 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:830, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, ABS_EXPR, type, res_op0); return res; } break; } default:; } if (tree_expr_nonnegative_p (op0)) { { /* #line 833 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:833, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } return NULL_TREE; } static tree generic_simplify_NEGATE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (tree_negate_expr_p (o21)) { { /* #line 866 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_13 (loc, type, op0, captures); if (res) return res; } } if (tree_negate_expr_p (o20)) { { /* #line 866 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_13 (loc, type, op0, captures); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_139 (loc, type, op0, captures); if (res) return res; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_139 (loc, type, op0, captures); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_BIT_NOT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 970 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:970, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_204 (loc, type, op0, captures); if (res) return res; } break; } case MINUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (integer_each_onep (o31)) { { /* #line 982 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_87 (loc, type, op0, captures); if (res) return res; } } break; } case PLUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (integer_all_onesp (o31)) { { /* #line 987 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_99 (loc, type, op0, captures); if (res) return res; } } break; } case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { { /* #line 994 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o31 }; tree res = generic_simplify_66 (loc, type, op0, captures); if (res) return res; } break; } default:; } switch (TREE_CODE (o30)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 998 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, o31 }; tree res = generic_simplify_90 (loc, type, op0, captures); if (res) return res; } break; } default:; } switch (TREE_CODE (o31)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o31, 0); { /* #line 998 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o50, o30 }; tree res = generic_simplify_90 (loc, type, op0, captures); if (res) return res; } break; } default:; } break; } case RSHIFT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o30)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (o30, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); { /* #line 1701 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o50, o31 }; tree res = generic_simplify_124 (loc, type, op0, captures); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1701 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o40, o31 }; tree res = generic_simplify_124 (loc, type, op0, captures); if (res) return res; } break; } default:; } break; } case LROTATE_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o30)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (o30, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o50, o31 }; tree res = generic_simplify_170 (loc, type, op0, captures, LROTATE_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o40, o31 }; tree res = generic_simplify_170 (loc, type, op0, captures, LROTATE_EXPR); if (res) return res; } break; } default:; } break; } case RROTATE_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o30)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (o30, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o50, o31 }; tree res = generic_simplify_170 (loc, type, op0, captures, RROTATE_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o40, o31 }; tree res = generic_simplify_170 (loc, type, op0, captures, RROTATE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_204 (loc, type, op0, captures); if (res) return res; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_each_onep (o21)) { { /* #line 982 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_87 (loc, type, op0, captures); if (res) return res; } } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_all_onesp (o21)) { { /* #line 987 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_99 (loc, type, op0, captures); if (res) return res; } } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { { /* #line 994 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_66 (loc, type, op0, captures); if (res) return res; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 998 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o21 }; tree res = generic_simplify_90 (loc, type, op0, captures); if (res) return res; } break; } default:; } switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); { /* #line 998 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, o20 }; tree res = generic_simplify_90 (loc, type, op0, captures); if (res) return res; } break; } default:; } break; } case RSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o30)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1701 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o40, o21 }; tree res = generic_simplify_15 (loc, type, op0, captures); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1701 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o30, o21 }; tree res = generic_simplify_15 (loc, type, op0, captures); if (res) return res; } break; } default:; } break; } case LROTATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o30)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o40, o21 }; tree res = generic_simplify_75 (loc, type, op0, captures, LROTATE_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o30, o21 }; tree res = generic_simplify_75 (loc, type, op0, captures, LROTATE_EXPR); if (res) return res; } break; } default:; } break; } case RROTATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o30)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o40, o21 }; tree res = generic_simplify_75 (loc, type, op0, captures, RROTATE_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1714 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o30, o21 }; tree res = generic_simplify_75 (loc, type, op0, captures, RROTATE_EXPR); if (res) return res; } break; } default:; } break; } case LT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, LT_EXPR, GE_EXPR, UNGE_EXPR); if (res) return res; } break; } case LE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, LE_EXPR, GT_EXPR, UNGT_EXPR); if (res) return res; } break; } case EQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, EQ_EXPR, NE_EXPR, NE_EXPR); if (res) return res; } break; } case NE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, NE_EXPR, EQ_EXPR, EQ_EXPR); if (res) return res; } break; } case GE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, GE_EXPR, LT_EXPR, UNLT_EXPR); if (res) return res; } break; } case GT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, GT_EXPR, LE_EXPR, UNLE_EXPR); if (res) return res; } break; } case UNORDERED_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR); if (res) return res; } break; } case ORDERED_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR); if (res) return res; } break; } case UNLT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, UNLT_EXPR, GE_EXPR, GE_EXPR); if (res) return res; } break; } case UNLE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, UNLE_EXPR, GT_EXPR, GT_EXPR); if (res) return res; } break; } case UNGT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, UNGT_EXPR, LE_EXPR, LE_EXPR); if (res) return res; } break; } case UNGE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, UNGE_EXPR, LT_EXPR, LT_EXPR); if (res) return res; } break; } case UNEQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR); if (res) return res; } break; } case LTGT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 2292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_142 (loc, type, op0, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_CONVERT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { { /* #line 1412 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o21 }; tree res = generic_simplify_86 (loc, type, op0, captures, MIN_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { { /* #line 1412 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o21 }; tree res = generic_simplify_86 (loc, type, op0, captures, MAX_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } { /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((0 && useless_type_conversion_p (type, TREE_TYPE (captures[0]))) || (1 && type == TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1731, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inside_type = TREE_TYPE (captures[1]); tree inter_type = TREE_TYPE (captures[0]); int inside_int = INTEGRAL_TYPE_P (inside_type); int inside_ptr = POINTER_TYPE_P (inside_type); int inside_float = FLOAT_TYPE_P (inside_type); int inside_vec = VECTOR_TYPE_P (inside_type); unsigned int inside_prec = TYPE_PRECISION (inside_type); int inside_unsignedp = TYPE_UNSIGNED (inside_type); int inter_int = INTEGRAL_TYPE_P (inter_type); int inter_ptr = POINTER_TYPE_P (inter_type); int inter_float = FLOAT_TYPE_P (inter_type); int inter_vec = VECTOR_TYPE_P (inter_type); unsigned int inter_prec = TYPE_PRECISION (inter_type); int inter_unsignedp = TYPE_UNSIGNED (inter_type); int final_int = INTEGRAL_TYPE_P (type); int final_ptr = POINTER_TYPE_P (type); int final_float = FLOAT_TYPE_P (type); int final_vec = VECTOR_TYPE_P (type); unsigned int final_prec = TYPE_PRECISION (type); int final_unsignedp = TYPE_UNSIGNED (type); /* #line 1805 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((0 && useless_type_conversion_p (type, inside_type)) || (1 && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type))) && (((inter_int || inter_ptr) && final_int) || (inter_float && final_float)) && inter_prec >= final_prec) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1811, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1818 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((inter_int && inside_int) || (inter_float && inside_float)) && (final_int || final_float) && inter_prec >= inside_prec && (inter_float || inter_unsignedp == inside_unsignedp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1822, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1828 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inside_int && inter_int && final_int && ((inside_prec < inter_prec && inter_prec < final_prec && inside_unsignedp && !inter_unsignedp) || final_prec == inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1832, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1845 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! inside_float && ! inter_float && ! final_float && ! inside_vec && ! inter_vec && ! final_vec && (inter_prec >= inside_prec || inter_prec >= final_prec) && ! (inside_int && inter_int && inter_unsignedp != inside_unsignedp && inter_prec < final_prec) && ((inter_unsignedp && inter_prec > inside_prec) == (final_unsignedp && final_prec > inter_prec)) && ! (inside_ptr && inter_prec != final_prec) && ! (final_ptr && inside_prec != inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1855, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && final_int && inter_int && inside_int && final_prec == inside_prec && final_prec > inter_prec && inter_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1864, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = wide_int_to_tree (inside_type, wi::mask (inter_prec, false, TYPE_PRECISION (inside_type))); res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1872 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && inside_int && inter_float && final_int && (unsigned) significand_size (TYPE_MODE (inter_type)) >= inside_prec - !inside_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1876, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } } } } } } break; } case FLOAT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inside_type = TREE_TYPE (captures[1]); tree inter_type = TREE_TYPE (captures[0]); int inside_int = INTEGRAL_TYPE_P (inside_type); int inside_ptr = POINTER_TYPE_P (inside_type); int inside_float = FLOAT_TYPE_P (inside_type); int inside_vec = VECTOR_TYPE_P (inside_type); unsigned int inside_prec = TYPE_PRECISION (inside_type); int inside_unsignedp = TYPE_UNSIGNED (inside_type); int inter_int = INTEGRAL_TYPE_P (inter_type); int inter_ptr = POINTER_TYPE_P (inter_type); int inter_float = FLOAT_TYPE_P (inter_type); int inter_vec = VECTOR_TYPE_P (inter_type); unsigned int inter_prec = TYPE_PRECISION (inter_type); int inter_unsignedp = TYPE_UNSIGNED (inter_type); int final_int = INTEGRAL_TYPE_P (type); int final_ptr = POINTER_TYPE_P (type); int final_float = FLOAT_TYPE_P (type); int final_vec = VECTOR_TYPE_P (type); unsigned int final_prec = TYPE_PRECISION (type); int final_unsignedp = TYPE_UNSIGNED (type); /* #line 1805 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((0 && useless_type_conversion_p (type, inside_type)) || (1 && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type))) && (((inter_int || inter_ptr) && final_int) || (inter_float && final_float)) && inter_prec >= final_prec) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1811, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1818 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((inter_int && inside_int) || (inter_float && inside_float)) && (final_int || final_float) && inter_prec >= inside_prec && (inter_float || inter_unsignedp == inside_unsignedp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1822, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1828 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inside_int && inter_int && final_int && ((inside_prec < inter_prec && inter_prec < final_prec && inside_unsignedp && !inter_unsignedp) || final_prec == inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1832, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1845 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! inside_float && ! inter_float && ! final_float && ! inside_vec && ! inter_vec && ! final_vec && (inter_prec >= inside_prec || inter_prec >= final_prec) && ! (inside_int && inter_int && inter_unsignedp != inside_unsignedp && inter_prec < final_prec) && ((inter_unsignedp && inter_prec > inside_prec) == (final_unsignedp && final_prec > inter_prec)) && ! (inside_ptr && inter_prec != final_prec) && ! (final_ptr && inside_prec != inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1855, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && final_int && inter_int && inside_int && final_prec == inside_prec && final_prec > inter_prec && inter_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1864, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = wide_int_to_tree (inside_type, wi::mask (inter_prec, false, TYPE_PRECISION (inside_type))); res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1872 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && inside_int && inter_float && final_int && (unsigned) significand_size (TYPE_MODE (inter_type)) >= inside_prec - !inside_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1876, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } } } } } } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { { /* #line 1883 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 1883 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0])) && operand_equal_p (captures[1], build_low_bits_mask (TREE_TYPE (captures[1]), TYPE_PRECISION (type)), 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1888, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } break; } default:; } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (o21, 0); { /* #line 3624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o21, o50 }; tree res = generic_simplify_51 (loc, type, op0, captures, PLUS_EXPR); if (res) return res; } break; } default:; } { /* #line 3624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o21, o21 }; tree res = generic_simplify_153 (loc, type, op0, captures, PLUS_EXPR); if (res) return res; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (o21, 0); { /* #line 3624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o21, o50 }; tree res = generic_simplify_51 (loc, type, op0, captures, MINUS_EXPR); if (res) return res; } break; } default:; } { /* #line 3624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o21, o21 }; tree res = generic_simplify_153 (loc, type, op0, captures, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_VIEW_CONVERT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { { /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((0 && useless_type_conversion_p (type, TREE_TYPE (captures[0]))) || (1 && type == TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1731, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } switch (TREE_CODE (op0)) { case VIEW_CONVERT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1736 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1736, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0); return res; } break; } default:; } { /* #line 1742 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 1742 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type)) && (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))) && TYPE_PRECISION (type) == TYPE_PRECISION (TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1745, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1750 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; /* #line 1750 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))) && (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) || POINTER_TYPE_P (TREE_TYPE (captures[1]))) && (TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[1]))) && (TYPE_SIZE (TREE_TYPE (captures[0])) == TYPE_SIZE (TREE_TYPE (captures[1])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1754, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0); return res; } } break; } case CONSTRUCTOR: { { /* #line 1759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 1759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (captures[0]) != SSA_NAME && CONSTRUCTOR_NELTS (captures[0]) == 0) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1761, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } break; } default:; } return NULL_TREE; } static tree generic_simplify_FLOAT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { { /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((0 && useless_type_conversion_p (type, TREE_TYPE (captures[0]))) || (1 && type == TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1731, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inside_type = TREE_TYPE (captures[1]); tree inter_type = TREE_TYPE (captures[0]); int inside_int = INTEGRAL_TYPE_P (inside_type); int inside_ptr = POINTER_TYPE_P (inside_type); int inside_float = FLOAT_TYPE_P (inside_type); int inside_vec = VECTOR_TYPE_P (inside_type); unsigned int inside_prec = TYPE_PRECISION (inside_type); int inside_unsignedp = TYPE_UNSIGNED (inside_type); int inter_int = INTEGRAL_TYPE_P (inter_type); int inter_ptr = POINTER_TYPE_P (inter_type); int inter_float = FLOAT_TYPE_P (inter_type); int inter_vec = VECTOR_TYPE_P (inter_type); unsigned int inter_prec = TYPE_PRECISION (inter_type); int inter_unsignedp = TYPE_UNSIGNED (inter_type); int final_int = INTEGRAL_TYPE_P (type); int final_ptr = POINTER_TYPE_P (type); int final_float = FLOAT_TYPE_P (type); int final_vec = VECTOR_TYPE_P (type); unsigned int final_prec = TYPE_PRECISION (type); int final_unsignedp = TYPE_UNSIGNED (type); /* #line 1805 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((0 && useless_type_conversion_p (type, inside_type)) || (1 && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type))) && (((inter_int || inter_ptr) && final_int) || (inter_float && final_float)) && inter_prec >= final_prec) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1811, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1818 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((inter_int && inside_int) || (inter_float && inside_float)) && (final_int || final_float) && inter_prec >= inside_prec && (inter_float || inter_unsignedp == inside_unsignedp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1822, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1828 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inside_int && inter_int && final_int && ((inside_prec < inter_prec && inter_prec < final_prec && inside_unsignedp && !inter_unsignedp) || final_prec == inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1832, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1845 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! inside_float && ! inter_float && ! final_float && ! inside_vec && ! inter_vec && ! final_vec && (inter_prec >= inside_prec || inter_prec >= final_prec) && ! (inside_int && inter_int && inter_unsignedp != inside_unsignedp && inter_prec < final_prec) && ((inter_unsignedp && inter_prec > inside_prec) == (final_unsignedp && final_prec > inter_prec)) && ! (inside_ptr && inter_prec != final_prec) && ! (final_ptr && inside_prec != inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1855, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && final_int && inter_int && inside_int && final_prec == inside_prec && final_prec > inter_prec && inter_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1864, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = wide_int_to_tree (inside_type, wi::mask (inter_prec, false, TYPE_PRECISION (inside_type))); res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1872 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && inside_int && inter_float && final_int && (unsigned) significand_size (TYPE_MODE (inter_type)) >= inside_prec - !inside_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1876, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } } } } } } break; } case FLOAT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inside_type = TREE_TYPE (captures[1]); tree inter_type = TREE_TYPE (captures[0]); int inside_int = INTEGRAL_TYPE_P (inside_type); int inside_ptr = POINTER_TYPE_P (inside_type); int inside_float = FLOAT_TYPE_P (inside_type); int inside_vec = VECTOR_TYPE_P (inside_type); unsigned int inside_prec = TYPE_PRECISION (inside_type); int inside_unsignedp = TYPE_UNSIGNED (inside_type); int inter_int = INTEGRAL_TYPE_P (inter_type); int inter_ptr = POINTER_TYPE_P (inter_type); int inter_float = FLOAT_TYPE_P (inter_type); int inter_vec = VECTOR_TYPE_P (inter_type); unsigned int inter_prec = TYPE_PRECISION (inter_type); int inter_unsignedp = TYPE_UNSIGNED (inter_type); int final_int = INTEGRAL_TYPE_P (type); int final_ptr = POINTER_TYPE_P (type); int final_float = FLOAT_TYPE_P (type); int final_vec = VECTOR_TYPE_P (type); unsigned int final_prec = TYPE_PRECISION (type); int final_unsignedp = TYPE_UNSIGNED (type); /* #line 1805 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((0 && useless_type_conversion_p (type, inside_type)) || (1 && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type))) && (((inter_int || inter_ptr) && final_int) || (inter_float && final_float)) && inter_prec >= final_prec) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1811, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1818 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((inter_int && inside_int) || (inter_float && inside_float)) && (final_int || final_float) && inter_prec >= inside_prec && (inter_float || inter_unsignedp == inside_unsignedp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1822, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1828 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inside_int && inter_int && final_int && ((inside_prec < inter_prec && inter_prec < final_prec && inside_unsignedp && !inter_unsignedp) || final_prec == inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1832, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1845 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! inside_float && ! inter_float && ! final_float && ! inside_vec && ! inter_vec && ! final_vec && (inter_prec >= inside_prec || inter_prec >= final_prec) && ! (inside_int && inter_int && inter_unsignedp != inside_unsignedp && inter_prec < final_prec) && ((inter_unsignedp && inter_prec > inside_prec) == (final_unsignedp && final_prec > inter_prec)) && ! (inside_ptr && inter_prec != final_prec) && ! (final_ptr && inside_prec != inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1855, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0); return res; } else { /* #line 1859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && final_int && inter_int && inside_int && final_prec == inside_prec && final_prec > inter_prec && inter_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1864, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = wide_int_to_tree (inside_type, wi::mask (inter_prec, false, TYPE_PRECISION (inside_type))); res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1872 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && inside_int && inter_float && final_int && (unsigned) significand_size (TYPE_MODE (inter_type)) >= inside_prec - !inside_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1876, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } } } } } } break; } default:; } return NULL_TREE; } static tree generic_simplify_FIX_TRUNC_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { { /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 1729 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((0 && useless_type_conversion_p (type, TREE_TYPE (captures[0]))) || (1 && type == TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1731, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inside_type = TREE_TYPE (captures[1]); tree inter_type = TREE_TYPE (captures[0]); int inside_int = INTEGRAL_TYPE_P (inside_type); int inside_ptr = POINTER_TYPE_P (inside_type); int inside_float = FLOAT_TYPE_P (inside_type); int inside_vec = VECTOR_TYPE_P (inside_type); unsigned int inside_prec = TYPE_PRECISION (inside_type); int inside_unsignedp = TYPE_UNSIGNED (inside_type); int inter_int = INTEGRAL_TYPE_P (inter_type); int inter_ptr = POINTER_TYPE_P (inter_type); int inter_float = FLOAT_TYPE_P (inter_type); int inter_vec = VECTOR_TYPE_P (inter_type); unsigned int inter_prec = TYPE_PRECISION (inter_type); int inter_unsignedp = TYPE_UNSIGNED (inter_type); int final_int = INTEGRAL_TYPE_P (type); int final_ptr = POINTER_TYPE_P (type); int final_float = FLOAT_TYPE_P (type); int final_vec = VECTOR_TYPE_P (type); unsigned int final_prec = TYPE_PRECISION (type); int final_unsignedp = TYPE_UNSIGNED (type); /* #line 1805 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((0 && useless_type_conversion_p (type, inside_type)) || (1 && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type))) && (((inter_int || inter_ptr) && final_int) || (inter_float && final_float)) && inter_prec >= final_prec) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1811, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1818 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((inter_int && inside_int) || (inter_float && inside_float)) && (final_int || final_float) && inter_prec >= inside_prec && (inter_float || inter_unsignedp == inside_unsignedp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1822, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1828 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inside_int && inter_int && final_int && ((inside_prec < inter_prec && inter_prec < final_prec && inside_unsignedp && !inter_unsignedp) || final_prec == inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1832, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1845 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! inside_float && ! inter_float && ! final_float && ! inside_vec && ! inter_vec && ! final_vec && (inter_prec >= inside_prec || inter_prec >= final_prec) && ! (inside_int && inter_int && inter_unsignedp != inside_unsignedp && inter_prec < final_prec) && ((inter_unsignedp && inter_prec > inside_prec) == (final_unsignedp && final_prec > inter_prec)) && ! (inside_ptr && inter_prec != final_prec) && ! (final_ptr && inside_prec != inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1855, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && final_int && inter_int && inside_int && final_prec == inside_prec && final_prec > inter_prec && inter_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1864, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = wide_int_to_tree (inside_type, wi::mask (inter_prec, false, TYPE_PRECISION (inside_type))); res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1872 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && inside_int && inter_float && final_int && (unsigned) significand_size (TYPE_MODE (inter_type)) >= inside_prec - !inside_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1876, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } } } } } } break; } case FLOAT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; { /* #line 1777 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inside_type = TREE_TYPE (captures[1]); tree inter_type = TREE_TYPE (captures[0]); int inside_int = INTEGRAL_TYPE_P (inside_type); int inside_ptr = POINTER_TYPE_P (inside_type); int inside_float = FLOAT_TYPE_P (inside_type); int inside_vec = VECTOR_TYPE_P (inside_type); unsigned int inside_prec = TYPE_PRECISION (inside_type); int inside_unsignedp = TYPE_UNSIGNED (inside_type); int inter_int = INTEGRAL_TYPE_P (inter_type); int inter_ptr = POINTER_TYPE_P (inter_type); int inter_float = FLOAT_TYPE_P (inter_type); int inter_vec = VECTOR_TYPE_P (inter_type); unsigned int inter_prec = TYPE_PRECISION (inter_type); int inter_unsignedp = TYPE_UNSIGNED (inter_type); int final_int = INTEGRAL_TYPE_P (type); int final_ptr = POINTER_TYPE_P (type); int final_float = FLOAT_TYPE_P (type); int final_vec = VECTOR_TYPE_P (type); unsigned int final_prec = TYPE_PRECISION (type); int final_unsignedp = TYPE_UNSIGNED (type); /* #line 1805 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((0 && useless_type_conversion_p (type, inside_type)) || (1 && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type))) && (((inter_int || inter_ptr) && final_int) || (inter_float && final_float)) && inter_prec >= final_prec) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1811, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1818 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (((inter_int && inside_int) || (inter_float && inside_float)) && (final_int || final_float) && inter_prec >= inside_prec && (inter_float || inter_unsignedp == inside_unsignedp)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1822, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1828 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inside_int && inter_int && final_int && ((inside_prec < inter_prec && inter_prec < final_prec && inside_unsignedp && !inter_unsignedp) || final_prec == inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1832, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1845 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (! inside_float && ! inter_float && ! final_float && ! inside_vec && ! inter_vec && ! final_vec && (inter_prec >= inside_prec || inter_prec >= final_prec) && ! (inside_int && inter_int && inter_unsignedp != inside_unsignedp && inter_prec < final_prec) && ((inter_unsignedp && inter_prec > inside_prec) == (final_unsignedp && final_prec > inter_prec)) && ! (inside_ptr && inter_prec != final_prec) && ! (final_ptr && inside_prec != inter_prec)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1855, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0); return res; } else { /* #line 1859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && final_int && inter_int && inside_int && final_prec == inside_prec && final_prec > inter_prec && inter_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1864, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = wide_int_to_tree (inside_type, wi::mask (inter_prec, false, TYPE_PRECISION (inside_type))); res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } else { /* #line 1872 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (0 && inside_int && inter_float && final_int && (unsigned) significand_size (TYPE_MODE (inter_type)) >= inside_prec - !inside_unsignedp) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1876, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } } } } } } } } break; } default:; } return NULL_TREE; } static tree generic_simplify_PAREN_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { case PAREN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1770 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1770, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } break; } default:; } if (CONSTANT_CLASS_P (op0)) { { /* #line 1767 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1767, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } return NULL_TREE; } static tree generic_simplify_REALPART_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { case COMPLEX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1942 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1942, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case CONJ_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1950 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1950, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case PLUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o30, o31 }; enum tree_code op = PLUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case MINUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o30, o31 }; enum tree_code op = MINUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CALL_EXPR: switch (get_call_combined_fn (o20)) { case CFN_BUILT_IN_CEXPIF: { tree o30 = CALL_EXPR_ARG (o20, 0); { /* #line 1961 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1961, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COSF, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPI: { tree o30 = CALL_EXPR_ARG (o20, 0); { /* #line 1961 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1961, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COS, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPIL: { tree o30 = CALL_EXPR_ARG (o20, 0); { /* #line 1961 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1961, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COSL, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } default:; } break; default:; } break; } case CONJ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1950 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1950, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op0, o20, o21 }; enum tree_code op = PLUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op0, o20, o21 }; enum tree_code op = MINUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_CEXPIF: { tree o20 = CALL_EXPR_ARG (op0, 0); { /* #line 1961 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1961, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COSF, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPI: { tree o20 = CALL_EXPR_ARG (op0, 0); { /* #line 1961 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1961, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COS, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPIL: { tree o20 = CALL_EXPR_ARG (op0, 0); { /* #line 1961 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1961, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COSL, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } default:; } break; default:; } return NULL_TREE; } static tree generic_simplify_IMAGPART_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { case COMPLEX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1945 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1945, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case CONJ_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1953 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1953, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case PLUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o30, o31 }; enum tree_code op = PLUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case MINUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o30, o31 }; enum tree_code op = MINUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CALL_EXPR: switch (get_call_combined_fn (o20)) { case CFN_BUILT_IN_CEXPIF: { tree o30 = CALL_EXPR_ARG (o20, 0); { /* #line 1964 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1964, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINF, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPI: { tree o30 = CALL_EXPR_ARG (o20, 0); { /* #line 1964 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1964, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SIN, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPIL: { tree o30 = CALL_EXPR_ARG (o20, 0); { /* #line 1964 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o30 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1964, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINL, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } default:; } break; default:; } break; } case CONJ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1953 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1953, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op0, o20, o21 }; enum tree_code op = PLUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1958 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op0, o20, o21 }; enum tree_code op = MINUS_EXPR; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1958, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[0] = res; } { tree ops2[1], res; ops2[0] = captures[3]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops2[0])), ops2[0]); ops1[1] = res; } res = fold_build2_loc (loc, op, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_CEXPIF: { tree o20 = CALL_EXPR_ARG (op0, 0); { /* #line 1964 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1964, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINF, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPI: { tree o20 = CALL_EXPR_ARG (op0, 0); { /* #line 1964 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1964, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SIN, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } case CFN_BUILT_IN_CEXPIL: { tree o20 = CALL_EXPR_ARG (op0, 0); { /* #line 1964 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1964, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINL, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op0 = res; } tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); return res; } break; } default:; } break; default:; } return NULL_TREE; } static tree generic_simplify_CONJ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0) { switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case CONJ_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1969 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_78 (loc, type, op0, captures); if (res) return res; } break; } case COMPLEX_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); { /* #line 1975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o30, o31 }; { /* #line 1975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree itype = TREE_TYPE (type); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1976, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != itype) res = fold_build1_loc (loc, NOP_EXPR, itype, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[3]; if (TREE_TYPE (ops2[0]) != itype) res = fold_build1_loc (loc, NOP_EXPR, itype, ops2[0]); else res = ops2[0]; ops1[0] = res; } res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, COMPLEX_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CONJ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1969 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_78 (loc, type, op0, captures); if (res) return res; } break; } case COMPLEX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op0, o20, o21 }; { /* #line 1975 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree itype = TREE_TYPE (type); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1976, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != itype) res = fold_build1_loc (loc, NOP_EXPR, itype, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[3]; if (TREE_TYPE (ops2[0]) != itype) res = fold_build1_loc (loc, NOP_EXPR, itype, ops2[0]); else res = ops2[0]; ops1[0] = res; } res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, COMPLEX_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } return NULL_TREE; } tree generic_simplify (location_t loc, enum tree_code code, tree type ATTRIBUTE_UNUSED, tree op0) { switch (code) { case ABS_EXPR: return generic_simplify_ABS_EXPR (loc, code, type, op0); case NEGATE_EXPR: return generic_simplify_NEGATE_EXPR (loc, code, type, op0); case BIT_NOT_EXPR: return generic_simplify_BIT_NOT_EXPR (loc, code, type, op0); CASE_CONVERT: return generic_simplify_CONVERT_EXPR (loc, code, type, op0); case VIEW_CONVERT_EXPR: return generic_simplify_VIEW_CONVERT_EXPR (loc, code, type, op0); case FLOAT_EXPR: return generic_simplify_FLOAT_EXPR (loc, code, type, op0); case FIX_TRUNC_EXPR: return generic_simplify_FIX_TRUNC_EXPR (loc, code, type, op0); case PAREN_EXPR: return generic_simplify_PAREN_EXPR (loc, code, type, op0); case REALPART_EXPR: return generic_simplify_REALPART_EXPR (loc, code, type, op0); case IMAGPART_EXPR: return generic_simplify_IMAGPART_EXPR (loc, code, type, op0); case CONJ_EXPR: return generic_simplify_CONJ_EXPR (loc, code, type, op0); default:; } return NULL_TREE; } static tree generic_simplify_PLUS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op1)) { { /* #line 84 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:84, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } if (real_zerop (op1)) { { /* #line 95 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_161 (loc, type, op0, op1, captures); if (res) return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o30 || (operand_equal_p (o50, o30, 0) && types_match (o50, o30))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } } break; } default:; } break; } default:; } break; } default:; } if (real_zerop (op0)) { { /* #line 95 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op1, op0 }; tree res = generic_simplify_161 (loc, type, op0, op1, captures); if (res) return res; } } switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { if (integer_onep (o31)) { { /* #line 659 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o31 }; tree res = generic_simplify_68 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } switch (TREE_CODE (op0)) { case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_onep (o21)) { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 659 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; tree res = generic_simplify_68 (loc, type, op0, op1, captures); if (res) return res; } } } switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 692 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_83 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } } } break; } case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 697 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_157 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (o50, 0); tree o61 = TREE_OPERAND (o50, 1); switch (TREE_CODE (o61)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o21, o50, o60, o61 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o51)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50, o51 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 692 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_83 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } } } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 697 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_157 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_AND_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); switch (TREE_CODE (o71)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { o20, o30, o31, o60, o70, o71 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o61)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { o20, o30, o31, op1, o60, o61 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o40 }; tree res = generic_simplify_46 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (o20, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op1, o30 }; tree res = generic_simplify_46 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_46 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op1, o20 }; tree res = generic_simplify_46 (loc, type, op0, op1, captures); if (res) return res; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_221 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case MINUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op0 }; tree res = generic_simplify_221 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_113 (loc, type, op0, op1, captures, PLUS_EXPR, PLUS_EXPR); if (res) return res; } } } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_113 (loc, type, op0, op1, captures, MINUS_EXPR, PLUS_EXPR); if (res) return res; } } } if (CONSTANT_CLASS_P (o20)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_187 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } } } break; } case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_11 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_11 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); if (integer_each_onep (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_160 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (integer_each_onep (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_160 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 1901 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 1901 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))) { { /* #line 1902 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_unop (NEGATE_EXPR, type, captures[1]); /* #line 1903 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TREE_OVERFLOW (tem) || !flag_trapping_math) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1904, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); return res; } } } } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 1909 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 1909 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (SCALAR_FLOAT_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1910, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_real (type, dconst2); tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } else { /* #line 1911 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1912, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = build_int_cst (type, 2); tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } } } switch (TREE_CODE (op1)) { case VIEW_CONVERT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case VEC_COND_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); tree o42 = TREE_OPERAND (o30, 2); if (integer_each_onep (o41)) { if (integer_zerop (o42)) { { /* #line 2243 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o30, o40, o41, o42 }; tree res = generic_simplify_37 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case VIEW_CONVERT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case VEC_COND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); tree o32 = TREE_OPERAND (o20, 2); if (integer_each_onep (o31)) { if (integer_zerop (o32)) { { /* #line 2243 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op1, o20, o30, o31, o32 }; tree res = generic_simplify_37 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case VEC_COND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); tree o32 = TREE_OPERAND (op1, 2); if (integer_each_onep (o31)) { if (integer_zerop (o32)) { { /* #line 2243 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o31, o32 }; tree res = generic_simplify_37 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } switch (TREE_CODE (op0)) { case VEC_COND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); tree o22 = TREE_OPERAND (op0, 2); if (integer_each_onep (o21)) { if (integer_zerop (o22)) { { /* #line 2243 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op1, op0, o20, o21, o22 }; tree res = generic_simplify_37 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } return NULL_TREE; } static tree generic_simplify_POINTER_PLUS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op1)) { { /* #line 84 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:84, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } switch (TREE_CODE (op0)) { case POINTER_PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 1085 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1085, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, POINTER_PLUS_EXPR, type, res_op0, res_op1); return res; } break; } default:; } if (integer_zerop (op0)) { { /* #line 89 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op1 }; if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:89, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res; res = non_lvalue_loc (loc, res_op0); return res; } } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case MINUS_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); switch (TREE_CODE (o40)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (o40, 0); switch (TREE_CODE (o41)) { CASE_CONVERT: { tree o70 = TREE_OPERAND (o41, 0); if (o70 == op0 || (operand_equal_p (o70, op0, 0) && types_match (o70, op0))) { { /* #line 1098 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o50 }; /* #line 1098 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (TREE_TYPE (captures[2])) && ((0 && useless_type_conversion_p (type, TREE_TYPE (captures[3]))) || (1 && type == TREE_TYPE (captures[3])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1101, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[3]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } break; } default:; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o30)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (o30, 0); switch (TREE_CODE (o31)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (o31, 0); if (o60 == op0 || (operand_equal_p (o60, op0, 0) && types_match (o60, op0))) { { /* #line 1098 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, op1, o40 }; /* #line 1098 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (TREE_TYPE (captures[2])) && ((0 && useless_type_conversion_p (type, TREE_TYPE (captures[3]))) || (1 && type == TREE_TYPE (captures[3])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1101, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[3]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } break; } default:; } break; } default:; } break; } case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_AND_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); switch (TREE_CODE (o40)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (o40, 0); if (o50 == op0 || (operand_equal_p (o50, op0, 0) && types_match (o50, op0))) { switch (TREE_CODE (o41)) { case INTEGER_CST: { { /* #line 1112 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o41 }; { /* #line 1112 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree algn = wide_int_to_tree (TREE_TYPE (captures[0]), wi::bit_not (captures[1])); if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1113, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = algn; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_MINUS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op1)) { { /* #line 84 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:84, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } if (real_zerop (op1)) { { /* #line 101 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 101 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (fold_real_zero_addition_p (type, captures[1], 1)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:102, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 111 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 111 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!FLOAT_TYPE_P (type) || !HONOR_NANS (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:112, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case MULT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); switch (TREE_CODE (o50)) { case TRUNC_DIV_EXPR: { tree o60 = TREE_OPERAND (o50, 0); tree o61 = TREE_OPERAND (o50, 1); if (o60 == o20 || operand_equal_p (o60, o20, 0)) { if (o51 == o61 || operand_equal_p (o51, o61, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o60, o61, o20, o61 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } switch (TREE_CODE (o51)) { case TRUNC_DIV_EXPR: { tree o70 = TREE_OPERAND (o51, 0); tree o71 = TREE_OPERAND (o51, 1); if (o70 == o20 || operand_equal_p (o70, o20, 0)) { if (o71 == o50 || operand_equal_p (o71, o50, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o70, o71, o20, o50 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } break; } case MULT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o40)) { case TRUNC_DIV_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { if (o41 == o51 || operand_equal_p (o41, o51, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o50, o51, o20, o51 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } switch (TREE_CODE (o41)) { case TRUNC_DIV_EXPR: { tree o60 = TREE_OPERAND (o41, 0); tree o61 = TREE_OPERAND (o41, 1); if (o60 == o20 || operand_equal_p (o60, o20, 0)) { if (o61 == o40 || operand_equal_p (o61, o40, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o60, o61, o20, o40 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case MULT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); switch (TREE_CODE (o40)) { case TRUNC_DIV_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o50 == op0 || operand_equal_p (o50, op0, 0)) { if (o41 == o51 || operand_equal_p (o41, o51, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o50, o51, op0, o51 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } switch (TREE_CODE (o41)) { case TRUNC_DIV_EXPR: { tree o60 = TREE_OPERAND (o41, 0); tree o61 = TREE_OPERAND (o41, 1); if (o60 == op0 || operand_equal_p (o60, op0, 0)) { if (o61 == o40 || operand_equal_p (o61, o40, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o60, o61, op0, o40 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } break; } case MULT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o30)) { case TRUNC_DIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o40 == op0 || operand_equal_p (o40, op0, 0)) { if (o31 == o41 || operand_equal_p (o31, o41, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o40, o41, op0, o41 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } switch (TREE_CODE (o31)) { case TRUNC_DIV_EXPR: { tree o50 = TREE_OPERAND (o31, 0); tree o51 = TREE_OPERAND (o31, 1); if (o50 == op0 || operand_equal_p (o50, op0, 0)) { if (o51 == o30 || operand_equal_p (o51, o30, 0)) { { /* #line 358 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o50, o51, op0, o30 }; tree res = generic_simplify_44 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { if (o61 == o40 || (operand_equal_p (o61, o40, 0) && types_match (o61, o40))) { { /* #line 557 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o40, op1 }; tree res = generic_simplify_48 (loc, type, op0, op1, captures); if (res) return res; } } } if (o60 == o40 || (operand_equal_p (o60, o40, 0) && types_match (o60, o40))) { if (o61 == o20 || (operand_equal_p (o61, o20, 0) && types_match (o61, o20))) { { /* #line 557 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o40, op1 }; tree res = generic_simplify_48 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 557 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o30, op1 }; tree res = generic_simplify_48 (loc, type, op0, op1, captures); if (res) return res; } } } if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 557 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o30, op1 }; tree res = generic_simplify_48 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { { /* #line 560 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; /* #line 560 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::bit_not (captures[2]) == captures[4]) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:561, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[4])) return NULL_TREE; tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = unshare_expr (captures[4]); res = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[4]; tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case BIT_NOT_EXPR: { tree o70 = TREE_OPERAND (o51, 0); if (o70 == o21 || (operand_equal_p (o70, o21, 0) && types_match (o70, o21))) { { /* #line 566 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_52 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } switch (TREE_CODE (o50)) { case BIT_NOT_EXPR: { tree o60 = TREE_OPERAND (o50, 0); if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 566 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_52 (loc, type, op0, op1, captures); if (res) return res; } } } if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 566 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o20, op1 }; tree res = generic_simplify_52 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { switch (TREE_CODE (o51)) { case BIT_NOT_EXPR: { tree o70 = TREE_OPERAND (o51, 0); if (o70 == o20 || (operand_equal_p (o70, o20, 0) && types_match (o70, o20))) { { /* #line 566 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o20, op1 }; tree res = generic_simplify_52 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } break; } default:; } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 702 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 702 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type) && !TYPE_SATURATING (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:704, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } break; } case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 709 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 709 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type) && !TYPE_SATURATING (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:711, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1); return res; } } } } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 716 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:716, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } break; } case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 721 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:721, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1); return res; } } } break; } default:; } break; } default:; } if (tree_negate_expr_p (op1)) { { /* #line 873 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 873 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!FIXED_POINT_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:874, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1); return res; } } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o50, op1, o40, o51, o20 }; tree res = generic_simplify_3 (loc, type, op0, op1, captures); if (res) return res; } } if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o51, op1, o40, o50, o20 }; tree res = generic_simplify_3 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } case BIT_AND_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); if (o40 == o20 || operand_equal_p (o40, o20, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o40, op1, op1, o41, o20 }; tree res = generic_simplify_34 (loc, type, op0, op1, captures); if (res) return res; } } if (o41 == o20 || operand_equal_p (o41, o20, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o41, op1, op1, o40, o20 }; tree res = generic_simplify_34 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_AND_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o40 == op0 || operand_equal_p (o40, op0, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o40, op1, o30, o41, op0 }; tree res = generic_simplify_3 (loc, type, op0, op1, captures); if (res) return res; } } if (o41 == op0 || operand_equal_p (o41, op0, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o41, op1, o30, o40, op0 }; tree res = generic_simplify_3 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || operand_equal_p (o30, op0, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o30, op1, op1, o31, op0 }; tree res = generic_simplify_34 (loc, type, op0, op1, captures); if (res) return res; } } if (o31 == op0 || operand_equal_p (o31, op0, 0)) { { /* #line 1009 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { o31, op1, op1, o30, op0 }; tree res = generic_simplify_34 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 1118 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; /* #line 1118 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { { /* #line 1119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ HOST_WIDE_INT diff; /* #line 1120 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ptr_difference_const (captures[0], captures[1], &diff)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1121, %s:%d\n", __FILE__, __LINE__); tree res; res = build_int_cst_type (type, diff); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ADDR_EXPR: { { /* #line 1124 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; /* #line 1124 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))) { { /* #line 1125 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ HOST_WIDE_INT diff; /* #line 1126 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (ptr_difference_const (captures[0], captures[1], &diff)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1127, %s:%d\n", __FILE__, __LINE__); tree res; res = build_int_cst_type (type, diff); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o40 }; tree res = generic_simplify_197 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_197 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_151 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_151 (loc, type, op0, op1, captures); if (res) return res; } } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1200, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } } break; } default:; } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_67 (loc, type, op0, op1, captures); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_67 (loc, type, op0, op1, captures); if (res) return res; } } break; } case MINUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1209, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_113 (loc, type, op0, op1, captures, PLUS_EXPR, MINUS_EXPR); if (res) return res; } } } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_113 (loc, type, op0, op1, captures, MINUS_EXPR, MINUS_EXPR); if (res) return res; } } } if (CONSTANT_CLASS_P (o20)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_187 (loc, type, op0, op1, captures, MINUS_EXPR); if (res) return res; } } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (o20, 0); if (integer_each_onep (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_107 (loc, type, op0, op1, captures); if (res) return res; } } break; } case PLUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || operand_equal_p (o60, o30, 0)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o30 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[1])) || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && TREE_CODE (captures[1]) == INTEGER_CST && tree_int_cst_sign_bit (captures[1]) == 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1285, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } } break; } default:; } break; } case POINTER_PLUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || operand_equal_p (o60, o30, 0)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o30 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[1])) || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && TREE_CODE (captures[1]) == INTEGER_CST && tree_int_cst_sign_bit (captures[1]) == 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1285, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case PLUS_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o50, o51, o20 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[1])) || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && TREE_CODE (captures[1]) == INTEGER_CST && tree_int_cst_sign_bit (captures[1]) == 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1309, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } } break; } case POINTER_PLUS_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o50, o51, o20 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[1])) || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && TREE_CODE (captures[1]) == INTEGER_CST && tree_int_cst_sign_bit (captures[1]) == 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1309, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case PLUS_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || operand_equal_p (o70, o30, 0)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o71, o30 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1316 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[1])) || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && TREE_CODE (captures[1]) == INTEGER_CST && tree_int_cst_sign_bit (captures[1]) == 0 && TREE_CODE (captures[2]) == INTEGER_CST && tree_int_cst_sign_bit (captures[2]) == 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1335, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[3])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), res); return res; } } } } } break; } default:; } break; } default:; } break; } case POINTER_PLUS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case POINTER_PLUS_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || operand_equal_p (o70, o30, 0)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o71, o30 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { /* #line 1316 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (element_precision (type) <= element_precision (TREE_TYPE (captures[1])) || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) || (POINTER_TYPE_P (TREE_TYPE (captures[0])) && TREE_CODE (captures[1]) == INTEGER_CST && tree_int_cst_sign_bit (captures[1]) == 0 && TREE_CODE (captures[2]) == INTEGER_CST && tree_int_cst_sign_bit (captures[2]) == 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1335, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[1]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; { tree ops1[1], res; ops1[0] = captures[2]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op1 = res; } tree res; res = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1); if (TREE_SIDE_EFFECTS (captures[3])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), res); return res; } } } } } break; } default:; } break; } default:; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (integer_each_onep (op1)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_107 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (CONSTANT_CLASS_P (op0)) { switch (TREE_CODE (op1)) { case MINUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (CONSTANT_CLASS_P (o30)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o31 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { { /* #line 1235 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree cst = const_binop (MINUS_EXPR, type, captures[0], captures[1]); /* #line 1236 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (cst && !TREE_OVERFLOW (cst)) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1237, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = cst; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1); return res; } } } } } } break; } default:; } } if (integer_all_onesp (op0)) { { /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op1 }; /* #line 1147 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_SATURATING (type)) { /* #line 1186 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((!FLOAT_TYPE_P (type) || flag_associative_math) && !FIXED_POINT_TYPE_P (type)) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1261, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0); return res; } } } } if (integer_zerop (op0)) { { /* #line 1916 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op1 }; if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1916, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } } if (real_zerop (op0)) { { /* #line 1923 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 1923 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (fold_real_zero_addition_p (type, captures[0], 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1924, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } switch (TREE_CODE (op1)) { case VIEW_CONVERT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case VEC_COND_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); tree o42 = TREE_OPERAND (o30, 2); if (integer_each_onep (o41)) { if (integer_zerop (o42)) { { /* #line 2252 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o30, o40, o41, o42 }; tree res = generic_simplify_74 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } case VEC_COND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); tree o32 = TREE_OPERAND (op1, 2); if (integer_each_onep (o31)) { if (integer_zerop (o32)) { { /* #line 2252 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o31, o32 }; tree res = generic_simplify_74 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } return NULL_TREE; } static tree generic_simplify_BIT_IOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op1)) { { /* #line 84 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:84, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } switch (TREE_CODE (op0)) { case NE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_zerop (o21)) { switch (TREE_CODE (op1)) { case NE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (integer_zerop (o51)) { { /* #line 549 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_40 (loc, type, op0, op1, captures, BIT_IOR_EXPR, NE_EXPR); if (res) return res; } } break; } default:; } } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o60)) { case BIT_NOT_EXPR: { tree o70 = TREE_OPERAND (o60, 0); if (o70 == o20 || (operand_equal_p (o70, o20, 0) && types_match (o70, o20))) { if (o61 == o40 || (operand_equal_p (o61, o40, 0) && types_match (o61, o40))) { { /* #line 571 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_53 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } if (o60 == o40 || (operand_equal_p (o60, o40, 0) && types_match (o60, o40))) { switch (TREE_CODE (o61)) { case BIT_NOT_EXPR: { tree o80 = TREE_OPERAND (o61, 0); if (o80 == o20 || (operand_equal_p (o80, o20, 0) && types_match (o80, o20))) { { /* #line 571 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_53 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o60)) { case BIT_NOT_EXPR: { tree o70 = TREE_OPERAND (o60, 0); if (o70 == o21 || (operand_equal_p (o70, o21, 0) && types_match (o70, o21))) { if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 571 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o30 }; tree res = generic_simplify_53 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case BIT_NOT_EXPR: { tree o80 = TREE_OPERAND (o61, 0); if (o80 == o21 || (operand_equal_p (o80, o21, 0) && types_match (o80, o21))) { { /* #line 571 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o30 }; tree res = generic_simplify_53 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o50)) { case BIT_NOT_EXPR: { tree o60 = TREE_OPERAND (o50, 0); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { { /* #line 574 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_175 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { { /* #line 574 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o61, o21 }; tree res = generic_simplify_175 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 580 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_54 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 580 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_54 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 580 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_54 (loc, type, op0, op1, captures); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 580 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_54 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (integer_all_onesp (op1)) { { /* #line 606 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:606, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } if (integer_zerop (op1)) { { /* #line 611 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:611, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o30 || (operand_equal_p (o50, o30, 0) && types_match (o50, o30))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 645 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_65 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_IOR_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o41 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o41 == op0 || (operand_equal_p (o41, op0, 0) && types_match (o41, op0))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o40 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o20, o31 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (op1 == o31 || (operand_equal_p (op1, o31, 0) && types_match (op1, o31))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o20, o30 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o41, op0 }; tree res = generic_simplify_71 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o41 == o20 || (operand_equal_p (o41, o20, 0) && types_match (o41, o20))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o40, op0 }; tree res = generic_simplify_71 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o50 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_72 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, op1 }; tree res = generic_simplify_72 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 692 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_83 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } } break; } case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, o20 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o50, o20 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o21, o20, o51, o21 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o51 == o21 || operand_equal_p (o51, o21, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o21, o20, o50, o21 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 692 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_83 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_NOT_EXPR: { tree o60 = TREE_OPERAND (o50, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o60 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o50 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_AND_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || operand_equal_p (o70, o30, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o71, o30 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o71 == o30 || operand_equal_p (o71, o30, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o70, o30 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o70 == o31 || operand_equal_p (o70, o31, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o31, o30, o71, o31 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o71 == o31 || operand_equal_p (o71, o31, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o31, o30, o70, o31 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o31 || operand_equal_p (o60, o31, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, o31 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o60 == o30 || operand_equal_p (o60, o30, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o31, o30, o30 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o50, o51, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o51, o50, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (op1 == o31 || operand_equal_p (op1, o31, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, o31 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (op1 == o30 || operand_equal_p (op1, o30, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o31, o30, o30 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_IOR_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o41 == op0 || operand_equal_p (o41, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o40, o41, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o40 == op0 || operand_equal_p (o40, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o41, o40, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, o21 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o20, o20 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } if (op1 == o21 || operand_equal_p (op1, o21, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, o21 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (op1 == o20 || operand_equal_p (op1, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o20, o20 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); if (o41 == o20 || operand_equal_p (o41, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o40, o41, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o40 == o20 || operand_equal_p (o40, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o41, o40, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || operand_equal_p (o31, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o30, o31, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o30 == op0 || operand_equal_p (o30, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o31, o30, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_IOR_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || (operand_equal_p (o70, o30, 0) && types_match (o70, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, o60, o71 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o71 == o30 || (operand_equal_p (o71, o30, 0) && types_match (o71, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, o60, o70 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o70 == o31 || (operand_equal_p (o70, o31, 0) && types_match (o70, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, o60, o71 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o71 == o31 || (operand_equal_p (o71, o31, 0) && types_match (o71, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, o60, o70 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o70 == o30 || (operand_equal_p (o70, o30, 0) && types_match (o70, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o30, o71, op0, o20, o31 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o70 == o31 || (operand_equal_p (o70, o31, 0) && types_match (o70, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o31, o71, op0, o20, o30 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o71 == o30 || (operand_equal_p (o71, o30, 0) && types_match (o71, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o30, o70, op0, o20, o31 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o71 == o31 || (operand_equal_p (o71, o31, 0) && types_match (o71, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o31, o70, op0, o20, o30 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_IOR_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, op1, o61 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, op1, o60 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o60 == o31 || (operand_equal_p (o60, o31, 0) && types_match (o60, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, op1, o61 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o31 || (operand_equal_p (o61, o31, 0) && types_match (o61, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, op1, o60 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o30, o61, op0, o20, o31 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o60 == o31 || (operand_equal_p (o60, o31, 0) && types_match (o60, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o31, o61, op0, o20, o30 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o30, o60, op0, o20, o31 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o31 || (operand_equal_p (o61, o31, 0) && types_match (o61, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o31, o60, op0, o20, o30 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 885 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_62 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } break; } default:; } { /* #line 885 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_62 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_IOR_EXPR: { tree o60 = TREE_OPERAND (o50, 0); tree o61 = TREE_OPERAND (o50, 1); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o20, o61, op0, op0, o21 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o21, o61, op0, op0, o20 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o20 || (operand_equal_p (o61, o20, 0) && types_match (o61, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o20, o60, op0, op0, o21 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o21, o60, op0, op0, o20 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, o50, o61 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o20 || (operand_equal_p (o61, o20, 0) && types_match (o61, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, o50, o60 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, o50, o61 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, o50, o60 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, op1, o51 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, op1, o50 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, op1, o51 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, op1, o50 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o20, o51, op0, op0, o21 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o21, o51, op0, op0, o20 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o20, o50, op0, op0, o21 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o21, o50, op0, op0, o20 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o21 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); if (op1 == o40 || (operand_equal_p (op1, o40, 0) && types_match (op1, o40))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, o20 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o30)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (o31)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o31, 0); if (o50 == op0 || (operand_equal_p (o50, op0, 0) && types_match (o50, op0))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 928 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_127 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o61 == o40 || (operand_equal_p (o61, o40, 0) && types_match (o61, o40))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o40, op1, o60 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } if (o60 == o40 || (operand_equal_p (o60, o40, 0) && types_match (o60, o40))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o40, op1, o61 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o30, op1, o60 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o30, op1, o61 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o51)) { case BIT_NOT_EXPR: { tree o70 = TREE_OPERAND (o51, 0); if (o70 == o21 || (operand_equal_p (o70, o21, 0) && types_match (o70, o21))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op1, o50, o21, op0, o20 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } if (o70 == o20 || (operand_equal_p (o70, o20, 0) && types_match (o70, o20))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op1, o50, o20, op0, o21 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (o50)) { case BIT_NOT_EXPR: { tree o60 = TREE_OPERAND (o50, 0); if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op1, o51, o21, op0, o20 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { { /* #line 1004 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op1, o51, o20, op0, o21 }; tree res = generic_simplify_143 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1054 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_194 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case UNORDERED_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (o21 == o20 || (operand_equal_p (o21, o20, 0) && types_match (o21, o20))) { switch (TREE_CODE (op1)) { case UNORDERED_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o50 || (operand_equal_p (o51, o50, 0) && types_match (o51, o50))) { { /* #line 2624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o50 }; /* #line 2624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (types_match (captures[0], captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2625, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, UNORDERED_EXPR, type, res_op0, res_op1); return res; } } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 2632 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op1, o51 }; tree res = generic_simplify_226 (loc, type, op0, op1, captures); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 2632 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op1, o50 }; tree res = generic_simplify_226 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } switch (TREE_CODE (op1)) { case UNORDERED_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 2632 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; tree res = generic_simplify_210 (loc, type, op0, op1, captures); if (res) return res; } } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2632 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, op0, o20 }; tree res = generic_simplify_210 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } case LT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case GE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LT_EXPR, GE_EXPR); if (res) return res; } } } break; } default:; } break; } case LE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case GT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LE_EXPR, GT_EXPR); if (res) return res; } } } break; } case GE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LE_EXPR, GE_EXPR); if (res) return res; } } } break; } case NE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LE_EXPR, NE_EXPR); if (res) return res; } } } break; } default:; } break; } case NE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case EQ_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, NE_EXPR, EQ_EXPR); if (res) return res; } } } break; } case LE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LE_EXPR, NE_EXPR); if (res) return res; } } } break; } case GE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, GE_EXPR, NE_EXPR); if (res) return res; } } } break; } default:; } break; } case GE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case NE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, GE_EXPR, NE_EXPR); if (res) return res; } } } break; } case LT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LT_EXPR, GE_EXPR); if (res) return res; } } } break; } case LE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LE_EXPR, GE_EXPR); if (res) return res; } } } break; } default:; } break; } case GT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case LE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, LE_EXPR, GT_EXPR); if (res) return res; } } } break; } default:; } break; } case EQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case NE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2643 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_149 (loc, type, op0, op1, captures, NE_EXPR, EQ_EXPR); if (res) return res; } } } break; } default:; } break; } default:; } tree op0_pops[1]; if (tree_logical_inverted_value (op0, op0_pops)) { tree o20 = op0_pops[0]; if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { if (tree_truth_valued_p (op1)) { { /* #line 960 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_217 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } } } if (tree_truth_valued_p (op0)) { tree op1_pops[1]; if (tree_logical_inverted_value (op1, op1_pops)) { tree o30 = op1_pops[0]; if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 960 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_217 (loc, type, op0, op1, captures, BIT_IOR_EXPR); if (res) return res; } } } } return NULL_TREE; } static tree generic_simplify_BIT_XOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op1)) { { /* #line 84 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:84, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o30 || (operand_equal_p (o50, o30, 0) && types_match (o50, o30))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 624 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_117 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 629 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:629, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } if (integer_all_onesp (op1)) { { /* #line 634 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:634, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } switch (TREE_CODE (op0)) { case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 679 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_73 (loc, type, op0, op1, captures); if (res) return res; } } } break; } case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 692 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_83 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (o50, 0); tree o61 = TREE_OPERAND (o50, 1); switch (TREE_CODE (o61)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o21, o50, o60, o61 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o51)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50, o51 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 679 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_73 (loc, type, op0, op1, captures); if (res) return res; } } } break; } case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 684 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_152 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 684 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_152 (loc, type, op0, op1, captures); if (res) return res; } } } break; } case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 692 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_83 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_AND_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); switch (TREE_CODE (o71)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { o20, o30, o31, o60, o70, o71 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o61)) { case INTEGER_CST: { { /* #line 751 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { o20, o30, o31, op1, o60, o61 }; tree res = generic_simplify_190 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || operand_equal_p (o60, o30, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o30 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (o60 == o31 || operand_equal_p (o60, o31, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o31 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o50, o51, o20 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o51, o50, o20 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (op1 == o30 || operand_equal_p (op1, o30, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o30 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o31 || operand_equal_p (op1, o31, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o31 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_IOR_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o40 == op0 || operand_equal_p (o40, op0, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o40, o41, op0 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (o41 == op0 || operand_equal_p (o41, op0, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o41, o40, op0 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o20 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o21 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (op1 == o20 || operand_equal_p (op1, o20, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o20 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o21 || operand_equal_p (op1, o21, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o21 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); if (o40 == o20 || operand_equal_p (o40, o20, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o40, o41, o20 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (o41 == o20 || operand_equal_p (o41, o20, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o41, o40, o20 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || operand_equal_p (o30, op0, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op0 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } if (o31 == op0 || operand_equal_p (o31, op0, 0)) { { /* #line 759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, op0 }; tree res = generic_simplify_88 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_NOT_EXPR: { tree o60 = TREE_OPERAND (o50, 0); { /* #line 765 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o60 }; tree res = generic_simplify_173 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); { /* #line 765 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o50 }; tree res = generic_simplify_173 (loc, type, op0, op1, captures); if (res) return res; } break; } case INTEGER_CST: { { /* #line 772 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op1 }; tree res = generic_simplify_39 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); { /* #line 765 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o50 }; tree res = generic_simplify_173 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 765 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_173 (loc, type, op0, op1, captures); if (res) return res; } break; } case INTEGER_CST: { { /* #line 772 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_39 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op0 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o31, op0 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_AND_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || operand_equal_p (o70, o30, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o71, o30 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o71 == o30 || operand_equal_p (o71, o30, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o70, o30 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o70 == o31 || operand_equal_p (o70, o31, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o31, o30, o71, o31 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o71 == o31 || operand_equal_p (o71, o31, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o31, o30, o70, o31 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o31 || operand_equal_p (o60, o31, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o31 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (o60 == o30 || operand_equal_p (o60, o30, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o30 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o50, o51, o20 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o51, o50, o20 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (op1 == o31 || operand_equal_p (op1, o31, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o31 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o30 || operand_equal_p (op1, o30, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o30 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, o20 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o50, o20 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o21, o20, o51, o21 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } if (o51 == o21 || operand_equal_p (o51, o21, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o21, o20, o50, o21 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_XOR_EXPR, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_XOR_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o41 == op0 || operand_equal_p (o41, op0, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o40, o41, op0 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (o40 == op0 || operand_equal_p (o40, op0, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o41, o40, op0 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o21 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o20 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (op1 == o21 || operand_equal_p (op1, o21, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o21 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o20 || operand_equal_p (op1, o20, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o20 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); if (o41 == o20 || operand_equal_p (o41, o20, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o40, o41, o20 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (o40 == o20 || operand_equal_p (o40, o20, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o41, o40, o20 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || operand_equal_p (o31, op0, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op0 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } if (o30 == op0 || operand_equal_p (o30, op0, 0)) { { /* #line 806 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, op0 }; tree res = generic_simplify_191 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_XOR_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || (operand_equal_p (o70, o30, 0) && types_match (o70, o30))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o71 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o71 == o30 || (operand_equal_p (o71, o30, 0) && types_match (o71, o30))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o70 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o70 == o31 || (operand_equal_p (o70, o31, 0) && types_match (o70, o31))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o71 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o71 == o31 || (operand_equal_p (o71, o31, 0) && types_match (o71, o31))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o70 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o61 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o60 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o60 == o31 || (operand_equal_p (o60, o31, 0) && types_match (o60, o31))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o61 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o61 == o31 || (operand_equal_p (o61, o31, 0) && types_match (o61, o31))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o30, o60 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 885 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_62 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } break; } default:; } { /* #line 885 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_62 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_XOR_EXPR: { tree o60 = TREE_OPERAND (o50, 0); tree o61 = TREE_OPERAND (o50, 1); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o61 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o61 == o20 || (operand_equal_p (o61, o20, 0) && types_match (o61, o20))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o60 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o61 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o60 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o51 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o50 }; tree res = generic_simplify_59 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 928 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_127 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1054 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_194 (loc, type, op0, op1, captures, BIT_IOR_EXPR, BIT_XOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case LT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR); if (res) return res; } } break; } case LE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR); if (res) return res; } } break; } case EQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, EQ_EXPR, NE_EXPR, NE_EXPR); if (res) return res; } } break; } case NE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR); if (res) return res; } } break; } case GE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR); if (res) return res; } } break; } case GT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR); if (res) return res; } } break; } case UNORDERED_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR); if (res) return res; } } break; } case ORDERED_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR); if (res) return res; } } break; } case UNLT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR); if (res) return res; } } break; } case UNLE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR); if (res) return res; } } break; } case UNGT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR); if (res) return res; } } break; } case UNGE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR); if (res) return res; } } break; } case UNEQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR); if (res) return res; } } break; } case LTGT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_truep (op1)) { { /* #line 2306 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_118 (loc, type, op0, op1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR); if (res) return res; } } break; } default:; } tree op0_pops[1]; if (tree_logical_inverted_value (op0, op0_pops)) { tree o20 = op0_pops[0]; if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { if (tree_truth_valued_p (op1)) { { /* #line 960 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_217 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } } } if (tree_truth_valued_p (op0)) { tree op1_pops[1]; if (tree_logical_inverted_value (op1, op1_pops)) { tree o30 = op1_pops[0]; if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 960 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_217 (loc, type, op0, op1, captures, BIT_XOR_EXPR); if (res) return res; } } } } return NULL_TREE; } static tree generic_simplify_MULT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op1)) { { /* #line 116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:116, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } if (real_zerop (op1)) { { /* #line 124 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 124 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!HONOR_NANS (type) && !HONOR_SIGNED_ZEROS (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:125, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } if (real_onep (op1)) { { /* #line 131 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 131 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!HONOR_SNANS (type) && (!HONOR_SIGNED_ZEROS (type) || !COMPLEX_FLOAT_TYPE_P (type))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:134, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } } if (real_minus_onep (op1)) { { /* #line 139 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 139 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!HONOR_SNANS (type) && (!HONOR_SIGNED_ZEROS (type) || !COMPLEX_FLOAT_TYPE_P (type))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:142, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } } } if (integer_onep (op1)) { { /* #line 148 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_189 (loc, type, op0, op1, captures, MULT_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case TRUNC_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_pow2p (o21)) { if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 389 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 389 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:390, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } break; } case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 436 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:436, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[1])) return NULL_TREE; tree res_op0; res_op0 = unshare_expr (captures[1]); tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_COPYSIGNF: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 490 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_28 (loc, type, op0, op1, captures, CFN_BUILT_IN_COPYSIGNF); if (res) return res; } } break; } case CFN_BUILT_IN_COPYSIGN: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 490 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_28 (loc, type, op0, op1, captures, CFN_BUILT_IN_COPYSIGN); if (res) return res; } } break; } case CFN_BUILT_IN_COPYSIGNL: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 490 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_28 (loc, type, op0, op1, captures, CFN_BUILT_IN_COPYSIGNL); if (res) return res; } } break; } case CFN_COPYSIGN: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 490 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_28 (loc, type, op0, op1, captures, CFN_COPYSIGN); if (res) return res; } } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case LSHIFT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (integer_onep (o40)) { { /* #line 508 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o40, o41 }; tree res = generic_simplify_144 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case LSHIFT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (integer_onep (o30)) { { /* #line 508 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o30, o31 }; tree res = generic_simplify_144 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case LSHIFT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (integer_onep (o30)) { { /* #line 508 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o31 }; tree res = generic_simplify_144 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case LSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_onep (o20)) { { /* #line 508 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o20, o21 }; tree res = generic_simplify_144 (loc, type, op0, op1, captures); if (res) return res; } } break; } case RDIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 515 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; /* #line 515 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_associative_math && single_use (captures[0])) { { /* #line 517 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_binop (MULT_EXPR, type, captures[1], captures[3]); /* #line 519 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:520, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = tem; tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1); return res; } } } } break; } default:; } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (tree_negate_expr_p (o50)) { { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o50 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (tree_negate_expr_p (op1)) { { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op1 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } } break; } case EXACT_DIV_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o31 || operand_equal_p (o60, o31, 0)) { { /* #line 1894 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o31 }; tree res = generic_simplify_121 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (op1 == o31 || operand_equal_p (op1, o31, 0)) { { /* #line 1894 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, o31 }; tree res = generic_simplify_121 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (tree_negate_expr_p (o20)) { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case NEGATE_EXPR: { tree o50 = TREE_OPERAND (o40, 0); { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o50, o20 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, o20 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); if (tree_negate_expr_p (o40)) { { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (tree_negate_expr_p (op1)) { { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 1894 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o21 }; tree res = generic_simplify_121 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (op1 == o21 || operand_equal_p (op1, o21, 0)) { { /* #line 1894 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o21 }; tree res = generic_simplify_121 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (tree_negate_expr_p (op0)) { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, op0 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); { /* #line 859 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op0 }; tree res = generic_simplify_164 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } } if (integer_minus_onep (op1)) { { /* #line 1929 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1929, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } } switch (TREE_CODE (op0)) { case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SQRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; tree res = generic_simplify_80 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTF); if (res) return res; } } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SQRTF: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3127, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTF, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; tree res = generic_simplify_80 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRT); if (res) return res; } } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SQRT: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3127, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRT, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; tree res = generic_simplify_80 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTL); if (res) return res; } } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SQRTL: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3127, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTL, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o20 }; tree res = generic_simplify_80 (loc, type, op0, op1, captures, CFN_SQRT); if (res) return res; } } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_SQRT: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3127, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_SQRT, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_CBRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_CBRTF: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3127, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTF, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_CBRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_CBRT: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3127, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRT, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_CBRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_CBRTL: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3127, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTL, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXPF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXPF: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXP: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXP: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXPL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXPL: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_EXP: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_EXP: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_EXP, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXP2F: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXP2F: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXP2: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXP2: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXP2L: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXP2L: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_EXP2: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_EXP2: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_EXP2, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXP10F: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXP10F: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXP10: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXP10: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_EXP10L: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_EXP10L: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_EXP10: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_EXP10: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_EXP10, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POW10F: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POW10F: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POW10: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POW10: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POW10L: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POW10L: { tree o40 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3133, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, type, 1, res_op0); if (!res) return NULL_TREE; return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_TANF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_COSF: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_BUILT_IN_TANF, CFN_BUILT_IN_COSF, CFN_BUILT_IN_SINF); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_TAN: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_COS: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_BUILT_IN_TAN, CFN_BUILT_IN_COS, CFN_BUILT_IN_SIN); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_TANL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_COSL: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_BUILT_IN_TANL, CFN_BUILT_IN_COSL, CFN_BUILT_IN_SINL); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_TAN: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_COS: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_TAN, CFN_COS, CFN_SIN); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_COSF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_TANF: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o20, op0 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_BUILT_IN_TANF, CFN_BUILT_IN_COSF, CFN_BUILT_IN_SINF); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_COS: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_TAN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o20, op0 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_BUILT_IN_TAN, CFN_BUILT_IN_COS, CFN_BUILT_IN_SIN); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_COSL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_TANL: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o20, op0 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_BUILT_IN_TANL, CFN_BUILT_IN_COSL, CFN_BUILT_IN_SINL); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_COS: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_TAN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o20, op0 }; tree res = generic_simplify_129 (loc, type, op0, op1, captures, CFN_TAN, CFN_COS, CFN_SIN); if (res) return res; } } break; } default:; } break; default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POWF: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case REAL_CST: { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o31 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWF); if (res) return res; } break; } default:; } } break; } case CFN_BUILT_IN_POW: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case REAL_CST: { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o31 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_BUILT_IN_POW); if (res) return res; } break; } default:; } } break; } case CFN_BUILT_IN_POWL: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case REAL_CST: { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o31 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWL); if (res) return res; } break; } default:; } } break; } case CFN_POW: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case REAL_CST: { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o31 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_POW); if (res) return res; } break; } default:; } } break; } default:; } break; default:; } switch (TREE_CODE (op0)) { case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_POWF: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWF); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POWF: { tree o50 = CALL_EXPR_ARG (op1, 0); tree o51 = CALL_EXPR_ARG (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_64 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWF); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_178 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWF); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POW: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_BUILT_IN_POW); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POW: { tree o50 = CALL_EXPR_ARG (op1, 0); tree o51 = CALL_EXPR_ARG (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_64 (loc, type, op0, op1, captures, CFN_BUILT_IN_POW); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_178 (loc, type, op0, op1, captures, CFN_BUILT_IN_POW); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POWL: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWL); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POWL: { tree o50 = CALL_EXPR_ARG (op1, 0); tree o51 = CALL_EXPR_ARG (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_64 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWL); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_178 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWL); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_POW: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; tree res = generic_simplify_102 (loc, type, op0, op1, captures, CFN_POW); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_POW: { tree o50 = CALL_EXPR_ARG (op1, 0); tree o51 = CALL_EXPR_ARG (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_64 (loc, type, op0, op1, captures, CFN_POW); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_178 (loc, type, op0, op1, captures, CFN_POW); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POWIF: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POWIF: { tree o50 = CALL_EXPR_ARG (op1, 0); tree o51 = CALL_EXPR_ARG (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3357, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[4]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[2]; tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWIF, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POWI: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POWI: { tree o50 = CALL_EXPR_ARG (op1, 0); tree o51 = CALL_EXPR_ARG (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3357, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[4]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[2]; tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWI, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POWIL: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POWIL: { tree o50 = CALL_EXPR_ARG (op1, 0); tree o51 = CALL_EXPR_ARG (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations && canonicalize_math_p ()) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3357, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[4]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[2]; tree res; res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWIL, type, 2, res_op0, res_op1); if (!res) return NULL_TREE; return res; } } } break; } default:; } break; default:; } break; } default:; } break; default:; } return NULL_TREE; } static tree generic_simplify_TRUNC_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_onep (op1)) { { /* #line 148 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_189 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 158 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_150 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 163 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_199 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 170 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_93 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case ABS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } break; } case TRUNC_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 199 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_45 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_pow2p (o21)) { if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 381 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 381 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:382, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = wide_int_to_tree (type, wi::mask (TYPE_PRECISION (type) - wi::exact_log2 (captures[1]), false, TYPE_PRECISION (type))); tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 396 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_140 (loc, type, op0, op1, captures, TRUNC_DIV_EXPR); if (res) return res; } } break; } default:; } return NULL_TREE; } static tree generic_simplify_CEIL_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_onep (op1)) { { /* #line 148 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_189 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 158 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_150 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 163 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_199 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 170 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_93 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case ABS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 396 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_140 (loc, type, op0, op1, captures, CEIL_DIV_EXPR); if (res) return res; } } break; } default:; } return NULL_TREE; } static tree generic_simplify_FLOOR_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_onep (op1)) { { /* #line 148 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_189 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 158 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_150 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 163 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_199 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 170 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_93 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case ABS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } break; } default:; } { /* #line 190 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 190 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((INTEGRAL_TYPE_P (type) || VECTOR_INTEGER_TYPE_P (type)) && TYPE_UNSIGNED (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:192, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, TRUNC_DIV_EXPR, type, res_op0, res_op1); return res; } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 396 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_140 (loc, type, op0, op1, captures, FLOOR_DIV_EXPR); if (res) return res; } } break; } default:; } return NULL_TREE; } static tree generic_simplify_ROUND_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_onep (op1)) { { /* #line 148 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_189 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 158 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_150 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 163 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_199 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 170 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_93 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case ABS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 396 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_140 (loc, type, op0, op1, captures, ROUND_DIV_EXPR); if (res) return res; } } break; } default:; } return NULL_TREE; } static tree generic_simplify_EXACT_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_onep (op1)) { { /* #line 148 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_189 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 158 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_150 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 163 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_199 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 170 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_93 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case ABS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 175 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_166 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 182 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_25 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 199 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_45 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_130 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 396 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_140 (loc, type, op0, op1, captures, EXACT_DIV_EXPR); if (res) return res; } } break; } default:; } return NULL_TREE; } static tree generic_simplify_RDIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 213 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 213 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (type) && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:216, %s:%d\n", __FILE__, __LINE__); tree res; res = build_one_cst (type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 222 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_155 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 222 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_155 (loc, type, op0, op1, captures); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ABS_EXPR: { tree o50 = TREE_OPERAND (o40, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 230 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_29 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case ABS_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o30 || (operand_equal_p (o50, o30, 0) && types_match (o50, o30))) { { /* #line 230 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_29 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case ABS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 230 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_29 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 230 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_29 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } if (real_onep (op1)) { { /* #line 244 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 244 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!HONOR_SNANS (type)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:245, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } } if (real_minus_onep (op1)) { { /* #line 250 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 250 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!HONOR_SNANS (type)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:251, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } } } switch (TREE_CODE (op0)) { case RDIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); { /* #line 253 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; /* #line 253 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_reciprocal_math) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:257, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[1]; tree res_op1; { tree ops1[2], res; ops1[0] = captures[2]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } switch (TREE_CODE (op1)) { case RDIV_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); { /* #line 253 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o31 }; /* #line 253 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_reciprocal_math) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:262, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = captures[2]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[3]; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case REAL_CST: { { /* #line 283 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 283 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (optimize) { /* #line 284 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_reciprocal_math && !real_zerop (captures[1])) { { /* #line 286 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_binop (RDIV_EXPR, type, build_one_cst (type), captures[1]); /* #line 288 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:289, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } } else { /* #line 290 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (REAL_CST != COMPLEX_CST) { { /* #line 291 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inverse = exact_inverse (type, captures[1]); /* #line 292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inverse) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:293, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = inverse; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } } } } } break; } case COMPLEX_CST: { { /* #line 283 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 283 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (optimize) { /* #line 284 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_reciprocal_math && !real_zerop (captures[1])) { { /* #line 286 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_binop (RDIV_EXPR, type, build_one_cst (type), captures[1]); /* #line 288 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:289, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } } else { /* #line 290 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (COMPLEX_CST != COMPLEX_CST) { { /* #line 291 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inverse = exact_inverse (type, captures[1]); /* #line 292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inverse) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:293, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = inverse; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } } } } } break; } case VECTOR_CST: { { /* #line 283 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 283 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (optimize) { /* #line 284 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_reciprocal_math && !real_zerop (captures[1])) { { /* #line 286 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_binop (RDIV_EXPR, type, build_one_cst (type), captures[1]); /* #line 288 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:289, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = tem; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } } else { /* #line 290 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (VECTOR_CST != COMPLEX_CST) { { /* #line 291 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree inverse = exact_inverse (type, captures[1]); /* #line 292 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (inverse) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:293, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = inverse; tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } } } } } break; } default:; } switch (TREE_CODE (op0)) { case REAL_CST: { switch (TREE_CODE (op1)) { case MULT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o31)) { case REAL_CST: { { /* #line 525 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o31 }; /* #line 525 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_reciprocal_math) { { /* #line 526 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree tem = const_binop (RDIV_EXPR, type, captures[0], captures[2]); /* #line 528 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tem) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:529, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = tem; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1); return res; } } } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SQRTF: { tree o30 = CALL_EXPR_ARG (op1, 0); switch (TREE_CODE (o30)) { case RDIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o40, o41 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3139, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[4]; ops2[1] = captures[3]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTF, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CFN_BUILT_IN_SQRT: { tree o30 = CALL_EXPR_ARG (op1, 0); switch (TREE_CODE (o30)) { case RDIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o40, o41 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3139, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[4]; ops2[1] = captures[3]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRT, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o30 = CALL_EXPR_ARG (op1, 0); switch (TREE_CODE (o30)) { case RDIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o40, o41 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3139, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[4]; ops2[1] = captures[3]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTL, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CFN_SQRT: { tree o30 = CALL_EXPR_ARG (op1, 0); switch (TREE_CODE (o30)) { case RDIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o40, o41 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3139, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[4]; ops2[1] = captures[3]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_SQRT, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CFN_BUILT_IN_CBRTF: { tree o30 = CALL_EXPR_ARG (op1, 0); switch (TREE_CODE (o30)) { case RDIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o40, o41 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3139, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[4]; ops2[1] = captures[3]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTF, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CFN_BUILT_IN_CBRT: { tree o30 = CALL_EXPR_ARG (op1, 0); switch (TREE_CODE (o30)) { case RDIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o40, o41 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3139, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[4]; ops2[1] = captures[3]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRT, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CFN_BUILT_IN_CBRTL: { tree o30 = CALL_EXPR_ARG (op1, 0); switch (TREE_CODE (o30)) { case RDIV_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o30, o40, o41 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3139, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[4]; ops2[1] = captures[3]; res = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTL, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; } case CFN_BUILT_IN_EXPF: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXP: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXPL: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_EXP: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_EXP, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXP2F: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXP2: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXP2L: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_EXP2: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_EXP2, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXP10F: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXP10: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_EXP10L: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_EXP10: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_EXP10, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_POW10F: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_POW10: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } case CFN_BUILT_IN_POW10L: { tree o30 = CALL_EXPR_ARG (op1, 0); { /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o30 }; /* #line 3116 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (flag_unsafe_math_optimizations) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3145, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[1], res; ops2[0] = captures[2]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops2[0]), ops2[0]); ops1[0] = res; } { res = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, TREE_TYPE (ops1[0]), 1, ops1[0]); if (!res) return NULL_TREE; } res_op1 = res; } tree res; res = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1); return res; } } break; } default:; } break; default:; } switch (TREE_CODE (op0)) { case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SINF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_COSF: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_213 (loc, type, op0, op1, captures, CFN_BUILT_IN_SINF, CFN_BUILT_IN_COSF, CFN_BUILT_IN_TANF); if (res) return res; } } break; } case CFN_BUILT_IN_TANF: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_195 (loc, type, op0, op1, captures, CFN_BUILT_IN_SINF, CFN_BUILT_IN_TANF, CFN_BUILT_IN_COSF); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_SIN: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_COS: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_213 (loc, type, op0, op1, captures, CFN_BUILT_IN_SIN, CFN_BUILT_IN_COS, CFN_BUILT_IN_TAN); if (res) return res; } } break; } case CFN_BUILT_IN_TAN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_195 (loc, type, op0, op1, captures, CFN_BUILT_IN_SIN, CFN_BUILT_IN_TAN, CFN_BUILT_IN_COS); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_SINL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_COSL: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_213 (loc, type, op0, op1, captures, CFN_BUILT_IN_SINL, CFN_BUILT_IN_COSL, CFN_BUILT_IN_TANL); if (res) return res; } } break; } case CFN_BUILT_IN_TANL: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_195 (loc, type, op0, op1, captures, CFN_BUILT_IN_SINL, CFN_BUILT_IN_TANL, CFN_BUILT_IN_COSL); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_SIN: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_COS: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_213 (loc, type, op0, op1, captures, CFN_SIN, CFN_COS, CFN_TAN); if (res) return res; } } break; } case CFN_TAN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_195 (loc, type, op0, op1, captures, CFN_SIN, CFN_TAN, CFN_COS); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_COSF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SINF: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_69 (loc, type, op0, op1, captures, CFN_BUILT_IN_COSF, CFN_BUILT_IN_SINF, CFN_BUILT_IN_TANF); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_COS: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SIN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_69 (loc, type, op0, op1, captures, CFN_BUILT_IN_COS, CFN_BUILT_IN_SIN, CFN_BUILT_IN_TAN); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_COSL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SINL: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_69 (loc, type, op0, op1, captures, CFN_BUILT_IN_COSL, CFN_BUILT_IN_SINL, CFN_BUILT_IN_TANL); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_COS: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_SIN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_69 (loc, type, op0, op1, captures, CFN_COS, CFN_SIN, CFN_TAN); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_TANF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SINF: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_38 (loc, type, op0, op1, captures, CFN_BUILT_IN_TANF, CFN_BUILT_IN_SINF, CFN_BUILT_IN_COSF); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_TAN: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SIN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_38 (loc, type, op0, op1, captures, CFN_BUILT_IN_TAN, CFN_BUILT_IN_SIN, CFN_BUILT_IN_COS); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_TANL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_SINL: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_38 (loc, type, op0, op1, captures, CFN_BUILT_IN_TANL, CFN_BUILT_IN_SINL, CFN_BUILT_IN_COSL); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_TAN: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_SIN: { tree o40 = CALL_EXPR_ARG (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_38 (loc, type, op0, op1, captures, CFN_TAN, CFN_SIN, CFN_COS); if (res) return res; } } break; } default:; } break; default:; } break; } case CFN_BUILT_IN_POWF: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_126 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWF); if (res) return res; } } break; } default:; } break; } case CFN_BUILT_IN_POW: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_126 (loc, type, op0, op1, captures, CFN_BUILT_IN_POW); if (res) return res; } } break; } default:; } break; } case CFN_BUILT_IN_POWL: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_126 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWL); if (res) return res; } } break; } default:; } break; } case CFN_POW: { tree o20 = CALL_EXPR_ARG (op0, 0); tree o21 = CALL_EXPR_ARG (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_126 (loc, type, op0, op1, captures, CFN_POW); if (res) return res; } } break; } default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case CALL_EXPR: switch (get_call_combined_fn (op1)) { case CFN_BUILT_IN_POWF: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o31 }; tree res = generic_simplify_185 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWF); if (res) return res; } break; } case CFN_BUILT_IN_POW: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o31 }; tree res = generic_simplify_185 (loc, type, op0, op1, captures, CFN_BUILT_IN_POW); if (res) return res; } break; } case CFN_BUILT_IN_POWL: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o31 }; tree res = generic_simplify_185 (loc, type, op0, op1, captures, CFN_BUILT_IN_POWL); if (res) return res; } break; } case CFN_POW: { tree o30 = CALL_EXPR_ARG (op1, 0); tree o31 = CALL_EXPR_ARG (op1, 1); { /* #line 3308 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o31 }; tree res = generic_simplify_185 (loc, type, op0, op1, captures, CFN_POW); if (res) return res; } break; } default:; } break; default:; } return NULL_TREE; } static tree generic_simplify_CEIL_MOD_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op0)) { { /* #line 300 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_159 (loc, type, op0, op1, captures, CEIL_MOD_EXPR); if (res) return res; } } if (integer_onep (op1)) { { /* #line 305 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_171 (loc, type, op0, op1, captures, CEIL_MOD_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 309 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_18 (loc, type, op0, op1, captures, CEIL_MOD_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 315 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_122 (loc, type, op0, op1, captures, CEIL_MOD_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case CEIL_MOD_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 320 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_179 (loc, type, op0, op1, captures, CEIL_MOD_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 324 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_19 (loc, type, op0, op1, captures, CEIL_MOD_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_FLOOR_MOD_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op0)) { { /* #line 300 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_159 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } } if (integer_onep (op1)) { { /* #line 305 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_171 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 309 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_18 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 315 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_122 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case FLOOR_MOD_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 320 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_179 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 324 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_19 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); tree o30_pops[1]; if (tree_power_of_two_cand (o30, o30_pops)) { tree o40 = o30_pops[0]; { /* #line 372 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o40 }; tree res = generic_simplify_9 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } } break; } default:; } tree op1_pops[1]; if (tree_power_of_two_cand (op1, op1_pops)) { tree o30 = op1_pops[0]; { /* #line 372 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, op1, o30 }; tree res = generic_simplify_79 (loc, type, op0, op1, captures, FLOOR_MOD_EXPR); if (res) return res; } } return NULL_TREE; } static tree generic_simplify_ROUND_MOD_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op0)) { { /* #line 300 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_159 (loc, type, op0, op1, captures, ROUND_MOD_EXPR); if (res) return res; } } if (integer_onep (op1)) { { /* #line 305 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_171 (loc, type, op0, op1, captures, ROUND_MOD_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 309 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_18 (loc, type, op0, op1, captures, ROUND_MOD_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 315 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_122 (loc, type, op0, op1, captures, ROUND_MOD_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case ROUND_MOD_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 320 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_179 (loc, type, op0, op1, captures, ROUND_MOD_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 324 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_19 (loc, type, op0, op1, captures, ROUND_MOD_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_TRUNC_MOD_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_zerop (op0)) { { /* #line 300 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_159 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } } if (integer_onep (op1)) { { /* #line 305 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_171 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } } if (integer_minus_onep (op1)) { { /* #line 309 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_18 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 315 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_122 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case TRUNC_MOD_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 320 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_179 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 324 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_19 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 332 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 332 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_SIGN (type) == SIGNED && !TREE_OVERFLOW (captures[1]) && wi::neg_p (captures[1]) && !TYPE_OVERFLOW_TRAPS (type) && !sign_bit_p (captures[1], captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:338, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; ops1[0] = captures[1]; res = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, TRUNC_MOD_EXPR, type, res_op0, res_op1); return res; } } break; } CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (o30, 0); { /* #line 343 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o40 }; tree res = generic_simplify_58 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } tree o30_pops[1]; if (tree_power_of_two_cand (o30, o30_pops)) { tree o40 = o30_pops[0]; { /* #line 372 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o40 }; tree res = generic_simplify_9 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } } break; } case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); { /* #line 343 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_58 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } tree op1_pops[1]; if (tree_power_of_two_cand (op1, op1_pops)) { tree o30 = op1_pops[0]; { /* #line 372 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, op1, o30 }; tree res = generic_simplify_79 (loc, type, op0, op1, captures, TRUNC_MOD_EXPR); if (res) return res; } } return NULL_TREE; } static tree generic_simplify_BIT_AND_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 534 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_56 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o30 || (operand_equal_p (o50, o30, 0) && types_match (o50, o30))) { { /* #line 534 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o30 }; tree res = generic_simplify_56 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 534 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_56 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 534 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_56 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o30)) { case LSHIFT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (integer_onep (o40)) { if (integer_minus_onep (o31)) { { /* #line 539 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o30, o41 }; /* #line 539 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (type)) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:540, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = build_all_ones_cst (type); ops2[1] = captures[3]; res = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case LSHIFT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (integer_onep (o30)) { if (integer_minus_onep (o21)) { { /* #line 539 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, op0, o20, o31 }; /* #line 539 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (type)) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:540, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = build_all_ones_cst (type); ops2[1] = captures[3]; res = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } res = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (ops1[0]), ops1[0]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } break; } default:; } break; } case EQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_zerop (o21)) { switch (TREE_CODE (op1)) { case EQ_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (integer_zerop (o51)) { { /* #line 549 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_40 (loc, type, op0, op1, captures, BIT_AND_EXPR, EQ_EXPR); if (res) return res; } } break; } default:; } } break; } default:; } if (integer_zerop (op1)) { { /* #line 616 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:616, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } if (integer_all_onesp (op1)) { { /* #line 639 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:639, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 645 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_65 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_AND_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o41 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o41 == op0 || (operand_equal_p (o41, op0, 0) && types_match (o41, op0))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o30, o40 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o20, o31 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (op1 == o31 || (operand_equal_p (op1, o31, 0) && types_match (op1, o31))) { { /* #line 666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o31, o20, o30 }; tree res = generic_simplify_70 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o41, op0 }; tree res = generic_simplify_71 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o41 == o20 || (operand_equal_p (o41, o20, 0) && types_match (o41, o20))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o40, op0 }; tree res = generic_simplify_71 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { if (o61 == o31 || (operand_equal_p (o61, o31, 0) && types_match (o61, o31))) { { /* #line 726 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o31 }; tree res = generic_simplify_81 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o40, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o50 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_72 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 674 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, op1 }; tree res = generic_simplify_72 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } switch (TREE_CODE (o50)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (o50, 0); tree o61 = TREE_OPERAND (o50, 1); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 726 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_81 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { switch (TREE_CODE (o51)) { case BIT_NOT_EXPR: { tree o70 = TREE_OPERAND (o51, 0); if (o70 == o20 || (operand_equal_p (o70, o20, 0) && types_match (o70, o20))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } switch (TREE_CODE (o50)) { case BIT_NOT_EXPR: { tree o60 = TREE_OPERAND (o50, 0); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } } if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case BIT_NOT_EXPR: { tree o70 = TREE_OPERAND (o51, 0); if (o70 == o21 || (operand_equal_p (o70, o21, 0) && types_match (o70, o21))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o40 || (operand_equal_p (o60, o40, 0) && types_match (o60, o40))) { if (o61 == o20 || (operand_equal_p (o61, o20, 0) && types_match (o61, o20))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, o20 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o21 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { if (o61 == o40 || (operand_equal_p (o61, o40, 0) && types_match (o61, o40))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, o20 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 731 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o21 }; tree res = generic_simplify_82 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } default:; } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_XOR_EXPR); if (res) return res; } } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_XOR_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_NOT_EXPR: { tree o60 = TREE_OPERAND (o50, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o60 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); { /* #line 739 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o50 }; tree res = generic_simplify_17 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op0 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_XOR_EXPR); if (res) return res; } } if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 780 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o31, op0 }; tree res = generic_simplify_95 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_XOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_IOR_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || operand_equal_p (o70, o30, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o71, o30 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o71 == o30 || operand_equal_p (o71, o30, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o31, o70, o30 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o70 == o31 || operand_equal_p (o70, o31, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o31, o30, o71, o31 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o71 == o31 || operand_equal_p (o71, o31, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o31, o30, o70, o31 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o31 || operand_equal_p (o60, o31, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, o31 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o60 == o30 || operand_equal_p (o60, o30, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o31, o30, o30 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (o40, 0); tree o51 = TREE_OPERAND (o40, 1); if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o50, o51, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o51, o50, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (op1 == o31 || operand_equal_p (op1, o31, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, o31 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (op1 == o30 || operand_equal_p (op1, o30, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o31, o30, o30 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, o20 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o51 == o20 || operand_equal_p (o51, o20, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o50, o20 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o21, o20, o51, o21 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o51 == o21 || operand_equal_p (o51, o21, 0)) { { /* #line 792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o21, o20, o50, o21 }; tree res = generic_simplify_109 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case BIT_AND_EXPR: { tree o40 = TREE_OPERAND (o30, 0); tree o41 = TREE_OPERAND (o30, 1); if (o41 == op0 || operand_equal_p (o41, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o40, o41, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o40 == op0 || operand_equal_p (o40, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o41, o40, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o21 || operand_equal_p (o50, o21, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, o21 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o50 == o20 || operand_equal_p (o50, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o20, o20 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } if (op1 == o21 || operand_equal_p (op1, o21, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, o21 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (op1 == o20 || operand_equal_p (op1, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o21, o20, o20 }; tree res = generic_simplify_61 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o40 = TREE_OPERAND (op1, 0); tree o41 = TREE_OPERAND (op1, 1); if (o41 == o20 || operand_equal_p (o41, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o40, o41, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o40 == o20 || operand_equal_p (o40, o20, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o41, o40, o20 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || operand_equal_p (o31, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o30, o31, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o30 == op0 || operand_equal_p (o30, op0, 0)) { { /* #line 802 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op1, o31, o30, op0 }; tree res = generic_simplify_33 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o60)) { case BIT_AND_EXPR: { tree o70 = TREE_OPERAND (o60, 0); tree o71 = TREE_OPERAND (o60, 1); if (o70 == o30 || (operand_equal_p (o70, o30, 0) && types_match (o70, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, o60, o71 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o71 == o30 || (operand_equal_p (o71, o30, 0) && types_match (o71, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, o60, o70 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o70 == o31 || (operand_equal_p (o70, o31, 0) && types_match (o70, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, o60, o71 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o71 == o31 || (operand_equal_p (o71, o31, 0) && types_match (o71, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, o60, o70 }; tree res = generic_simplify_148 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o70 == o30 || (operand_equal_p (o70, o30, 0) && types_match (o70, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o30, o71, op0, o20, o31 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o70 == o31 || (operand_equal_p (o70, o31, 0) && types_match (o70, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o31, o71, op0, o20, o30 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o71 == o30 || (operand_equal_p (o71, o30, 0) && types_match (o71, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o30, o70, op0, o20, o31 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o71 == o31 || (operand_equal_p (o71, o31, 0) && types_match (o71, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o60, o31, o70, op0, o20, o30 }; tree res = generic_simplify_85 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, op1, o61 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1, op1, o60 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o60 == o31 || (operand_equal_p (o60, o31, 0) && types_match (o60, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, op1, o61 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o31 || (operand_equal_p (o61, o31, 0) && types_match (o61, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, o20, o31, o30, op1, op1, o60 }; tree res = generic_simplify_196 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o30, o61, op0, o20, o31 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o60 == o31 || (operand_equal_p (o60, o31, 0) && types_match (o60, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o31, o61, op0, o20, o30 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o30 || (operand_equal_p (o61, o30, 0) && types_match (o61, o30))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o30, o60, op0, o20, o31 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o31 || (operand_equal_p (o61, o31, 0) && types_match (o61, o31))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o31, o60, op0, o20, o30 }; tree res = generic_simplify_184 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 885 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_62 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } break; } default:; } { /* #line 885 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_62 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o50)) { case BIT_AND_EXPR: { tree o60 = TREE_OPERAND (o50, 0); tree o61 = TREE_OPERAND (o50, 1); if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o20, o61, op0, op0, o21 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o21, o61, op0, op0, o20 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o20 || (operand_equal_p (o61, o20, 0) && types_match (o61, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o20, o60, op0, op0, o21 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, o50, o21, o60, op0, op0, o20 }; tree res = generic_simplify_163 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o60 == o20 || (operand_equal_p (o60, o20, 0) && types_match (o60, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, o50, o61 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o20 || (operand_equal_p (o61, o20, 0) && types_match (o61, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, o50, o60 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o60 == o21 || (operand_equal_p (o60, o21, 0) && types_match (o60, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, o50, o61 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o61 == o21 || (operand_equal_p (o61, o21, 0) && types_match (o61, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, o50, o60 }; tree res = generic_simplify_14 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_AND_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, op1, o51 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1, op1, o50 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, op1, o51 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op0, op0, o21, o20, op1, op1, o50 }; tree res = generic_simplify_30 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o20, o51, op0, op0, o21 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o21, o51, op0, op0, o20 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o20, o50, op0, op0, o21 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 812 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[7] ATTRIBUTE_UNUSED = { op1, op1, o21, o50, op0, op0, o20 }; tree res = generic_simplify_106 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 912 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_219 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case BIT_NOT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, o21 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (o21)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o21, 0); if (op1 == o40 || (operand_equal_p (op1, o40, 0) && types_match (op1, o40))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o40, o20 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); switch (TREE_CODE (o30)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (o30, 0); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (o31)) { case BIT_NOT_EXPR: { tree o50 = TREE_OPERAND (o31, 0); if (o50 == op0 || (operand_equal_p (o50, op0, 0) && types_match (o50, op0))) { { /* #line 917 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_125 (loc, type, op0, op1, captures, BIT_AND_EXPR, BIT_IOR_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op0)) { case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 922 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:922, %s:%d\n", __FILE__, __LINE__); if (! tree_invariant_p (captures[2])) return NULL_TREE; tree res_op0; { tree ops1[2], res; ops1[0] = captures[0]; ops1[1] = unshare_expr (captures[2]); res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[2]; res = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1); return res; } } } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (CONSTANT_CLASS_P (o21)) { if (CONSTANT_CLASS_P (op1)) { { /* #line 928 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_127 (loc, type, op0, op1, captures, BIT_AND_EXPR); if (res) return res; } } } break; } default:; } tree op1_pops[1]; if (tree_logical_inverted_value (op1, op1_pops)) { tree o30 = op1_pops[0]; if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 955 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_158 (loc, type, op0, op1, captures); if (res) return res; } } } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1134 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_200 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } break; } default:; } tree op0_pops[1]; if (tree_logical_inverted_value (op0, op0_pops)) { tree o20 = op0_pops[0]; if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 955 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_158 (loc, type, op0, op1, captures); if (res) return res; } } } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1134 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_200 (loc, type, op0, op1, captures); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case LSHIFT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o30)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (o30, 0); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o30, o40, o31, op1 }; tree res = generic_simplify_169 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o30, o30, o31, op1 }; tree res = generic_simplify_116 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case RSHIFT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o30)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (o30, 0); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o30, o40, o31, op1 }; tree res = generic_simplify_169 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o30, o30, o31, op1 }; tree res = generic_simplify_116 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case LSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, op0, o20, o30, o21, op1 }; tree res = generic_simplify_225 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, op0, o20, o20, o21, op1 }; tree res = generic_simplify_32 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case RSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, op0, o20, o30, o21, op1 }; tree res = generic_simplify_225 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1605 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, op0, o20, o20, o21, op1 }; tree res = generic_simplify_32 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case ORDERED_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (o21 == o20 || (operand_equal_p (o21, o20, 0) && types_match (o21, o20))) { switch (TREE_CODE (op1)) { case ORDERED_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o50 || (operand_equal_p (o51, o50, 0) && types_match (o51, o50))) { { /* #line 2628 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o50 }; /* #line 2628 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (types_match (captures[0], captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2629, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, ORDERED_EXPR, type, res_op0, res_op1); return res; } } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 2635 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op1, o51 }; tree res = generic_simplify_188 (loc, type, op0, op1, captures); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 2635 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op1, o50 }; tree res = generic_simplify_188 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } } switch (TREE_CODE (op1)) { case ORDERED_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 2635 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; tree res = generic_simplify_21 (loc, type, op0, op1, captures); if (res) return res; } } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2635 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, op0, o20 }; tree res = generic_simplify_21 (loc, type, op0, op1, captures); if (res) return res; } } } break; } default:; } break; } case LT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case GE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LT_EXPR, GE_EXPR); if (res) return res; } } } break; } case GT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LT_EXPR, MIN_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GT_EXPR, MAX_EXPR); if (res) return res; } } break; } case EQ_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LT_EXPR, EQ_EXPR); if (res) return res; } } } break; } case LT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LT_EXPR, MIN_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GT_EXPR, MAX_EXPR); if (res) return res; } } break; } default:; } break; } case LE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case GT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LE_EXPR, GT_EXPR); if (res) return res; } } } break; } case LE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LE_EXPR, MIN_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GE_EXPR, MAX_EXPR); if (res) return res; } } break; } case GE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LE_EXPR, MIN_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GE_EXPR, MAX_EXPR); if (res) return res; } } break; } default:; } break; } case NE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case EQ_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, NE_EXPR, EQ_EXPR); if (res) return res; } } } break; } default:; } break; } case EQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case GT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, EQ_EXPR, GT_EXPR); if (res) return res; } } } break; } case LT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LT_EXPR, EQ_EXPR); if (res) return res; } } } break; } case NE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, NE_EXPR, EQ_EXPR); if (res) return res; } } } break; } default:; } break; } case GE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case LT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LT_EXPR, GE_EXPR); if (res) return res; } } } break; } case GE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GE_EXPR, MAX_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LE_EXPR, MIN_EXPR); if (res) return res; } } break; } case LE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GE_EXPR, MAX_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LE_EXPR, MIN_EXPR); if (res) return res; } } break; } default:; } break; } case GT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case LT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GT_EXPR, MAX_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LT_EXPR, MIN_EXPR); if (res) return res; } } break; } case LE_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, LE_EXPR, GT_EXPR); if (res) return res; } } } break; } case EQ_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 2651 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_23 (loc, type, op0, op1, captures, EQ_EXPR, GT_EXPR); if (res) return res; } } } break; } case GT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o21, op1, o51 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, GT_EXPR, MAX_EXPR); if (res) return res; } } if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 3691 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o21, o20, op1, o50 }; tree res = generic_simplify_7 (loc, type, op0, op1, captures, LT_EXPR, MIN_EXPR); if (res) return res; } } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (o21, 0); switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3658 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o30, o21, o50, op1 }; tree res = generic_simplify_84 (loc, type, op0, op1, captures, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (o21, 0); switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3658 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[6] ATTRIBUTE_UNUSED = { op0, o20, o30, o21, o50, op1 }; tree res = generic_simplify_84 (loc, type, op0, op1, captures, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_LT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case TRUNC_MOD_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 595 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_8 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case MULT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } } break; } default:; } break; } case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MIN_EXPR, LT_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MAX_EXPR, LT_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2274 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_115 (loc, type, op0, op1, captures, LT_EXPR, LE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (integer_zerop (op1)) { { /* #line 2333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_35 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } } break; } default:; } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2356 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_146 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2377 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_207 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2385 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_110 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_186 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, PLUS_EXPR, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, MINUS_EXPR, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_100 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_137 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_112 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, op1 }; tree res = generic_simplify_26 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } switch (TREE_CODE (o20)) { case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_31 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o30 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SQRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTF, LT_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRT, LT_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTL, LT_EXPR); if (res) return res; } break; } default:; } break; } case CFN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_SQRT, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_120 (loc, type, op0, op1, captures, LT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case INTEGER_CST: { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, op0, o31 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, GT_EXPR, LE_EXPR); if (res) return res; } break; } default:; } } break; } case MINUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 3064 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, op0, o31 }; tree res = generic_simplify_5 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } break; } case REALPART_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case CALL_EXPR: switch (get_call_combined_fn (o30)) { case CFN_SUB_OVERFLOW: { tree o40 = CALL_EXPR_ARG (o30, 0); tree o41 = CALL_EXPR_ARG (o30, 1); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 3076 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, op0, o41 }; tree res = generic_simplify_181 (loc, type, op0, op1, captures, GT_EXPR, NE_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } default:; } switch (TREE_CODE (op0)) { case REALPART_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case CALL_EXPR: switch (get_call_combined_fn (o20)) { case CFN_ADD_OVERFLOW: { tree o30 = CALL_EXPR_ARG (o20, 0); tree o31 = CALL_EXPR_ARG (o20, 1); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o30, o31 }; tree res = generic_simplify_183 (loc, type, op0, op1, captures, LT_EXPR, NE_EXPR); if (res) return res; } } if (op1 == o31 || (operand_equal_p (op1, o31, 0) && types_match (op1, o31))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o31, o30 }; tree res = generic_simplify_183 (loc, type, op0, op1, captures, LT_EXPR, NE_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } case TRUNC_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_all_onesp (o20)) { { /* #line 3094 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o21, op1 }; tree res = generic_simplify_211 (loc, type, op0, op1, captures, LT_EXPR, NE_EXPR); if (res) return res; } } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, PLUS_EXPR, MINUS_EXPR, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, MINUS_EXPR, PLUS_EXPR, LT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_GE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case TRUNC_MOD_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 595 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_8 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case MULT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } } break; } default:; } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MAX_EXPR, GE_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MIN_EXPR, GE_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2274 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_115 (loc, type, op0, op1, captures, GE_EXPR, GT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (integer_zerop (op1)) { { /* #line 2333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_35 (loc, type, op0, op1, captures, GE_EXPR, LE_EXPR); if (res) return res; } } break; } default:; } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2348 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_89 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2377 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_207 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2385 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_110 (loc, type, op0, op1, captures, GE_EXPR, LE_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_186 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, PLUS_EXPR, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, MINUS_EXPR, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_100 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_137 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, GE_EXPR, LE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, GE_EXPR, LE_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_112 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, op1 }; tree res = generic_simplify_26 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } switch (TREE_CODE (o20)) { case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_31 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o30 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SQRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTF, GE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRT, GE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTL, GE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_SQRT, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_120 (loc, type, op0, op1, captures, GE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, GE_EXPR, LE_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case INTEGER_CST: { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, op0, o31 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, LE_EXPR, GT_EXPR); if (res) return res; } break; } default:; } } break; } case MINUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 3064 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, op0, o31 }; tree res = generic_simplify_5 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } break; } case REALPART_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case CALL_EXPR: switch (get_call_combined_fn (o30)) { case CFN_SUB_OVERFLOW: { tree o40 = CALL_EXPR_ARG (o30, 0); tree o41 = CALL_EXPR_ARG (o30, 1); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 3076 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, op0, o41 }; tree res = generic_simplify_181 (loc, type, op0, op1, captures, LE_EXPR, EQ_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } default:; } switch (TREE_CODE (op0)) { case REALPART_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case CALL_EXPR: switch (get_call_combined_fn (o20)) { case CFN_ADD_OVERFLOW: { tree o30 = CALL_EXPR_ARG (o20, 0); tree o31 = CALL_EXPR_ARG (o20, 1); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o30, o31 }; tree res = generic_simplify_183 (loc, type, op0, op1, captures, GE_EXPR, EQ_EXPR); if (res) return res; } } if (op1 == o31 || (operand_equal_p (op1, o31, 0) && types_match (op1, o31))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o31, o30 }; tree res = generic_simplify_183 (loc, type, op0, op1, captures, GE_EXPR, EQ_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } case TRUNC_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_all_onesp (o20)) { { /* #line 3094 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o21, op1 }; tree res = generic_simplify_211 (loc, type, op0, op1, captures, GE_EXPR, EQ_EXPR); if (res) return res; } } break; } case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, PLUS_EXPR, MINUS_EXPR, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, MINUS_EXPR, PLUS_EXPR, GE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_GT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op1)) { case TRUNC_MOD_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 600 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_92 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case MULT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } break; } default:; } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MAX_EXPR, GT_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MIN_EXPR, GT_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_76 (loc, type, op0, op1, captures, GT_EXPR, GE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (integer_zerop (op1)) { { /* #line 2333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_35 (loc, type, op0, op1, captures, GT_EXPR, LT_EXPR); if (res) return res; } } break; } default:; } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2356 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_146 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2377 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_207 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2385 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_110 (loc, type, op0, op1, captures, GT_EXPR, LT_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_186 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, PLUS_EXPR, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, MINUS_EXPR, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_100 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_137 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, GT_EXPR, LT_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, GT_EXPR, LT_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_112 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, op1 }; tree res = generic_simplify_26 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } switch (TREE_CODE (o20)) { case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_31 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o30 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SQRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTF, GT_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRT, GT_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTL, GT_EXPR); if (res) return res; } break; } default:; } break; } case CFN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_SQRT, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_120 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, GT_EXPR, LE_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case INTEGER_CST: { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, op0, o31 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, LT_EXPR, GT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } switch (TREE_CODE (op0)) { case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3064 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_5 (loc, type, op0, op1, captures, GT_EXPR); if (res) return res; } } break; } case REALPART_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case CALL_EXPR: switch (get_call_combined_fn (o20)) { case CFN_SUB_OVERFLOW: { tree o30 = CALL_EXPR_ARG (o20, 0); tree o31 = CALL_EXPR_ARG (o20, 1); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 3076 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o30, o31 }; tree res = generic_simplify_182 (loc, type, op0, op1, captures, GT_EXPR, NE_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } default:; } switch (TREE_CODE (op1)) { case REALPART_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case CALL_EXPR: switch (get_call_combined_fn (o30)) { case CFN_ADD_OVERFLOW: { tree o40 = CALL_EXPR_ARG (o30, 0); tree o41 = CALL_EXPR_ARG (o30, 1); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, op0, o41 }; tree res = generic_simplify_77 (loc, type, op0, op1, captures, LT_EXPR, NE_EXPR); if (res) return res; } } if (o41 == op0 || (operand_equal_p (o41, op0, 0) && types_match (o41, op0))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, op0, o40 }; tree res = generic_simplify_77 (loc, type, op0, op1, captures, LT_EXPR, NE_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } case TRUNC_DIV_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (integer_all_onesp (o30)) { { /* #line 3094 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o31, op0 }; tree res = generic_simplify_10 (loc, type, op0, op1, captures, LT_EXPR, NE_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, PLUS_EXPR, MINUS_EXPR, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, MINUS_EXPR, PLUS_EXPR, GT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_LE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op1)) { case TRUNC_MOD_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 600 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_92 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case MULT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o50 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 1031 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o51 }; tree res = generic_simplify_206 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } break; } default:; } break; } case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MIN_EXPR, LE_EXPR, BIT_IOR_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1485 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_224 (loc, type, op0, op1, captures, MAX_EXPR, LE_EXPR, BIT_AND_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2268 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_76 (loc, type, op0, op1, captures, LE_EXPR, LT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (integer_zerop (op1)) { { /* #line 2333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_35 (loc, type, op0, op1, captures, LE_EXPR, GE_EXPR); if (res) return res; } } break; } default:; } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2348 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_89 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2377 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_207 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2385 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_110 (loc, type, op0, op1, captures, LE_EXPR, GE_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_186 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, PLUS_EXPR, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, MINUS_EXPR, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_100 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2610 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_137 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, LE_EXPR, GE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, LE_EXPR, GE_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_112 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, op1 }; tree res = generic_simplify_26 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } switch (TREE_CODE (o20)) { case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_31 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o30 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SQRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTF, LE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRT, LE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTL, LE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_SQRT, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2954 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_120 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, LE_EXPR, GT_EXPR); if (res) return res; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case INTEGER_CST: { { /* #line 3051 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, op0, o31 }; tree res = generic_simplify_57 (loc, type, op0, op1, captures, GE_EXPR, LE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } switch (TREE_CODE (op0)) { case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 3064 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_5 (loc, type, op0, op1, captures, LE_EXPR); if (res) return res; } } break; } case REALPART_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case CALL_EXPR: switch (get_call_combined_fn (o20)) { case CFN_SUB_OVERFLOW: { tree o30 = CALL_EXPR_ARG (o20, 0); tree o31 = CALL_EXPR_ARG (o20, 1); if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { { /* #line 3076 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o30, o31 }; tree res = generic_simplify_182 (loc, type, op0, op1, captures, LE_EXPR, EQ_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } default:; } switch (TREE_CODE (op1)) { case REALPART_EXPR: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case CALL_EXPR: switch (get_call_combined_fn (o30)) { case CFN_ADD_OVERFLOW: { tree o40 = CALL_EXPR_ARG (o30, 0); tree o41 = CALL_EXPR_ARG (o30, 1); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, op0, o41 }; tree res = generic_simplify_77 (loc, type, op0, op1, captures, GE_EXPR, EQ_EXPR); if (res) return res; } } if (o41 == op0 || (operand_equal_p (o41, op0, 0) && types_match (o41, op0))) { { /* #line 3084 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, op0, o40 }; tree res = generic_simplify_77 (loc, type, op0, op1, captures, GE_EXPR, EQ_EXPR); if (res) return res; } } break; } default:; } break; default:; } break; } case TRUNC_DIV_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (integer_all_onesp (o30)) { { /* #line 3094 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op1, o31, op0 }; tree res = generic_simplify_10 (loc, type, op0, op1, captures, GE_EXPR, EQ_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, PLUS_EXPR, MINUS_EXPR, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3727 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_162 (loc, type, op0, op1, captures, MINUS_EXPR, PLUS_EXPR, LE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_EQ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case MULT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o50 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o51 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } break; } default:; } break; } case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR); if (res) return res; } } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR); if (res) return res; } } break; } default:; } tree op0_pops[1]; if (tree_logical_inverted_value (op0, op0_pops)) { tree o20 = op0_pops[0]; if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { if (tree_truth_valued_p (op1)) { { /* #line 965 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_223 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } } } if (tree_truth_valued_p (op0)) { tree op1_pops[1]; if (tree_logical_inverted_value (op1, op1_pops)) { tree o30 = op1_pops[0]; if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 965 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_223 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } } } switch (TREE_CODE (op1)) { case MIN_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, EQ_EXPR, LE_EXPR); if (res) return res; } } break; } case MAX_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, EQ_EXPR, GE_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1468 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_192 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1475 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_167 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case LSHIFT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (integer_onep (o30)) { if (integer_onep (o21)) { if (integer_zerop (op1)) { { /* #line 1581 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o31 }; tree res = generic_simplify_24 (loc, type, op0, op1, captures, EQ_EXPR, NE_EXPR); if (res) return res; } } } } break; } default:; } break; } case LSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1589 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_114 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_zerop (op1)) { { /* #line 2321 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_215 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (integer_zerop (op1)) { { /* #line 2333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_35 (loc, type, op0, op1, captures, EQ_EXPR, EQ_EXPR); if (res) return res; } } break; } default:; } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2348 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_89 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2377 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_207 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2385 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_110 (loc, type, op0, op1, captures, EQ_EXPR, EQ_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_186 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, PLUS_EXPR, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, MINUS_EXPR, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_100 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2595 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_147 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, EQ_EXPR, EQ_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, EQ_EXPR, EQ_EXPR); if (res) return res; } } break; } case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (zerop (op1)) { { /* #line 2677 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_60 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_112 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, op1 }; tree res = generic_simplify_26 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } switch (TREE_CODE (o20)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2760 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, op1 }; tree res = generic_simplify_216 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { case SSA_NAME: { { /* #line 2744 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_214 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2760 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_216 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_zerop (op1)) { { /* #line 2767 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_103 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SQRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTF, EQ_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRT, EQ_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTL, EQ_EXPR); if (res) return res; } break; } default:; } break; } case CFN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_SQRT, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2778 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, op1 }; tree res = generic_simplify_154 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } if (integer_zerop (op1)) { { /* #line 2783 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_105 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2778 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_154 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o30 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } if (integer_zerop (op1)) { { /* #line 2783 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_105 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_pow2p (o21)) { if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 2792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_201 (loc, type, op0, op1, captures, EQ_EXPR, NE_EXPR); if (res) return res; } } } switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); if (integer_pow2p (o21)) { if (integer_zerop (op1)) { { /* #line 2817 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o30, o21 }; tree res = generic_simplify_135 (loc, type, op0, op1, captures, EQ_EXPR, GE_EXPR); if (res) return res; } } } break; } default:; } if (integer_pow2p (o21)) { if (integer_zerop (op1)) { { /* #line 2817 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o20, o21 }; tree res = generic_simplify_168 (loc, type, op0, op1, captures, EQ_EXPR, GE_EXPR); if (res) return res; } } } break; } default:; } { /* #line 2926 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_97 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2939 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_47 (loc, type, op0, op1, captures, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } if (integer_onep (op1)) { { /* #line 3032 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 3032 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (TREE_TYPE (captures[0])) == BOOLEAN_TYPE && types_match (type, TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3034, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3712 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_174 (loc, type, op0, op1, captures, PLUS_EXPR, MINUS_EXPR, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3712 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_174 (loc, type, op0, op1, captures, MINUS_EXPR, PLUS_EXPR, EQ_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_NE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case MULT_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o51 == o21 || (operand_equal_p (o51, o21, 0) && types_match (o51, o21))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o50 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } if (o50 == o21 || (operand_equal_p (o50, o21, 0) && types_match (o50, o21))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, o51 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } if (o51 == o20 || (operand_equal_p (o51, o20, 0) && types_match (o51, o20))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o50 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { { /* #line 1018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o21, o20, o51 }; tree res = generic_simplify_156 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } break; } default:; } break; } case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, NE_EXPR, GT_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, NE_EXPR, GT_EXPR); if (res) return res; } } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, NE_EXPR, LT_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, NE_EXPR, LT_EXPR); if (res) return res; } } break; } default:; } tree op0_pops[1]; if (tree_logical_inverted_value (op0, op0_pops)) { tree o20 = op0_pops[0]; if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { if (tree_truth_valued_p (op1)) { { /* #line 965 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_223 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } } } if (tree_truth_valued_p (op0)) { tree op1_pops[1]; if (tree_logical_inverted_value (op1, op1_pops)) { tree o30 = op1_pops[0]; if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 965 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_223 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } } } switch (TREE_CODE (op1)) { case MIN_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, NE_EXPR, GT_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MIN_EXPR, NE_EXPR, GT_EXPR); if (res) return res; } } break; } case MAX_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, NE_EXPR, LT_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1461 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_108 (loc, type, op0, op1, captures, MAX_EXPR, NE_EXPR, LT_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1468 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_192 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1475 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_167 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case LSHIFT_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (integer_onep (o30)) { if (integer_onep (o21)) { if (integer_zerop (op1)) { { /* #line 1581 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o31 }; tree res = generic_simplify_24 (loc, type, op0, op1, captures, NE_EXPR, EQ_EXPR); if (res) return res; } } } } break; } default:; } break; } case LSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1589 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_114 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_zerop (op1)) { { /* #line 2321 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_215 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } break; } case MULT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (integer_zerop (op1)) { { /* #line 2333 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_35 (loc, type, op0, op1, captures, NE_EXPR, NE_EXPR); if (res) return res; } } break; } default:; } break; } default:; } if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2356 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_146 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2377 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_207 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2385 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_110 (loc, type, op0, op1, captures, NE_EXPR, NE_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } { /* #line 2393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_209 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2423 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_186 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, PLUS_EXPR, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2480 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_98 (loc, type, op0, op1, captures, MINUS_EXPR, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } switch (TREE_CODE (o20)) { case REAL_CST: { switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2496 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_100 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case EXACT_DIV_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2595 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_147 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, NE_EXPR, NE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, NE_EXPR, NE_EXPR); if (res) return res; } } break; } case ABS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (zerop (op1)) { { /* #line 2677 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_60 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_112 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } { /* #line 2683 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, op1 }; tree res = generic_simplify_26 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } switch (TREE_CODE (o20)) { case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2760 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, op1 }; tree res = generic_simplify_216 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { case SSA_NAME: { { /* #line 2744 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_214 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2760 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_216 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_zerop (op1)) { { /* #line 2767 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_103 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } break; } case CALL_EXPR: switch (get_call_combined_fn (op0)) { case CFN_BUILT_IN_SQRTF: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTF, NE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRT, NE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_BUILT_IN_SQRTL: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_BUILT_IN_SQRTL, NE_EXPR); if (res) return res; } break; } default:; } break; } case CFN_SQRT: { tree o20 = CALL_EXPR_ARG (op0, 0); switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 2504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_202 (loc, type, op0, op1, captures, CFN_SQRT, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; default:; } switch (TREE_CODE (op1)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o31 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 2773 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, o30 }; tree res = generic_simplify_104 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2778 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o30, o31, op1 }; tree res = generic_simplify_154 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o40 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o40)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o40 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, op1 }; tree res = generic_simplify_131 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } if (integer_zerop (op1)) { { /* #line 2783 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_105 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2778 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_154 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case ADDR_EXPR: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (op1, 0); switch (TREE_CODE (o30)) { case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, o30 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } case ADDR_EXPR: { { /* #line 2851 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op0, op1 }; tree res = generic_simplify_101 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } if (integer_zerop (op1)) { { /* #line 2783 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_105 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_pow2p (o21)) { if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 2792 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, o20, o21 }; tree res = generic_simplify_201 (loc, type, op0, op1, captures, NE_EXPR, EQ_EXPR); if (res) return res; } } } switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); if (integer_pow2p (o21)) { if (integer_zerop (op1)) { { /* #line 2817 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o30, o21 }; tree res = generic_simplify_135 (loc, type, op0, op1, captures, NE_EXPR, LT_EXPR); if (res) return res; } } } break; } default:; } if (integer_pow2p (o21)) { if (integer_zerop (op1)) { { /* #line 2817 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o20, o21 }; tree res = generic_simplify_168 (loc, type, op0, op1, captures, NE_EXPR, LT_EXPR); if (res) return res; } } } break; } default:; } { /* #line 2926 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_97 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } switch (TREE_CODE (op0)) { CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 2939 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_47 (loc, type, op0, op1, captures, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } if (integer_zerop (op1)) { { /* #line 3026 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 3026 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (TREE_TYPE (captures[0])) == BOOLEAN_TYPE && types_match (type, TREE_TYPE (captures[0]))) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3028, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = non_lvalue_loc (loc, res_op0); return res; } } } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3712 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_174 (loc, type, op0, op1, captures, PLUS_EXPR, MINUS_EXPR, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case MINUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 3712 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, o21, op1 }; tree res = generic_simplify_174 (loc, type, op0, op1, captures, MINUS_EXPR, PLUS_EXPR, NE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_MIN_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 1343 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_222 (loc, type, op0, op1, captures); if (res) return res; } } switch (TREE_CODE (op0)) { case MAX_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1347 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_63 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1347 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_63 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case MAX_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1347 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op0 }; tree res = generic_simplify_63 (loc, type, op0, op1, captures); if (res) return res; } } if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1347 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o31, op0 }; tree res = generic_simplify_63 (loc, type, op0, op1, captures); if (res) return res; } } break; } case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1362 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_50 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1362 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_50 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } { /* #line 1369 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 1369 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && TYPE_MIN_VALUE (type) && operand_equal_p (captures[1], TYPE_MIN_VALUE (type), OEP_ONLY_CONST)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1372, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } else { /* #line 1373 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && TYPE_MAX_VALUE (type) && operand_equal_p (captures[1], TYPE_MAX_VALUE (type), OEP_ONLY_CONST)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1376, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case INTEGER_CST: { { /* #line 1402 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o31 }; /* #line 1402 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) { /* #line 1403 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_sgn (captures[2]) > 0) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1404, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1405, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; } } } break; } default:; } } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1402 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; /* #line 1402 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) { /* #line 1403 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_sgn (captures[2]) > 0) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1404, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1405, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; } } } } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 1443 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 1443 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (TREE_TYPE (captures[1])) || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1446, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } } break; } default:; } break; } case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 1453 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_218 (loc, type, op0, op1, captures, MIN_EXPR, MAX_EXPR); if (res) return res; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_MAX_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 1343 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_222 (loc, type, op0, op1, captures); if (res) return res; } } switch (TREE_CODE (op0)) { case MIN_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1351 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; tree res = generic_simplify_20 (loc, type, op0, op1, captures); if (res) return res; } } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1351 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o21, o20 }; tree res = generic_simplify_20 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case MIN_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o31 == op0 || (operand_equal_p (o31, op0, 0) && types_match (o31, op0))) { { /* #line 1351 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o30, op0 }; tree res = generic_simplify_20 (loc, type, op0, op1, captures); if (res) return res; } } if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1351 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o31, op0 }; tree res = generic_simplify_20 (loc, type, op0, op1, captures); if (res) return res; } } break; } case NEGATE_EXPR: { tree o30 = TREE_OPERAND (op1, 0); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 1355 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_177 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1355 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; tree res = generic_simplify_177 (loc, type, op0, op1, captures); if (res) return res; } } break; } default:; } { /* #line 1380 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 1380 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && TYPE_MAX_VALUE (type) && operand_equal_p (captures[1], TYPE_MAX_VALUE (type), OEP_ONLY_CONST)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1383, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } else { /* #line 1384 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (type) && TYPE_MIN_VALUE (type) && operand_equal_p (captures[1], TYPE_MIN_VALUE (type), OEP_ONLY_CONST)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1387, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { switch (TREE_CODE (o31)) { case INTEGER_CST: { { /* #line 1393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, o31 }; /* #line 1393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) { /* #line 1394 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_sgn (captures[2]) > 0) { if (TREE_SIDE_EFFECTS (op1)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1395, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1396, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } break; } default:; } } break; } default:; } switch (TREE_CODE (op0)) { case PLUS_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { { /* #line 1393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op0, o21 }; /* #line 1393 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))) { /* #line 1394 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_sgn (captures[2]) > 0) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1395, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; return res; } else { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1396, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } } break; } default:; } break; } case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 1443 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; /* #line 1443 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (FLOAT_TYPE_P (TREE_TYPE (captures[1])) || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1446, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; ops1[0] = captures[1]; ops1[1] = captures[3]; res = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res; res = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0); return res; } } break; } default:; } break; } case BIT_NOT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case BIT_NOT_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 1453 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o20, op1, o40 }; tree res = generic_simplify_218 (loc, type, op0, op1, captures, MAX_EXPR, MIN_EXPR); if (res) return res; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_LROTATE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_all_onesp (op0)) { { /* #line 1492 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_91 (loc, type, op0, op1, captures, LROTATE_EXPR); if (res) return res; } } if (integer_zerop (op1)) { { /* #line 1518 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_6 (loc, type, op0, op1, captures, LROTATE_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 1521 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_119 (loc, type, op0, op1, captures, LROTATE_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case VECTOR_CST: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_55 (loc, type, op0, op1, captures, LROTATE_EXPR); if (res) return res; } break; } case CONSTRUCTOR: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_198 (loc, type, op0, op1, captures, LROTATE_EXPR); if (res) return res; } break; } case INTEGER_CST: { { /* #line 1550 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1550, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = const_binop (MINUS_EXPR, TREE_TYPE (captures[1]), build_int_cst (TREE_TYPE (captures[1]), element_precision (type)), captures[1]); tree res; res = fold_build2_loc (loc, RROTATE_EXPR, type, res_op0, res_op1); return res; } break; } default:; } switch (TREE_CODE (op0)) { case LROTATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1558 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_22 (loc, type, op0, op1, captures, LROTATE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_RROTATE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (integer_all_onesp (op0)) { { /* #line 1492 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_91 (loc, type, op0, op1, captures, RROTATE_EXPR); if (res) return res; } } if (integer_zerop (op1)) { { /* #line 1518 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_6 (loc, type, op0, op1, captures, RROTATE_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 1521 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_119 (loc, type, op0, op1, captures, RROTATE_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case VECTOR_CST: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_55 (loc, type, op0, op1, captures, RROTATE_EXPR); if (res) return res; } break; } case CONSTRUCTOR: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_198 (loc, type, op0, op1, captures, RROTATE_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case RROTATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1558 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_22 (loc, type, op0, op1, captures, RROTATE_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_RSHIFT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case LSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1511 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 1511 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TYPE_UNSIGNED (type) && (wi::ltu_p (captures[1], element_precision (type)))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1513, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[2], res; ops1[0] = build_minus_one_cst (type); ops1[1] = captures[1]; res = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } break; } default:; } break; } default:; } if (integer_all_onesp (op0)) { { /* #line 1497 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; /* #line 1497 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!TYPE_UNSIGNED (type) && tree_expr_nonnegative_p (captures[1])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1499, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } if (integer_zerop (op1)) { { /* #line 1518 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_6 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 1521 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_119 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case VECTOR_CST: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_55 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } break; } case CONSTRUCTOR: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_198 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case RSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1558 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_22 (loc, type, op0, op1, captures, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1 }; tree res = generic_simplify_49 (loc, type, op0, op1, captures, BIT_AND_EXPR, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1 }; tree res = generic_simplify_49 (loc, type, op0, op1, captures, BIT_XOR_EXPR, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1 }; tree res = generic_simplify_49 (loc, type, op0, op1, captures, BIT_IOR_EXPR, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1 }; tree res = generic_simplify_4 (loc, type, op0, op1, captures, BIT_AND_EXPR, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1 }; tree res = generic_simplify_4 (loc, type, op0, op1, captures, BIT_XOR_EXPR, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1 }; tree res = generic_simplify_4 (loc, type, op0, op1, captures, BIT_IOR_EXPR, RSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_LSHIFT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case RSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { if (op1 == o21 || (operand_equal_p (op1, o21, 0) && types_match (op1, o21))) { { /* #line 1504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o21 }; /* #line 1504 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (wi::ltu_p (captures[1], element_precision (type))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1505, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; { tree ops1[2], res; ops1[0] = build_minus_one_cst (type); ops1[1] = captures[1]; res = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op1 = res; } tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } break; } default:; } break; } default:; } if (integer_zerop (op1)) { { /* #line 1518 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_6 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } } if (integer_zerop (op0)) { { /* #line 1521 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_119 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } } switch (TREE_CODE (op1)) { case VECTOR_CST: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_55 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } break; } case CONSTRUCTOR: { { /* #line 1527 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_198 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } break; } default:; } switch (TREE_CODE (op0)) { case LSHIFT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1558 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op1 }; tree res = generic_simplify_22 (loc, type, op0, op1, captures, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } CASE_CONVERT: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1 }; tree res = generic_simplify_49 (loc, type, op0, op1, captures, BIT_AND_EXPR, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1 }; tree res = generic_simplify_49 (loc, type, op0, op1, captures, BIT_XOR_EXPR, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); switch (TREE_CODE (o31)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o20, o30, o31, op1 }; tree res = generic_simplify_49 (loc, type, op0, op1, captures, BIT_IOR_EXPR, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } break; } case BIT_AND_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1 }; tree res = generic_simplify_4 (loc, type, op0, op1, captures, BIT_AND_EXPR, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_XOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1 }; tree res = generic_simplify_4 (loc, type, op0, op1, captures, BIT_XOR_EXPR, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } case BIT_IOR_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case INTEGER_CST: { { /* #line 1694 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op0, o20, o21, op1 }; tree res = generic_simplify_4 (loc, type, op0, op1, captures, BIT_IOR_EXPR, LSHIFT_EXPR); if (res) return res; } break; } default:; } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_COMPLEX_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case REALPART_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case IMAGPART_EXPR: { tree o40 = TREE_OPERAND (op1, 0); if (o40 == o20 || (operand_equal_p (o40, o20, 0) && types_match (o40, o20))) { { /* #line 1939 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { o20 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:1939, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[0]; return res; } } break; } default:; } break; } default:; } return NULL_TREE; } static tree generic_simplify_UNLE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2363 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_2 (loc, type, op0, op1, captures, UNLE_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, UNLE_EXPR, UNGE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, UNLE_EXPR, UNGE_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, UNLE_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_UNGE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2363 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_2 (loc, type, op0, op1, captures, UNGE_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, UNGE_EXPR, UNLE_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, UNGE_EXPR, UNLE_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, UNGE_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_UNEQ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2363 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_2 (loc, type, op0, op1, captures, UNEQ_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, UNEQ_EXPR, UNEQ_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, UNEQ_EXPR, UNEQ_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, UNEQ_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_UNLT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2367 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_203 (loc, type, op0, op1, captures, UNLT_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, UNLT_EXPR, UNGT_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, UNLT_EXPR, UNGT_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, UNLT_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_UNGT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2367 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; tree res = generic_simplify_203 (loc, type, op0, op1, captures, UNGT_EXPR); if (res) return res; } } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, UNGT_EXPR, UNLT_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, UNGT_EXPR, UNLT_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, UNGT_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_LTGT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { if (op1 == op0 || (operand_equal_p (op1, op0, 0) && types_match (op1, op0))) { { /* #line 2370 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[1] ATTRIBUTE_UNUSED = { op0 }; /* #line 2370 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!flag_trapping_math) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2371, %s:%d\n", __FILE__, __LINE__); tree res; res = constant_boolean_node (false, type); if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, LTGT_EXPR, LTGT_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, LTGT_EXPR, LTGT_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, LTGT_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_UNORDERED_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, UNORDERED_EXPR, UNORDERED_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, UNORDERED_EXPR, UNORDERED_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, UNORDERED_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } static tree generic_simplify_ORDERED_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1) { switch (TREE_CODE (op0)) { case NEGATE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); switch (TREE_CODE (op1)) { case NEGATE_EXPR: { tree o40 = TREE_OPERAND (op1, 0); { /* #line 2660 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, o40 }; tree res = generic_simplify_165 (loc, type, op0, op1, captures, ORDERED_EXPR, ORDERED_EXPR); if (res) return res; } break; } default:; } if (CONSTANT_CLASS_P (op1)) { { /* #line 2666 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; tree res = generic_simplify_12 (loc, type, op0, op1, captures, ORDERED_EXPR, ORDERED_EXPR); if (res) return res; } } break; } default:; } switch (TREE_CODE (op1)) { case REAL_CST: { { /* #line 3018 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; tree res = generic_simplify_36 (loc, type, op0, op1, captures, ORDERED_EXPR); if (res) return res; } break; } default:; } return NULL_TREE; } tree generic_simplify (location_t loc, enum tree_code code, tree type ATTRIBUTE_UNUSED, tree op0, tree op1) { switch (code) { case PLUS_EXPR: return generic_simplify_PLUS_EXPR (loc, code, type, op0, op1); case POINTER_PLUS_EXPR: return generic_simplify_POINTER_PLUS_EXPR (loc, code, type, op0, op1); case MINUS_EXPR: return generic_simplify_MINUS_EXPR (loc, code, type, op0, op1); case BIT_IOR_EXPR: return generic_simplify_BIT_IOR_EXPR (loc, code, type, op0, op1); case BIT_XOR_EXPR: return generic_simplify_BIT_XOR_EXPR (loc, code, type, op0, op1); case MULT_EXPR: return generic_simplify_MULT_EXPR (loc, code, type, op0, op1); case TRUNC_DIV_EXPR: return generic_simplify_TRUNC_DIV_EXPR (loc, code, type, op0, op1); case CEIL_DIV_EXPR: return generic_simplify_CEIL_DIV_EXPR (loc, code, type, op0, op1); case FLOOR_DIV_EXPR: return generic_simplify_FLOOR_DIV_EXPR (loc, code, type, op0, op1); case ROUND_DIV_EXPR: return generic_simplify_ROUND_DIV_EXPR (loc, code, type, op0, op1); case EXACT_DIV_EXPR: return generic_simplify_EXACT_DIV_EXPR (loc, code, type, op0, op1); case RDIV_EXPR: return generic_simplify_RDIV_EXPR (loc, code, type, op0, op1); case CEIL_MOD_EXPR: return generic_simplify_CEIL_MOD_EXPR (loc, code, type, op0, op1); case FLOOR_MOD_EXPR: return generic_simplify_FLOOR_MOD_EXPR (loc, code, type, op0, op1); case ROUND_MOD_EXPR: return generic_simplify_ROUND_MOD_EXPR (loc, code, type, op0, op1); case TRUNC_MOD_EXPR: return generic_simplify_TRUNC_MOD_EXPR (loc, code, type, op0, op1); case BIT_AND_EXPR: return generic_simplify_BIT_AND_EXPR (loc, code, type, op0, op1); case LT_EXPR: return generic_simplify_LT_EXPR (loc, code, type, op0, op1); case GE_EXPR: return generic_simplify_GE_EXPR (loc, code, type, op0, op1); case GT_EXPR: return generic_simplify_GT_EXPR (loc, code, type, op0, op1); case LE_EXPR: return generic_simplify_LE_EXPR (loc, code, type, op0, op1); case EQ_EXPR: return generic_simplify_EQ_EXPR (loc, code, type, op0, op1); case NE_EXPR: return generic_simplify_NE_EXPR (loc, code, type, op0, op1); case MIN_EXPR: return generic_simplify_MIN_EXPR (loc, code, type, op0, op1); case MAX_EXPR: return generic_simplify_MAX_EXPR (loc, code, type, op0, op1); case LROTATE_EXPR: return generic_simplify_LROTATE_EXPR (loc, code, type, op0, op1); case RROTATE_EXPR: return generic_simplify_RROTATE_EXPR (loc, code, type, op0, op1); case RSHIFT_EXPR: return generic_simplify_RSHIFT_EXPR (loc, code, type, op0, op1); case LSHIFT_EXPR: return generic_simplify_LSHIFT_EXPR (loc, code, type, op0, op1); case COMPLEX_EXPR: return generic_simplify_COMPLEX_EXPR (loc, code, type, op0, op1); case UNLE_EXPR: return generic_simplify_UNLE_EXPR (loc, code, type, op0, op1); case UNGE_EXPR: return generic_simplify_UNGE_EXPR (loc, code, type, op0, op1); case UNEQ_EXPR: return generic_simplify_UNEQ_EXPR (loc, code, type, op0, op1); case UNLT_EXPR: return generic_simplify_UNLT_EXPR (loc, code, type, op0, op1); case UNGT_EXPR: return generic_simplify_UNGT_EXPR (loc, code, type, op0, op1); case LTGT_EXPR: return generic_simplify_LTGT_EXPR (loc, code, type, op0, op1); case UNORDERED_EXPR: return generic_simplify_UNORDERED_EXPR (loc, code, type, op0, op1); case ORDERED_EXPR: return generic_simplify_ORDERED_EXPR (loc, code, type, op0, op1); default:; } return NULL_TREE; } static tree generic_simplify_COND_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1, tree op2) { switch (TREE_CODE (op0)) { case INTEGER_CST: { { /* #line 2005 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, op2 }; /* #line 2005 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_zerop (captures[0])) { /* #line 2006 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!VOID_TYPE_P (TREE_TYPE (captures[2])) || VOID_TYPE_P (type)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2007, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[2]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } else { /* #line 2008 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (!VOID_TYPE_P (TREE_TYPE (captures[1])) || VOID_TYPE_P (type)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2009, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } } break; } case LT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LT_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LT_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LT_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LT_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } case LE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, LE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LE_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LE_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LE_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, LE_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } case GT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GT_EXPR); if (res) return res; } break; } default:; } } break; } default:; } switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GT_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GT_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GT_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GT_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } case GE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, GE_EXPR); if (res) return res; } break; } default:; } } break; } default:; } switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GE_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o60 = TREE_OPERAND (op1, 0); tree o61 = TREE_OPERAND (op1, 1); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (o61)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o30, o21, o61, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GE_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { case PLUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GE_EXPR, PLUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } case MINUS_EXPR: { tree o50 = TREE_OPERAND (op1, 0); tree o51 = TREE_OPERAND (op1, 1); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (o51)) { case INTEGER_CST: { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2119 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { o20, o21, o51, op2 }; tree res = generic_simplify_172 (loc, type, op0, op1, op2, captures, GE_EXPR, MINUS_EXPR); if (res) return res; } break; } default:; } break; } default:; } } break; } default:; } break; } default:; } break; } case EQ_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { CASE_CONVERT: { tree o30 = TREE_OPERAND (o20, 0); switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o60 = TREE_OPERAND (op1, 0); if (o60 == o30 || (operand_equal_p (o60, o30, 0) && types_match (o60, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, EQ_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o30 || (operand_equal_p (op1, o30, 0) && types_match (op1, o30))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, EQ_EXPR); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (o21)) { case INTEGER_CST: { switch (TREE_CODE (op1)) { CASE_CONVERT: { tree o50 = TREE_OPERAND (op1, 0); if (o50 == o20 || (operand_equal_p (o50, o20, 0) && types_match (o50, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, EQ_EXPR); if (res) return res; } break; } default:; } } break; } default:; } if (op1 == o20 || (operand_equal_p (op1, o20, 0) && types_match (op1, o20))) { switch (TREE_CODE (op2)) { case INTEGER_CST: { { /* #line 2036 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, o21, op2 }; tree res = generic_simplify_128 (loc, type, op0, op1, op2, captures, EQ_EXPR); if (res) return res; } break; } default:; } } break; } default:; } break; } default:; } switch (TREE_CODE (op1)) { case COND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); tree o32 = TREE_OPERAND (op1, 2); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 2199 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o31, o32, op2 }; if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2199, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res_op2; res_op2 = captures[3]; tree res; res = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2); return res; } } break; } default:; } switch (TREE_CODE (op2)) { case COND_EXPR: { tree o40 = TREE_OPERAND (op2, 0); tree o41 = TREE_OPERAND (op2, 1); tree o42 = TREE_OPERAND (op2, 2); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 2202 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o41, o42 }; if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2202, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res_op2; res_op2 = captures[3]; tree res; res = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2); return res; } } { /* #line 2210 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o40, o41, o42 }; /* #line 2210 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (COMPARISON_CLASS_P (captures[0]) && COMPARISON_CLASS_P (captures[2]) && invert_tree_comparison (TREE_CODE (captures[0]), HONOR_NANS (TREE_OPERAND (captures[0], 0))) == TREE_CODE (captures[2]) && operand_equal_p (TREE_OPERAND (captures[0], 0), TREE_OPERAND (captures[2], 0), 0) && operand_equal_p (TREE_OPERAND (captures[0], 1), TREE_OPERAND (captures[2], 1), 0)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2216, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res_op2; res_op2 = captures[3]; tree res; res = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2); return res; } } break; } default:; } switch (TREE_CODE (op1)) { case COND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); tree o32 = TREE_OPERAND (op1, 2); { /* #line 2219 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o30, o31, o32, op2 }; /* #line 2219 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (COMPARISON_CLASS_P (captures[0]) && COMPARISON_CLASS_P (captures[1]) && invert_tree_comparison (TREE_CODE (captures[0]), HONOR_NANS (TREE_OPERAND (captures[0], 0))) == TREE_CODE (captures[1]) && operand_equal_p (TREE_OPERAND (captures[0], 0), TREE_OPERAND (captures[1], 0), 0) && operand_equal_p (TREE_OPERAND (captures[0], 1), TREE_OPERAND (captures[1], 1), 0)) { if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[3])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[4])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2225, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[3]; tree res_op2; res_op2 = captures[4]; tree res; res = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2); return res; } } break; } default:; } if (op2 == op1 || (operand_equal_p (op2, op1, 0) && types_match (op2, op1))) { { /* #line 2230 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2230, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } switch (TREE_CODE (op0)) { case NE_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); switch (TREE_CODE (o20)) { case BIT_AND_EXPR: { tree o30 = TREE_OPERAND (o20, 0); tree o31 = TREE_OPERAND (o20, 1); if (integer_pow2p (o31)) { if (integer_zerop (o21)) { switch (TREE_CODE (op1)) { case INTEGER_CST: { if (integer_zerop (op2)) { { /* #line 2800 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o30, o31, op1 }; /* #line 2800 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_pow2p (captures[2])) { { /* #line 2801 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ int shift = wi::exact_log2 (captures[2]) - wi::exact_log2 (captures[1]); /* #line 2804 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (shift > 0) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (op2)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2805, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[2], res; { tree ops2[1], res; ops2[0] = captures[0]; if (TREE_TYPE (ops2[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops2[0]); else res = ops2[0]; ops1[0] = res; } ops1[1] = build_int_cst (integer_type_node, shift); res = fold_build2_loc (loc, LSHIFT_EXPR, TREE_TYPE (ops1[0]), ops1[0], ops1[1]); res_op0 = res; } tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } else { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (op2)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2807, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[0]; ops2[1] = build_int_cst (integer_type_node, -shift); res = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[2]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } } break; } default:; } } } break; } default:; } break; } case LT_EXPR: { tree o20 = TREE_OPERAND (op0, 0); tree o21 = TREE_OPERAND (op0, 1); if (integer_zerop (o21)) { switch (TREE_CODE (op1)) { case INTEGER_CST: { if (integer_zerop (op2)) { { /* #line 2831 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { o20, op1 }; /* #line 2831 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_pow2p (captures[1]) && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))) { { /* #line 2833 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ int shift = element_precision (captures[0]) - wi::exact_log2 (captures[1]) - 1; /* #line 2836 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (shift >= 0) { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (op2)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2837, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; { tree ops2[2], res; ops2[0] = captures[0]; ops2[1] = build_int_cst (integer_type_node, shift); res = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (ops2[0]), ops2[0], ops2[1]); ops1[0] = res; } if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } else { if (TREE_SIDE_EFFECTS (op0)) return NULL_TREE; if (TREE_SIDE_EFFECTS (op2)) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2842, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; if (TREE_TYPE (ops1[0]) != type) res = fold_build1_loc (loc, NOP_EXPR, type, ops1[0]); else res = ops1[0]; res_op0 = res; } tree res_op1; res_op1 = captures[1]; tree res; res = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1); return res; } } } } } break; } default:; } } break; } default:; } tree op0_pops[1]; if (tree_logical_inverted_value (op0, op0_pops)) { tree o20 = op0_pops[0]; if (tree_truth_valued_p (o20)) { { /* #line 2235 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op1, op2 }; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2235, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res_op2; res_op2 = captures[1]; tree res; res = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2); return res; } } } return NULL_TREE; } static tree generic_simplify_VEC_COND_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1, tree op2) { switch (TREE_CODE (op0)) { case VECTOR_CST: { { /* #line 2012 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, op2 }; /* #line 2012 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_all_onesp (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2013, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 2014 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_zerop (captures[0])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2015, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[2]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); return res; } } } break; } default:; } switch (TREE_CODE (op1)) { case VEC_COND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); tree o32 = TREE_OPERAND (op1, 2); if (o30 == op0 || (operand_equal_p (o30, op0, 0) && types_match (o30, op0))) { { /* #line 2199 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, o31, o32, op2 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2199, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res_op2; res_op2 = captures[3]; tree res; res = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } break; } default:; } switch (TREE_CODE (op2)) { case VEC_COND_EXPR: { tree o40 = TREE_OPERAND (op2, 0); tree o41 = TREE_OPERAND (op2, 1); tree o42 = TREE_OPERAND (op2, 2); if (o40 == op0 || (operand_equal_p (o40, op0, 0) && types_match (o40, op0))) { { /* #line 2202 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[4] ATTRIBUTE_UNUSED = { op0, op1, o41, o42 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2202, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res_op2; res_op2 = captures[3]; tree res; res = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } { /* #line 2210 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, op1, o40, o41, o42 }; /* #line 2210 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (COMPARISON_CLASS_P (captures[0]) && COMPARISON_CLASS_P (captures[2]) && invert_tree_comparison (TREE_CODE (captures[0]), HONOR_NANS (TREE_OPERAND (captures[0], 0))) == TREE_CODE (captures[2]) && operand_equal_p (TREE_OPERAND (captures[0], 0), TREE_OPERAND (captures[2], 0), 0) && operand_equal_p (TREE_OPERAND (captures[0], 1), TREE_OPERAND (captures[2], 1), 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2216, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[1]; tree res_op2; res_op2 = captures[3]; tree res; res = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); if (TREE_SIDE_EFFECTS (captures[4])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), res); return res; } } break; } default:; } switch (TREE_CODE (op1)) { case VEC_COND_EXPR: { tree o30 = TREE_OPERAND (op1, 0); tree o31 = TREE_OPERAND (op1, 1); tree o32 = TREE_OPERAND (op1, 2); { /* #line 2219 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[5] ATTRIBUTE_UNUSED = { op0, o30, o31, o32, op2 }; /* #line 2219 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (COMPARISON_CLASS_P (captures[0]) && COMPARISON_CLASS_P (captures[1]) && invert_tree_comparison (TREE_CODE (captures[0]), HONOR_NANS (TREE_OPERAND (captures[0], 0))) == TREE_CODE (captures[1]) && operand_equal_p (TREE_OPERAND (captures[0], 0), TREE_OPERAND (captures[1], 0), 0) && operand_equal_p (TREE_OPERAND (captures[0], 1), TREE_OPERAND (captures[1], 1), 0)) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2225, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[3]; tree res_op2; res_op2 = captures[4]; tree res; res = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } break; } default:; } if (op2 == op1 || (operand_equal_p (op2, op1, 0) && types_match (op2, op1))) { { /* #line 2230 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[2] ATTRIBUTE_UNUSED = { op0, op1 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2230, %s:%d\n", __FILE__, __LINE__); tree res; res = captures[1]; if (TREE_SIDE_EFFECTS (captures[0])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), res); return res; } } tree op0_pops[1]; if (tree_logical_inverted_value (op0, op0_pops)) { tree o20 = op0_pops[0]; if (tree_truth_valued_p (o20)) { { /* #line 2235 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { o20, op1, op2 }; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:2235, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res_op1; res_op1 = captures[2]; tree res_op2; res_op2 = captures[1]; tree res; res = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2); return res; } } } return NULL_TREE; } static tree generic_simplify_BIT_FIELD_REF (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), tree ARG_UNUSED (type), tree op0, tree op1, tree op2) { { /* #line 3756 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, op2 }; /* #line 3756 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (TREE_CODE (TREE_TYPE (captures[0])) == COMPLEX_TYPE && tree_int_cst_equal (captures[1], TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0]))))) { /* #line 3759 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (integer_zerop (captures[2])) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3760, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, REALPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } else { /* #line 3761 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (tree_int_cst_equal (captures[2], TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0]))))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3762, %s:%d\n", __FILE__, __LINE__); tree res_op0; { tree ops1[1], res; ops1[0] = captures[0]; res = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (ops1[0])), ops1[0]); res_op0 = res; } tree res; res = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } else { /* #line 3763 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && INTEGRAL_TYPE_P (type) && (!0 || is_gimple_reg (captures[0])) && ((compare_tree_int (captures[1], TYPE_PRECISION (TREE_TYPE (captures[0]))) == 0 && integer_zerop (captures[2])) || (BYTES_BIG_ENDIAN == WORDS_BIG_ENDIAN && TYPE_PRECISION (TREE_TYPE (captures[0])) % BITS_PER_UNIT == 0 && TYPE_PRECISION (type) % BITS_PER_UNIT == 0 && compare_tree_int (captures[2], (BYTES_BIG_ENDIAN ? (TYPE_PRECISION (TREE_TYPE (captures[0])) - TYPE_PRECISION (type)) : 0)) == 0))) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3780, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = captures[0]; tree res; res = fold_build1_loc (loc, NOP_EXPR, type, res_op0); if (TREE_SIDE_EFFECTS (captures[1])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), res); if (TREE_SIDE_EFFECTS (captures[2])) res = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), res); return res; } } } switch (TREE_CODE (op0)) { case CONSTRUCTOR: { { /* #line 3786 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree captures[3] ATTRIBUTE_UNUSED = { op0, op1, op2 }; /* #line 3786 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (VECTOR_TYPE_P (TREE_TYPE (captures[0])) && (types_match (type, TREE_TYPE (TREE_TYPE (captures[0]))) || (VECTOR_TYPE_P (type) && types_match (TREE_TYPE (type), TREE_TYPE (TREE_TYPE (captures[0])))))) { { /* #line 3790 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ tree ctor = (TREE_CODE (captures[0]) == SSA_NAME ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]); tree eltype = TREE_TYPE (TREE_TYPE (ctor)); unsigned HOST_WIDE_INT width = tree_to_uhwi (TYPE_SIZE (eltype)); unsigned HOST_WIDE_INT n = tree_to_uhwi (captures[1]); unsigned HOST_WIDE_INT idx = tree_to_uhwi (captures[2]); /* #line 3799 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (n != 0 && (idx % width) == 0 && (n % width) == 0 && ((idx + n) / width) <= TYPE_VECTOR_SUBPARTS (TREE_TYPE (ctor))) { { /* #line 3803 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ idx = idx / width; n = n / width; unsigned HOST_WIDE_INT k = 1; if (CONSTRUCTOR_NELTS (ctor) != 0) { tree cons_elem = TREE_TYPE (CONSTRUCTOR_ELT (ctor, 0)->value); if (TREE_CODE (cons_elem) == VECTOR_TYPE) k = TYPE_VECTOR_SUBPARTS (cons_elem); }/* #line 3818 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if ((idx % k) == 0 && (n % k) == 0) { /* #line 3819 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (CONSTRUCTOR_NELTS (ctor) == 0) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3820, %s:%d\n", __FILE__, __LINE__); tree res; res = build_constructor (type, NULL); return res; } else { { /* #line 3821 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ idx /= k; n /= k; /* #line 3826 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (n == 1) { /* #line 3827 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (idx < CONSTRUCTOR_NELTS (ctor)) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3828, %s:%d\n", __FILE__, __LINE__); tree res; res = CONSTRUCTOR_ELT (ctor, idx)->value; return res; } else { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3829, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); return res; } } else { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3830, %s:%d\n", __FILE__, __LINE__); tree res; vec *vals; vec_alloc (vals, n); for (unsigned i = 0; i < n && idx + i < CONSTRUCTOR_NELTS (ctor); ++i) CONSTRUCTOR_APPEND_ELT (vals, NULL_TREE, CONSTRUCTOR_ELT (ctor, idx + i)->value); res = build_constructor (type, vals); return res; } } } } else { /* #line 3840 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (idx + n <= (idx / k + 1) * k) { /* #line 3842 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (CONSTRUCTOR_NELTS (ctor) <= idx / k) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3843, %s:%d\n", __FILE__, __LINE__); tree res; res = build_zero_cst (type); return res; } else { /* #line 3844 "/home/user/librerouteros-Cpe210v3/build_dir/toolchain-mips_24kc_gcc-7.5.0_musl/gcc-7.5.0/gcc/match.pd" */ if (n == k) { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3845, %s:%d\n", __FILE__, __LINE__); tree res; res = CONSTRUCTOR_ELT (ctor, idx / k)->value; return res; } else { if (TREE_SIDE_EFFECTS (captures[0])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[1])) return NULL_TREE; if (TREE_SIDE_EFFECTS (captures[2])) return NULL_TREE; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Applying pattern match.pd:3846, %s:%d\n", __FILE__, __LINE__); tree res_op0; res_op0 = CONSTRUCTOR_ELT (ctor, idx / k)->value; tree res_op1; res_op1 = captures[1]; tree res_op2; res_op2 = bitsize_int ((idx % k) * width); tree res; res = fold_build3_loc (loc, BIT_FIELD_REF, type, res_op0, res_op1, res_op2); return res; } } } } } } } } } break; } default:; } return NULL_TREE; } tree generic_simplify (location_t loc, enum tree_code code, tree type ATTRIBUTE_UNUSED, tree op0, tree op1, tree op2) { switch (code) { case COND_EXPR: return generic_simplify_COND_EXPR (loc, code, type, op0, op1, op2); case VEC_COND_EXPR: return generic_simplify_VEC_COND_EXPR (loc, code, type, op0, op1, op2); case BIT_FIELD_REF: return generic_simplify_BIT_FIELD_REF (loc, code, type, op0, op1, op2); default:; } return NULL_TREE; }