/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | tree-stdarg.cc | 137 enum tree_code rhs_code; in va_list_counter_bump() local 157 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump() 159 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump() 167 if ((rhs_code == POINTER_PLUS_EXPR in va_list_counter_bump() 168 || rhs_code == PLUS_EXPR) in va_list_counter_bump() 177 if (rhs_code == ADDR_EXPR in va_list_counter_bump() 187 if (get_gimple_rhs_class (rhs_code) != GIMPLE_SINGLE_RHS) in va_list_counter_bump() 211 enum tree_code rhs_code; in va_list_counter_bump() local 224 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump() 226 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump() [all …]
|
H A D | gimple-ssa-isolate-paths.cc | 237 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 D | gimple-ssa-store-merging.cc | 1660 enum tree_code rhs_code; member in __anone7f7d7200211::store_immediate_info 1696 stmt (st), order (ord), rhs_code (rhscode), n (nr), in store_immediate_info() 2095 bit_insertion = info->rhs_code == BIT_INSERT_EXPR; in merged_store_group() 2096 string_concatenation = info->rhs_code == STRING_CST; in merged_store_group() 2097 only_constants = info->rhs_code == INTEGER_CST; in merged_store_group() 2140 if (info->rhs_code == LROTATE_EXPR) in can_be_merged_into() 2147 if (info->rhs_code == stores[0]->rhs_code) in can_be_merged_into() 2151 if (info->rhs_code == BIT_INSERT_EXPR && stores[0]->rhs_code == INTEGER_CST) in can_be_merged_into() 2154 if (stores[0]->rhs_code == BIT_INSERT_EXPR && info->rhs_code == INTEGER_CST) in can_be_merged_into() 2159 if (info->rhs_code == MEM_REF in can_be_merged_into() [all …]
|
H A D | tree-vect-patterns.cc | 564 tree_code rhs_code = gimple_assign_rhs_code (assign); in vect_widened_op_tree() local 565 if (rhs_code != code && rhs_code != widened_code) in vect_widened_op_tree() 596 if (rhs_code != code) in vect_widened_op_tree() 622 if (rhs_code != code in vect_widened_op_tree() 2596 enum tree_code rhs_code; in vect_recog_rotate_pattern() local 2604 rhs_code = gimple_assign_rhs_code (last_stmt); in vect_recog_rotate_pattern() 2605 switch (rhs_code) in vect_recog_rotate_pattern() 2696 rhs_code = LROTATE_EXPR; in vect_recog_rotate_pattern() 2723 optab1 = optab_for_tree_code (rhs_code, vectype, optab_vector); in vect_recog_rotate_pattern() 2755 optab2 = optab_for_tree_code (rhs_code, vectype, optab_scalar); in vect_recog_rotate_pattern() [all …]
|
H A D | sancov.cc | 268 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 D | tree-ssa-loop-ch.cc | 520 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in copy_headers() local 522 if (TREE_CODE_CLASS (rhs_code) == tcc_comparison in copy_headers() 523 && rhs_code != EQ_EXPR in copy_headers() 524 && rhs_code != NE_EXPR in copy_headers()
|
H A D | tree-ssa-threadedge.cc | 513 enum tree_code rhs_code = gimple_assign_rhs_code (def_stmt); in simplify_control_stmt_condition_1() local 524 else if (rhs_code == BIT_AND_EXPR && integer_zerop (res1)) in simplify_control_stmt_condition_1() 533 else if (rhs_code == BIT_IOR_EXPR && integer_nonzerop (res1)) in simplify_control_stmt_condition_1() 550 else if (rhs_code == BIT_AND_EXPR && integer_zerop (res2)) in simplify_control_stmt_condition_1() 559 else if (rhs_code == BIT_IOR_EXPR && integer_nonzerop (res2)) in simplify_control_stmt_condition_1() 571 if (rhs_code == BIT_AND_EXPR in simplify_control_stmt_condition_1() 584 if (rhs_code == BIT_IOR_EXPR in simplify_control_stmt_condition_1()
|
H A D | gimple-pretty-print.cc | 334 enum tree_code rhs_code = gimple_assign_rhs_code (gs); in dump_unary_rhs() local 338 switch (rhs_code) in dump_unary_rhs() 353 if (op_prio (rhs) < op_code_prio (rhs_code)) in dump_unary_rhs() 374 rhs_code == ABS_EXPR ? "__ABS " : "__ABSU "); in dump_unary_rhs() 380 rhs_code == ABS_EXPR ? "ABS_EXPR <" : "ABSU_EXPR <"); in dump_unary_rhs() 387 if (TREE_CODE_CLASS (rhs_code) == tcc_declaration in dump_unary_rhs() 388 || TREE_CODE_CLASS (rhs_code) == tcc_constant in dump_unary_rhs() 389 || TREE_CODE_CLASS (rhs_code) == tcc_reference in dump_unary_rhs() 390 || rhs_code == SSA_NAME in dump_unary_rhs() 391 || rhs_code == ADDR_EXPR in dump_unary_rhs() [all …]
|
H A D | tree-vect-slp.cc | 917 code_helper rhs_code = ERROR_MARK; in vect_build_slp_tree_1() local 1003 rhs_code = cfn; in vect_build_slp_tree_1() 1005 rhs_code = CALL_EXPR; in vect_build_slp_tree_1() 1030 rhs_code = ERROR_MARK; in vect_build_slp_tree_1() 1035 rhs_code = gimple_assign_rhs_code (stmt); in vect_build_slp_tree_1() 1043 first_stmt_code = rhs_code; in vect_build_slp_tree_1() 1049 if (rhs_code == LSHIFT_EXPR || rhs_code == RSHIFT_EXPR in vect_build_slp_tree_1() 1050 || rhs_code == LROTATE_EXPR in vect_build_slp_tree_1() 1051 || rhs_code == RROTATE_EXPR) in vect_build_slp_tree_1() 1054 if (!directly_supported_p (rhs_code, vectype, optab_vector)) in vect_build_slp_tree_1() [all …]
|
H A D | tree-vrp.cc | 1575 enum tree_code rhs_code = ERROR_MARK; in register_edge_assert_for_2() local 1578 rhs_code = gimple_assign_rhs_code (def_stmt); in register_edge_assert_for_2() 1583 && (rhs_code == PLUS_EXPR || rhs_code == MINUS_EXPR)) in register_edge_assert_for_2() 1590 enum tree_code reverse_op = (rhs_code == PLUS_EXPR in register_edge_assert_for_2() 1607 if (CONVERT_EXPR_CODE_P (rhs_code) in register_edge_assert_for_2() 1639 if (rhs_code == RSHIFT_EXPR) in register_edge_assert_for_2() 1700 if (CONVERT_EXPR_CODE_P (rhs_code)) in register_edge_assert_for_2() 1750 if (rhs_code == BIT_AND_EXPR in register_edge_assert_for_2() 1751 || (CONVERT_EXPR_CODE_P (rhs_code) in register_edge_assert_for_2() 1758 if (rhs_code == BIT_AND_EXPR) in register_edge_assert_for_2() [all …]
|
H A D | tree-ssa-reassoc.cc | 5025 enum tree_code rhs_code in maybe_optimize_range_tests() local 5036 g = gimple_build_assign (new_lhs, rhs_code, new_op); in maybe_optimize_range_tests() 5263 rewrite_expr_tree (gimple *stmt, enum tree_code rhs_code, unsigned int opindex, in rewrite_expr_tree() argument 5312 = gimple_build_assign (lhs, rhs_code, in rewrite_expr_tree() 5358 = rewrite_expr_tree (SSA_NAME_DEF_STMT (rhs1), rhs_code, opindex + 1, ops, in rewrite_expr_tree() 5386 stmt = gimple_build_assign (lhs, rhs_code, in rewrite_expr_tree() 6695 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in reassociate_bb() local 6722 if (get_gimple_rhs_class (rhs_code) != GIMPLE_BINARY_RHS) in reassociate_bb() 6731 if ((rhs_code != BIT_IOR_EXPR in reassociate_bb() 6732 && rhs_code != BIT_AND_EXPR in reassociate_bb() [all …]
|
H A D | vr-values.cc | 2932 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_truth_ops_using_ranges() local 2937 gcc_assert (rhs_code == EQ_EXPR || rhs_code == NE_EXPR); in simplify_truth_ops_using_ranges() 2949 if (rhs_code == EQ_EXPR) in simplify_truth_ops_using_ranges() 3010 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_div_or_mod_using_ranges() local 3033 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges() 3040 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges() 3067 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges() 3102 if (rhs_code == TRUNC_DIV_EXPR) in simplify_div_or_mod_using_ranges() 4237 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify() local 4257 if (TREE_CODE_CLASS (rhs_code) == tcc_binary in simplify() [all …]
|
H A D | tree-ssa-ccp.cc | 3391 tree_code rhs_code = gimple_assign_rhs_code (use_stmt); in optimize_atomic_bit_test_and() local 3392 if (rhs_code != BIT_AND_EXPR) in optimize_atomic_bit_test_and() 3394 if (rhs_code != NOP_EXPR && rhs_code != BIT_NOT_EXPR) in optimize_atomic_bit_test_and() 3415 if (rhs_code == BIT_NOT_EXPR) in optimize_atomic_bit_test_and() 3476 rhs_code = gimple_assign_rhs_code (use_nop_stmt); in optimize_atomic_bit_test_and() 3477 if (rhs_code != BIT_AND_EXPR) in optimize_atomic_bit_test_and() 3482 if (rhs_code == BIT_NOT_EXPR) in optimize_atomic_bit_test_and() 3516 if (rhs_code != GE_EXPR && rhs_code != LT_EXPR) in optimize_atomic_bit_test_and() 3580 (rhs_code == GE_EXPR in optimize_atomic_bit_test_and()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | tree-stdarg.c | 137 enum tree_code rhs_code; in va_list_counter_bump() local 157 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump() 159 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump() 167 if ((rhs_code == POINTER_PLUS_EXPR in va_list_counter_bump() 168 || rhs_code == PLUS_EXPR) in va_list_counter_bump() 177 if (rhs_code == ADDR_EXPR in va_list_counter_bump() 187 if (get_gimple_rhs_class (rhs_code) != GIMPLE_SINGLE_RHS) in va_list_counter_bump() 211 enum tree_code rhs_code; in va_list_counter_bump() local 224 rhs_code = gimple_assign_rhs_code (stmt); in va_list_counter_bump() 226 if ((get_gimple_rhs_class (rhs_code) == GIMPLE_SINGLE_RHS in va_list_counter_bump() [all …]
|
H A D | tree-vect-patterns.c | 552 tree_code rhs_code = gimple_assign_rhs_code (assign); in vect_widened_op_tree() local 553 if (rhs_code != code && rhs_code != widened_code) in vect_widened_op_tree() 593 if (rhs_code != code in vect_widened_op_tree() 2240 enum tree_code rhs_code; in vect_recog_rotate_pattern() local 2249 rhs_code = gimple_assign_rhs_code (last_stmt); in vect_recog_rotate_pattern() 2250 switch (rhs_code) in vect_recog_rotate_pattern() 2341 rhs_code = LROTATE_EXPR; in vect_recog_rotate_pattern() 2368 optab1 = optab_for_tree_code (rhs_code, vectype, optab_vector); in vect_recog_rotate_pattern() 2400 optab2 = optab_for_tree_code (rhs_code, vectype, optab_scalar); in vect_recog_rotate_pattern() 2501 def_stmt = gimple_build_assign (var1, rhs_code == LROTATE_EXPR in vect_recog_rotate_pattern() [all …]
|
H A D | gimple-ssa-isolate-paths.c | 237 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 D | gimple-ssa-store-merging.c | 1378 enum tree_code rhs_code; variable 1414 stmt (st), order (ord), rhs_code (rhscode), n (nr), in store_immediate_info() 1817 only_constants = info->rhs_code == INTEGER_CST; in merged_store_group() 1859 if (info->rhs_code == LROTATE_EXPR) in can_be_merged_into() 1866 if (info->rhs_code == stores[0]->rhs_code) in can_be_merged_into() 1870 if (info->rhs_code == BIT_INSERT_EXPR && stores[0]->rhs_code == INTEGER_CST) in can_be_merged_into() 1873 if (stores[0]->rhs_code == BIT_INSERT_EXPR && info->rhs_code == INTEGER_CST) in can_be_merged_into() 1877 if (info->rhs_code == MEM_REF in can_be_merged_into() 1878 && (stores[0]->rhs_code == INTEGER_CST in can_be_merged_into() 1879 || stores[0]->rhs_code == BIT_INSERT_EXPR) in can_be_merged_into() [all …]
|
H A D | sancov.c | 268 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 D | tree-ssa-loop-ch.c | 464 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in copy_headers() local 466 if (TREE_CODE_CLASS (rhs_code) == tcc_comparison in copy_headers() 467 && rhs_code != EQ_EXPR in copy_headers() 468 && rhs_code != NE_EXPR in copy_headers()
|
H A D | tree-vect-slp.c | 776 enum tree_code rhs_code = ERROR_MARK; in vect_build_slp_tree_1() local 845 rhs_code = CALL_EXPR; in vect_build_slp_tree_1() 868 rhs_code = gimple_assign_rhs_code (stmt); in vect_build_slp_tree_1() 869 load_p = TREE_CODE_CLASS (rhs_code) == tcc_reference; in vect_build_slp_tree_1() 875 first_stmt_code = rhs_code; in vect_build_slp_tree_1() 879 if (rhs_code == LSHIFT_EXPR || rhs_code == RSHIFT_EXPR in vect_build_slp_tree_1() 880 || rhs_code == LROTATE_EXPR in vect_build_slp_tree_1() 881 || rhs_code == RROTATE_EXPR) in vect_build_slp_tree_1() 886 optab = optab_for_tree_code (rhs_code, vectype, in vect_build_slp_tree_1() 893 optab = optab_for_tree_code (rhs_code, vectype, in vect_build_slp_tree_1() [all …]
|
H A D | tree-ssa-threadedge.c | 614 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 D | gimple-pretty-print.c | 333 enum tree_code rhs_code = gimple_assign_rhs_code (gs); in dump_unary_rhs() local 337 switch (rhs_code) in dump_unary_rhs() 352 if (op_prio (rhs) < op_code_prio (rhs_code)) in dump_unary_rhs() 373 rhs_code == ABS_EXPR ? "__ABS " : "__ABSU "); in dump_unary_rhs() 379 rhs_code == ABS_EXPR ? "ABS_EXPR <" : "ABSU_EXPR <"); in dump_unary_rhs() 386 if (TREE_CODE_CLASS (rhs_code) == tcc_declaration in dump_unary_rhs() 387 || TREE_CODE_CLASS (rhs_code) == tcc_constant in dump_unary_rhs() 388 || TREE_CODE_CLASS (rhs_code) == tcc_reference in dump_unary_rhs() 389 || rhs_code == SSA_NAME in dump_unary_rhs() 390 || rhs_code == ADDR_EXPR in dump_unary_rhs() [all …]
|
H A D | tree-ssa-reassoc.c | 4628 enum tree_code rhs_code in maybe_optimize_range_tests() local 4639 g = gimple_build_assign (new_lhs, rhs_code, new_op); in maybe_optimize_range_tests() 4866 rewrite_expr_tree (gimple *stmt, enum tree_code rhs_code, unsigned int opindex, in rewrite_expr_tree() argument 4914 = gimple_build_assign (lhs, rhs_code, in rewrite_expr_tree() 4960 = rewrite_expr_tree (SSA_NAME_DEF_STMT (rhs1), rhs_code, opindex + 1, ops, in rewrite_expr_tree() 4988 stmt = gimple_build_assign (lhs, rhs_code, in rewrite_expr_tree() 6274 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in reassociate_bb() local 6301 if (get_gimple_rhs_class (rhs_code) != GIMPLE_BINARY_RHS) in reassociate_bb() 6310 if (rhs_code != BIT_IOR_EXPR in reassociate_bb() 6311 && rhs_code != BIT_AND_EXPR in reassociate_bb() [all …]
|
H A D | tree-vrp.c | 1974 enum tree_code rhs_code = ERROR_MARK; in register_edge_assert_for_2() local 1977 rhs_code = gimple_assign_rhs_code (def_stmt); in register_edge_assert_for_2() 1982 && (rhs_code == PLUS_EXPR || rhs_code == MINUS_EXPR)) in register_edge_assert_for_2() 1989 enum tree_code reverse_op = (rhs_code == PLUS_EXPR in register_edge_assert_for_2() 2006 if (CONVERT_EXPR_CODE_P (rhs_code) in register_edge_assert_for_2() 2038 if (rhs_code == RSHIFT_EXPR) in register_edge_assert_for_2() 2099 if (CONVERT_EXPR_CODE_P (rhs_code)) in register_edge_assert_for_2() 2148 if (rhs_code == BIT_AND_EXPR in register_edge_assert_for_2() 2149 || (CONVERT_EXPR_CODE_P (rhs_code) in register_edge_assert_for_2() 2156 if (rhs_code == BIT_AND_EXPR) in register_edge_assert_for_2() [all …]
|
H A D | vr-values.c | 3035 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_truth_ops_using_ranges() local 3040 gcc_assert (rhs_code == EQ_EXPR || rhs_code == NE_EXPR); in simplify_truth_ops_using_ranges() 3052 if (rhs_code == EQ_EXPR) in simplify_truth_ops_using_ranges() 3112 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_div_or_mod_using_ranges() local 3135 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges() 3142 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges() 3169 if (rhs_code == TRUNC_MOD_EXPR in simplify_div_or_mod_using_ranges() 3204 if (rhs_code == TRUNC_DIV_EXPR) in simplify_div_or_mod_using_ranges() 4204 enum tree_code rhs_code = gimple_assign_rhs_code (stmt); in simplify_stmt_using_ranges() local 4224 if (TREE_CODE_CLASS (rhs_code) == tcc_binary in simplify_stmt_using_ranges() [all …]
|