Home
last modified time | relevance | path

Searched refs:rhs_code (Results 1 – 25 of 34) sorted by relevance

12

/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-stdarg.c135 enum tree_code rhs_code; in va_list_counter_bump() local
155 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump()
157 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump()
165 if ((rhs_code == POINTER_PLUS_EXPR in va_list_counter_bump()
166 || rhs_code == PLUS_EXPR) in va_list_counter_bump()
175 if (rhs_code == ADDR_EXPR in va_list_counter_bump()
185 if (get_gimple_rhs_class (rhs_code) != GIMPLE_SINGLE_RHS) in va_list_counter_bump()
209 enum tree_code rhs_code; in va_list_counter_bump() local
222 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump()
224 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump()
[all …]
H A Dtree-vect-slp.c195 enum tree_code rhs_code; in vect_get_and_check_slp_defs() local
370 && (rhs_code = gimple_assign_rhs_code (stmt)) in vect_get_and_check_slp_defs()
371 && TREE_CODE_CLASS (rhs_code) == tcc_binary in vect_get_and_check_slp_defs()
372 && commutative_tree_code (rhs_code) in vect_get_and_check_slp_defs()
459 enum tree_code first_stmt_code = ERROR_MARK, rhs_code = ERROR_MARK; in vect_build_slp_tree() local
571 rhs_code = CALL_EXPR; in vect_build_slp_tree()
590 rhs_code = gimple_assign_rhs_code (stmt); in vect_build_slp_tree()
595 first_stmt_code = rhs_code; in vect_build_slp_tree()
599 if (rhs_code == LSHIFT_EXPR || rhs_code == RSHIFT_EXPR in vect_build_slp_tree()
600 || rhs_code == LROTATE_EXPR in vect_build_slp_tree()
[all …]
H A Dtree-vect-patterns.c1454 enum tree_code rhs_code; in vect_recog_vector_vector_shift_pattern() local
1463 rhs_code = gimple_assign_rhs_code (last_stmt); in vect_recog_vector_vector_shift_pattern()
1464 switch (rhs_code) in vect_recog_vector_vector_shift_pattern()
1526 pattern_stmt = gimple_build_assign_with_ops (rhs_code, var, oprnd0, def); in vect_recog_vector_vector_shift_pattern()
1581 enum tree_code rhs_code; in vect_recog_sdivmod_pow2_pattern() local
1589 rhs_code = gimple_assign_rhs_code (last_stmt); in vect_recog_sdivmod_pow2_pattern()
1590 switch (rhs_code) in vect_recog_sdivmod_pow2_pattern()
1620 optab = optab_for_tree_code (rhs_code, vectype, optab_default); in vect_recog_sdivmod_pow2_pattern()
1635 if (rhs_code == TRUNC_DIV_EXPR) in vect_recog_sdivmod_pow2_pattern()
1865 enum tree_code rhs_code; in check_bool_pattern() local
[all …]
H A Dtree-ssa-loop-ch.c237 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in copy_loop_headers() local
238 if (TREE_CODE_CLASS (rhs_code) == tcc_comparison) in copy_loop_headers()
H A Dgimple-pretty-print.c252 enum tree_code rhs_code = gimple_assign_rhs_code (gs); in dump_unary_rhs() local
256 switch (rhs_code) in dump_unary_rhs()
271 if (op_prio (rhs) < op_code_prio (rhs_code)) in dump_unary_rhs()
294 if (TREE_CODE_CLASS (rhs_code) == tcc_declaration in dump_unary_rhs()
295 || TREE_CODE_CLASS (rhs_code) == tcc_constant in dump_unary_rhs()
296 || TREE_CODE_CLASS (rhs_code) == tcc_reference in dump_unary_rhs()
297 || rhs_code == SSA_NAME in dump_unary_rhs()
298 || rhs_code == ADDR_EXPR in dump_unary_rhs()
299 || rhs_code == CONSTRUCTOR) in dump_unary_rhs()
304 else if (rhs_code == BIT_NOT_EXPR) in dump_unary_rhs()
[all …]
H A Dtree-ssa-reassoc.c2836 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in reassociate_bb() local
2840 if (get_gimple_rhs_class (rhs_code) != GIMPLE_BINARY_RHS) in reassociate_bb()
2875 if (rhs_code != BIT_IOR_EXPR in reassociate_bb()
2876 && rhs_code != BIT_AND_EXPR in reassociate_bb()
2877 && rhs_code != BIT_XOR_EXPR in reassociate_bb()
2878 && rhs_code != MIN_EXPR in reassociate_bb()
2879 && rhs_code != MAX_EXPR in reassociate_bb()
2885 if (associative_tree_code (rhs_code)) in reassociate_bb()
2897 optimize_ops_list (rhs_code, &ops); in reassociate_bb()
2898 if (undistribute_ops_list (rhs_code, &ops, in reassociate_bb()
[all …]
H A Dtree-ssa-forwprop.c789 enum tree_code rhs_code; in forward_propagate_addr_expr_1() local
795 rhs_code = gimple_assign_rhs_code (use_stmt); in forward_propagate_addr_expr_1()
804 && ((rhs_code == SSA_NAME && rhs == name) in forward_propagate_addr_expr_1()
805 || CONVERT_EXPR_CODE_P (rhs_code))) in forward_propagate_addr_expr_1()
830 && rhs_code == POINTER_PLUS_EXPR in forward_propagate_addr_expr_1()
H A Dtree-vrp.c4471 enum tree_code rhs_code; in register_edge_assert_for_1() local
4497 rhs_code = gimple_assign_rhs_code (op_def); in register_edge_assert_for_1()
4499 if (TREE_CODE_CLASS (rhs_code) == tcc_comparison) in register_edge_assert_for_1()
4506 retval |= register_edge_assert_for_2 (op0, e, bsi, rhs_code, op0, op1, in register_edge_assert_for_1()
4509 retval |= register_edge_assert_for_2 (op1, e, bsi, rhs_code, op0, op1, in register_edge_assert_for_1()
6780 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_truth_ops_using_ranges() local
6785 gcc_assert (rhs_code == EQ_EXPR || rhs_code == NE_EXPR); in simplify_truth_ops_using_ranges()
6797 if (rhs_code == EQ_EXPR) in simplify_truth_ops_using_ranges()
6849 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_div_or_mod_using_ranges() local
6886 if (rhs_code == TRUNC_DIV_EXPR) in simplify_div_or_mod_using_ranges()
[all …]
H A Dtree-ssa-math-opts.c2004 enum tree_code rhs_code; in is_widening_mult_rhs_p() local
2011 rhs_code = gimple_assign_rhs_code (stmt); in is_widening_mult_rhs_p()
2013 ? !CONVERT_EXPR_CODE_P (rhs_code) in is_widening_mult_rhs_p()
2014 : rhs_code != FIXED_CONVERT_EXPR) in is_widening_mult_rhs_p()
H A Dtree-cfg.c3339 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in verify_gimple_assign_unary() local
3358 switch (rhs_code) in verify_gimple_assign_unary()
3493 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in verify_gimple_assign_binary() local
3515 switch (rhs_code) in verify_gimple_assign_binary()
3775 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in verify_gimple_assign_ternary() local
3791 if (((rhs_code == VEC_COND_EXPR || rhs_code == COND_EXPR) in verify_gimple_assign_ternary()
3801 switch (rhs_code) in verify_gimple_assign_ternary()
3918 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in verify_gimple_assign_single() local
3937 switch (rhs_code) in verify_gimple_assign_single()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dgimple-ssa-isolate-paths.c237 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in is_divmod_with_given_divisor() local
238 if (rhs_code == TRUNC_DIV_EXPR in is_divmod_with_given_divisor()
239 || rhs_code == FLOOR_DIV_EXPR in is_divmod_with_given_divisor()
240 || rhs_code == CEIL_DIV_EXPR in is_divmod_with_given_divisor()
241 || rhs_code == EXACT_DIV_EXPR in is_divmod_with_given_divisor()
242 || rhs_code == ROUND_DIV_EXPR in is_divmod_with_given_divisor()
243 || rhs_code == TRUNC_MOD_EXPR in is_divmod_with_given_divisor()
244 || rhs_code == FLOOR_MOD_EXPR in is_divmod_with_given_divisor()
245 || rhs_code == CEIL_MOD_EXPR in is_divmod_with_given_divisor()
246 || rhs_code == ROUND_MOD_EXPR) in is_divmod_with_given_divisor()
H A Dtree-stdarg.c138 enum tree_code rhs_code; in va_list_counter_bump() local
158 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump()
160 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump()
168 if ((rhs_code == POINTER_PLUS_EXPR in va_list_counter_bump()
169 || rhs_code == PLUS_EXPR) in va_list_counter_bump()
178 if (rhs_code == ADDR_EXPR in va_list_counter_bump()
188 if (get_gimple_rhs_class (rhs_code) != GIMPLE_SINGLE_RHS) in va_list_counter_bump()
212 enum tree_code rhs_code; in va_list_counter_bump() local
225 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump()
227 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump()
[all …]
H A Dtree-vect-patterns.c1866 enum tree_code rhs_code; in vect_recog_rotate_pattern() local
1876 rhs_code = gimple_assign_rhs_code (last_stmt); in vect_recog_rotate_pattern()
1877 switch (rhs_code) in vect_recog_rotate_pattern()
1913 optab1 = optab_for_tree_code (rhs_code, vectype, optab_vector); in vect_recog_rotate_pattern()
1920 optab2 = optab_for_tree_code (rhs_code, vectype, optab_scalar); in vect_recog_rotate_pattern()
2049 def_stmt = gimple_build_assign (var1, rhs_code == LROTATE_EXPR in vect_recog_rotate_pattern()
2055 def_stmt = gimple_build_assign (var2, rhs_code == LROTATE_EXPR in vect_recog_rotate_pattern()
2123 enum tree_code rhs_code; in vect_recog_vector_vector_shift_pattern() local
2131 rhs_code = gimple_assign_rhs_code (last_stmt); in vect_recog_vector_vector_shift_pattern()
2132 switch (rhs_code) in vect_recog_vector_vector_shift_pattern()
[all …]
H A Dgimple-ssa-store-merging.c1354 enum tree_code rhs_code; member
1387 stmt (st), order (ord), rhs_code (rhscode), n (nr), in store_immediate_info()
2341 enum tree_code rhs_code, unsigned int last_order, in check_no_overlap() argument
2351 && (rhs_code != INTEGER_CST || info->rhs_code != INTEGER_CST)) in check_no_overlap()
2513 if (m_store_info[i]->rhs_code != MEM_REF) in try_coalesce_bswap()
2567 m_store_info[i]->rhs_code = n.n == cmpxchg ? LROTATE_EXPR : NOP_EXPR; in try_coalesce_bswap()
2655 if (info->rhs_code == INTEGER_CST in coalesce_immediate_stores()
2656 && merged_store->stores[0]->rhs_code == INTEGER_CST) in coalesce_immediate_stores()
2704 if (info2->rhs_code != INTEGER_CST) in coalesce_immediate_stores()
2721 else if (info2->rhs_code == INTEGER_CST in coalesce_immediate_stores()
[all …]
H A Dsancov.c268 enum tree_code rhs_code; in sancov_pass() local
272 rhs_code = gimple_assign_rhs_code (stmt); in sancov_pass()
273 if (TREE_CODE_CLASS (rhs_code) == tcc_comparison) in sancov_pass()
277 else if (rhs_code == COND_EXPR in sancov_pass()
H A Dtree-ssa-loop-ch.c389 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in copy_headers() local
391 if (TREE_CODE_CLASS (rhs_code) == tcc_comparison in copy_headers()
392 && rhs_code != EQ_EXPR in copy_headers()
393 && rhs_code != NE_EXPR in copy_headers()
H A Dtree-vect-slp.c635 enum tree_code rhs_code = ERROR_MARK; in vect_build_slp_tree_1() local
700 rhs_code = CALL_EXPR; in vect_build_slp_tree_1()
720 rhs_code = gimple_assign_rhs_code (stmt); in vect_build_slp_tree_1()
725 first_stmt_code = rhs_code; in vect_build_slp_tree_1()
729 if (rhs_code == LSHIFT_EXPR || rhs_code == RSHIFT_EXPR in vect_build_slp_tree_1()
730 || rhs_code == LROTATE_EXPR in vect_build_slp_tree_1()
731 || rhs_code == RROTATE_EXPR) in vect_build_slp_tree_1()
736 optab = optab_for_tree_code (rhs_code, vectype, in vect_build_slp_tree_1()
743 optab = optab_for_tree_code (rhs_code, vectype, in vect_build_slp_tree_1()
774 else if (rhs_code == WIDEN_LSHIFT_EXPR) in vect_build_slp_tree_1()
[all …]
H A Dtree-ssa-threadedge.c614 enum tree_code rhs_code = gimple_assign_rhs_code (def_stmt); in simplify_control_stmt_condition_1() local
626 else if (rhs_code == BIT_AND_EXPR && integer_zerop (res1)) in simplify_control_stmt_condition_1()
635 else if (rhs_code == BIT_IOR_EXPR && integer_nonzerop (res1)) in simplify_control_stmt_condition_1()
653 else if (rhs_code == BIT_AND_EXPR && integer_zerop (res2)) in simplify_control_stmt_condition_1()
662 else if (rhs_code == BIT_IOR_EXPR && integer_nonzerop (res2)) in simplify_control_stmt_condition_1()
674 if (rhs_code == BIT_AND_EXPR in simplify_control_stmt_condition_1()
687 if (rhs_code == BIT_IOR_EXPR in simplify_control_stmt_condition_1()
H A Dgimple-pretty-print.c325 enum tree_code rhs_code = gimple_assign_rhs_code (gs); in dump_unary_rhs() local
329 switch (rhs_code) in dump_unary_rhs()
344 if (op_prio (rhs) < op_code_prio (rhs_code)) in dump_unary_rhs()
375 if (TREE_CODE_CLASS (rhs_code) == tcc_declaration in dump_unary_rhs()
376 || TREE_CODE_CLASS (rhs_code) == tcc_constant in dump_unary_rhs()
377 || TREE_CODE_CLASS (rhs_code) == tcc_reference in dump_unary_rhs()
378 || rhs_code == SSA_NAME in dump_unary_rhs()
379 || rhs_code == ADDR_EXPR in dump_unary_rhs()
380 || rhs_code == CONSTRUCTOR) in dump_unary_rhs()
385 else if (rhs_code == BIT_NOT_EXPR) in dump_unary_rhs()
[all …]
H A Dtree-ssa-reassoc.c4223 enum tree_code rhs_code in maybe_optimize_range_tests() local
4234 g = gimple_build_assign (new_lhs, rhs_code, new_op); in maybe_optimize_range_tests()
5838 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in reassociate_bb() local
5842 if (get_gimple_rhs_class (rhs_code) != GIMPLE_BINARY_RHS) in reassociate_bb()
5877 if (rhs_code != BIT_IOR_EXPR in reassociate_bb()
5878 && rhs_code != BIT_AND_EXPR in reassociate_bb()
5879 && rhs_code != BIT_XOR_EXPR in reassociate_bb()
5880 && rhs_code != MIN_EXPR in reassociate_bb()
5881 && rhs_code != MAX_EXPR in reassociate_bb()
5887 if (associative_tree_code (rhs_code)) in reassociate_bb()
[all …]
H A Dvr-values.c2971 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_truth_ops_using_ranges() local
2976 gcc_assert (rhs_code == EQ_EXPR || rhs_code == NE_EXPR); in simplify_truth_ops_using_ranges()
2988 if (rhs_code == EQ_EXPR) in simplify_truth_ops_using_ranges()
3048 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_div_or_mod_using_ranges() local
3071 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges()
3078 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges()
3105 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges()
3140 if (rhs_code == TRUNC_DIV_EXPR) in simplify_div_or_mod_using_ranges()
4079 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_stmt_using_ranges() local
4099 if (TREE_CODE_CLASS (rhs_code) == tcc_binary in simplify_stmt_using_ranges()
[all …]
H A Dtree-vrp.c3373 enum tree_code rhs_code = ERROR_MARK; in register_edge_assert_for_2() local
3376 rhs_code = gimple_assign_rhs_code (def_stmt); in register_edge_assert_for_2()
3381 && (rhs_code == PLUS_EXPR || rhs_code == MINUS_EXPR)) in register_edge_assert_for_2()
3388 enum tree_code reverse_op = (rhs_code == PLUS_EXPR in register_edge_assert_for_2()
3405 if (CONVERT_EXPR_CODE_P (rhs_code) in register_edge_assert_for_2()
3446 if (rhs_code == RSHIFT_EXPR) in register_edge_assert_for_2()
3528 if (rhs_code == BIT_AND_EXPR in register_edge_assert_for_2()
3529 || (CONVERT_EXPR_CODE_P (rhs_code) in register_edge_assert_for_2()
3536 if (rhs_code == BIT_AND_EXPR) in register_edge_assert_for_2()
3771 enum tree_code rhs_code; in register_edge_assert_for_1() local
[all …]
H A Dtree-chkp-opt.c344 enum tree_code rhs_code; in chkp_collect_value() local
377 rhs_code = gimple_assign_rhs_code (def_stmt); in chkp_collect_value()
380 switch (rhs_code) in chkp_collect_value()
H A Dtree-chkp.c2637 enum tree_code rhs_code = gimple_assign_rhs_code (assign);
2649 switch (rhs_code)
2711 && rhs_code != MINUS_EXPR)
2714 if (chkp_valid_bounds (bnd2) && rhs_code != MINUS_EXPR
2726 if (chkp_valid_bounds (bnd2) && rhs_code != MINUS_EXPR)
2816 tree cond = build2 (rhs_code == MAX_EXPR ? GT_EXPR : LT_EXPR,
2832 get_tree_code_name (rhs_code));
4206 enum tree_code rhs_code = gimple_assign_rhs_code (stmt);
4208 if (get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS)
H A Dtree-ssa-forwprop.c663 enum tree_code rhs_code; in forward_propagate_addr_expr_1() local
669 rhs_code = gimple_assign_rhs_code (use_stmt); in forward_propagate_addr_expr_1()
674 && rhs_code == SSA_NAME) in forward_propagate_addr_expr_1()
683 && CONVERT_EXPR_CODE_P (rhs_code)) in forward_propagate_addr_expr_1()
713 && rhs_code == POINTER_PLUS_EXPR in forward_propagate_addr_expr_1()

12