Home
last modified time | relevance | path

Searched refs:use_stmt (Results 1 – 25 of 78) sorted by relevance

1234

/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-ssa-phionlycprop.c114 gimple *use_stmt; in propagate_rhs_into_lhs() local
136 if (gimple_debug_bind_p (use_stmt)) in propagate_rhs_into_lhs()
140 if (gimple_code (use_stmt) == GIMPLE_ASM in propagate_rhs_into_lhs()
155 && SSA_NAME_DEF_STMT (rhs) == use_stmt) in propagate_rhs_into_lhs()
178 if (gimple_code (use_stmt) == GIMPLE_PHI) in propagate_rhs_into_lhs()
211 update_stmt (use_stmt); in propagate_rhs_into_lhs()
229 if (maybe_clean_or_replace_eh_stmt (use_stmt, use_stmt)) in propagate_rhs_into_lhs()
259 gimple_cond_code (use_stmt), in propagate_rhs_into_lhs()
266 val = gimple_goto_dest (use_stmt); in propagate_rhs_into_lhs()
270 basic_block bb = gimple_bb (use_stmt); in propagate_rhs_into_lhs()
[all …]
H A Dtree-ssa-phiprop.c107 gimple *use_stmt; in phivn_valid_p() local
146 res = gimple_assign_lhs (use_stmt); in phiprop_insert_phi()
266 gimple *use_stmt; in propagate_with_phi() local
330 bb, gimple_bb (use_stmt))) in propagate_with_phi()
348 vuse = gimple_vuse (use_stmt); in propagate_with_phi()
361 if (!gimple_vdef (use_stmt)) in propagate_with_phi()
383 if (vuse_stmt == use_stmt) in propagate_with_phi()
396 gsi = gsi_for_stmt (use_stmt); in propagate_with_phi()
405 unlink_stmt_vdef (use_stmt); in propagate_with_phi()
425 gsi = gsi_for_stmt (use_stmt); in propagate_with_phi()
[all …]
H A Dtree-ssa-math-opts.c362 && gimple_assign_rhs1 (use_stmt) != gimple_assign_rhs2 (use_stmt)) in is_division_by_square()
477 update_stmt (use_stmt); in replace_reciprocal_squares()
499 update_stmt (use_stmt); in replace_reciprocal()
611 gimple *use_stmt; in execute_cse_reciprocals_1() local
2652 gimple *use_stmt; in convert_mult_to_fma_1() local
2674 release_defs (use_stmt); in convert_mult_to_fma_1()
2676 use_stmt = neguse_stmt; in convert_mult_to_fma_1()
2932 use_stmt = neguse_stmt; in convert_mult_to_fma()
3162 gimple *use_stmt; in match_uaddsub_overflow() local
3341 gimple *use_stmt; in convert_to_divmod() local
[all …]
H A Dtree-ssa-dse.c530 *use_stmt = NULL; in dse_classify_store()
561 if (use_stmt == stmt) in dse_classify_store()
591 gimple_bb (use_stmt))) in dse_classify_store()
592 temp = use_stmt; in dse_classify_store()
615 if (gimple_vdef (use_stmt)) in dse_classify_store()
616 temp = use_stmt; in dse_classify_store()
634 temp = use_stmt; in dse_classify_store()
667 *use_stmt = temp; in dse_classify_store()
798 gimple *use_stmt; in dse_optimize_stmt() local
826 gimple *use_stmt; in dse_optimize_stmt() local
[all …]
H A Dgimple-ssa-isolate-paths.c404 gimple *use_stmt; in find_implicit_erroneous_behavior() local
414 FOR_EACH_IMM_USE_STMT (use_stmt, iter, lhs) in find_implicit_erroneous_behavior()
417 = dyn_cast <greturn *> (use_stmt); in find_implicit_erroneous_behavior()
424 if (warning_at (gimple_location (use_stmt), in find_implicit_erroneous_behavior()
431 if (gimple_bb (use_stmt) == bb) in find_implicit_erroneous_behavior()
434 use_stmt, lhs, true); in find_implicit_erroneous_behavior()
452 FOR_EACH_IMM_USE_STMT (use_stmt, iter, lhs) in find_implicit_erroneous_behavior()
457 if (gimple_bb (use_stmt) != bb) in find_implicit_erroneous_behavior()
460 location_t loc = gimple_location (use_stmt) in find_implicit_erroneous_behavior()
461 ? gimple_location (use_stmt) in find_implicit_erroneous_behavior()
[all …]
H A Dtree-ssa-forwprop.c746 update_stmt (use_stmt); in forward_propagate_addr_expr_1()
949 update_stmt (use_stmt); in forward_propagate_addr_expr_1()
973 gimple *use_stmt; in forward_propagate_addr_expr() local
998 update_stmt (use_stmt); in forward_propagate_addr_expr()
1013 release_defs (use_stmt); in forward_propagate_addr_expr()
1264 gimple *use_stmt; in simplify_builtin_call() local
1357 || use_stmt != stmt2)) in simplify_builtin_call()
1365 || use_stmt != stmt2)) in simplify_builtin_call()
2353 gimple *use_stmt; in execute() local
2393 gimple *use_stmt; in execute() local
[all …]
H A Dtree-ssa-sink.c326 gimple *use_stmt = USE_STMT (use_p); in statement_sink_location() local
329 if ((gimple_has_lhs (use_stmt) in statement_sink_location()
331 gimple_get_lhs (use_stmt), 0)) in statement_sink_location()
336 if (stmt != use_stmt in statement_sink_location()
337 && ref_maybe_used_by_stmt_p (use_stmt, in statement_sink_location()
343 if (gimple_code (use_stmt) != GIMPLE_PHI) in statement_sink_location()
347 && use != use_stmt) in statement_sink_location()
350 use = use_stmt; in statement_sink_location()
387 gimple *use_stmt = USE_STMT (use_p); in statement_sink_location() local
388 basic_block bb = gimple_bb (use_stmt); in statement_sink_location()
[all …]
H A Dgimple-ssa-evrp-analyze.c143 gimple *use_stmt = USE_STMT (use_p), *use_stmt2; in all_uses_feed_or_dominated_by_stmt() local
144 if (use_stmt == stmt in all_uses_feed_or_dominated_by_stmt()
145 || is_gimple_debug (use_stmt) in all_uses_feed_or_dominated_by_stmt()
146 || (gimple_bb (use_stmt) != stmt_bb in all_uses_feed_or_dominated_by_stmt()
148 gimple_bb (use_stmt), stmt_bb))) in all_uses_feed_or_dominated_by_stmt()
150 while (use_stmt != stmt in all_uses_feed_or_dominated_by_stmt()
151 && is_gimple_assign (use_stmt) in all_uses_feed_or_dominated_by_stmt()
152 && TREE_CODE (gimple_assign_lhs (use_stmt)) == SSA_NAME in all_uses_feed_or_dominated_by_stmt()
153 && single_imm_use (gimple_assign_lhs (use_stmt), in all_uses_feed_or_dominated_by_stmt()
155 use_stmt = use_stmt2; in all_uses_feed_or_dominated_by_stmt()
[all …]
H A Dtree-chkp-opt.c1160 FOR_EACH_IMM_USE_STMT (use_stmt, use_iter, op) in chkp_reduce_bounds_lifetime()
1162 if (is_gimple_debug (use_stmt)) in chkp_reduce_bounds_lifetime()
1167 dom_bb, gimple_bb (use_stmt))) in chkp_reduce_bounds_lifetime()
1169 dom_use = use_stmt; in chkp_reduce_bounds_lifetime()
1174 gimple_bb (use_stmt)); in chkp_reduce_bounds_lifetime()
1176 dom_use = use_stmt; in chkp_reduce_bounds_lifetime()
1177 else if (stmt_dominates_stmt_p (use_stmt, dom_use)) in chkp_reduce_bounds_lifetime()
1178 dom_use = use_stmt; in chkp_reduce_bounds_lifetime()
1179 else if (!stmt_dominates_stmt_p (dom_use, use_stmt) in chkp_reduce_bounds_lifetime()
1185 || gimple_code (use_stmt) != GIMPLE_PHI in chkp_reduce_bounds_lifetime()
[all …]
H A Dtree-ssa-dce.c966 gimple *use_stmt; in remove_dead_phis() local
967 FOR_EACH_IMM_USE_STMT (use_stmt, iter, vdef) in remove_dead_phis()
1139 gimple *use_stmt = USE_STMT (use_p); in maybe_optimize_arith_overflow() local
1140 if (is_gimple_debug (use_stmt)) in maybe_optimize_arith_overflow()
1142 else if (is_gimple_assign (use_stmt) in maybe_optimize_arith_overflow()
1170 gimple *use_stmt; in maybe_optimize_arith_overflow() local
1171 FOR_EACH_IMM_USE_STMT (use_stmt, imm_iter, lhs) in maybe_optimize_arith_overflow()
1173 if (!gimple_debug_bind_p (use_stmt)) in maybe_optimize_arith_overflow()
1175 tree v = gimple_debug_bind_get_value (use_stmt); in maybe_optimize_arith_overflow()
1178 gimple_debug_bind_reset_value (use_stmt); in maybe_optimize_arith_overflow()
[all …]
H A Dgimple-ssa-split-paths.c252 gimple *use_stmt = USE_STMT (use2_p); in is_feasible_trace() local
253 if (is_gimple_debug (use_stmt)) in is_feasible_trace()
255 basic_block use_bb = gimple_bb (use_stmt); in is_feasible_trace()
259 if (gcond *cond = dyn_cast <gcond *> (use_stmt)) in is_feasible_trace()
H A Dtree-vect-loop.c2841 if (use_stmt == phi) in vect_is_slp_reduction()
3226 phi_use_stmt = use_stmt; in vect_is_simple_reduction()
6560 gimple *use_stmt; in vectorizable_reduction() local
6565 && (use_stmt == reduc_stmt in vectorizable_reduction()
7331 gimple *use_stmt; in vectorizable_reduction() local
7335 && (use_stmt == stmt in vectorizable_reduction()
7722 exit_phi = use_stmt; in vectorizable_induction()
8153 exit_phi = use_stmt; in vectorizable_induction()
8207 gimple *use_stmt; in vectorizable_live_operation() local
8405 update_stmt (use_stmt); in vectorizable_live_operation()
[all …]
H A Dtree-ssa-uninit.c313 gimple *use_stmt = USE_STMT (luse_p); in warn_uninitialized_vars() local
2431 is_use_properly_guarded (gimple *use_stmt, in is_use_properly_guarded() argument
2491 simplify_preds (&preds, use_stmt, true); in is_use_properly_guarded()
2516 gimple *use_stmt; in find_uninit_use() local
2527 use_stmt = USE_STMT (use_p); in find_uninit_use()
2528 if (is_gimple_debug (use_stmt)) in find_uninit_use()
2535 use_bb = gimple_bb (use_stmt); in find_uninit_use()
2545 print_gimple_stmt (dump_file, use_stmt, 0); in find_uninit_use()
2548 if (gimple_code (use_stmt) != GIMPLE_PHI) in find_uninit_use()
2550 ret = use_stmt; in find_uninit_use()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-ssa-dse.c88 *use_stmt = NULL; in dse_possible_dead_store_p()
97 gimple use_stmt; in dse_possible_dead_store_p() local
118 if (use_stmt == stmt) in dse_possible_dead_store_p()
142 temp = use_stmt; in dse_possible_dead_store_p()
153 else if (gimple_vdef (use_stmt)) in dse_possible_dead_store_p()
160 temp = use_stmt; in dse_possible_dead_store_p()
184 *use_stmt = temp; in dse_possible_dead_store_p()
221 gimple use_stmt; in dse_optimize_stmt() local
230 if ((gimple_has_lhs (use_stmt) in dse_optimize_stmt()
232 gimple_get_lhs (use_stmt), 0))) in dse_optimize_stmt()
[all …]
H A Dtree-ssa-phiprop.c107 gimple use_stmt; in phivn_valid_p() local
118 || gimple_code (use_stmt) == GIMPLE_PHI) in phivn_valid_p()
141 gcc_assert (is_gimple_assign (use_stmt) in phiprop_insert_phi()
146 res = gimple_assign_lhs (use_stmt); in phiprop_insert_phi()
249 gimple use_stmt; in propagate_with_phi() local
307 ptr = gimple_assign_lhs (use_stmt); in propagate_with_phi()
320 bb, gimple_bb (use_stmt))) in propagate_with_phi()
324 if (!(is_gimple_assign (use_stmt) in propagate_with_phi()
338 vuse = gimple_vuse (use_stmt); in propagate_with_phi()
360 gsi = gsi_for_stmt (use_stmt); in propagate_with_phi()
[all …]
H A Dmatrix-reorg.c1035 if (gimple_call_lhs (use_stmt)) in analyze_accesses_for_call_stmt()
1121 tmp_maphi.phi = use_stmt; in analyze_accesses_for_phi_node()
1148 maphi->phi = use_stmt; in analyze_accesses_for_phi_node()
1257 use_stmt); in analyze_accesses_for_assign_stmt()
1280 use_stmt); in analyze_accesses_for_assign_stmt()
1303 use_stmt); in analyze_accesses_for_assign_stmt()
1830 gimple use_stmt; in transform_access_sites() local
1927 gimple use_stmt; in transform_access_sites() local
1998 gimple call_stmt_0, use_stmt; in transform_allocation_sites() local
2179 if (use_stmt == call_stmt_0) in transform_allocation_sites()
[all …]
H A Dtree-ssa-forwprop.c181 gimple use_stmt; in get_prop_dest_stmt() local
200 return use_stmt; in get_prop_dest_stmt()
1092 gimple use_stmt; in forward_propagate_addr_expr() local
1132 update_stmt (use_stmt); in forward_propagate_addr_expr()
1144 release_defs (use_stmt); in forward_propagate_addr_expr()
1164 gimple use_stmt; in forward_propagate_comparison() local
1179 if (!use_stmt in forward_propagate_comparison()
1211 update_stmt (use_stmt); in forward_propagate_comparison()
1449 gimple use_stmt; in simplify_builtin_call() local
1540 || use_stmt != stmt2)) in simplify_builtin_call()
[all …]
H A Dtree-ssa-math-opts.c316 return is_gimple_assign (use_stmt) in is_division_by()
405 update_stmt (use_stmt); in replace_reciprocal()
466 gimple use_stmt; in execute_cse_reciprocals_1() local
696 gimple def_stmt, use_stmt, stmt; in execute_cse_sincos_1() local
707 || !gimple_call_lhs (use_stmt) in execute_cse_sincos_1()
789 gsi = gsi_for_stmt (use_stmt); in execute_cse_sincos_1()
2511 use_stmt = neguse_stmt; in convert_mult_to_fma()
2535 if (gimple_assign_rhs1 (use_stmt) == gimple_assign_rhs2 (use_stmt)) in convert_mult_to_fma()
2564 release_defs (use_stmt); in convert_mult_to_fma()
2566 use_stmt = neguse_stmt; in convert_mult_to_fma()
[all …]
H A Dtree-ssa-sink.c408 gimple use_stmt = USE_STMT (use_p); in statement_sink_location() local
411 if (gimple_assign_single_p (use_stmt) in statement_sink_location()
412 && gimple_vdef (use_stmt) in statement_sink_location()
414 gimple_assign_lhs (use_stmt), 0)) in statement_sink_location()
418 if (stmt != use_stmt in statement_sink_location()
419 && ref_maybe_used_by_stmt_p (use_stmt, in statement_sink_location()
425 if (gimple_code (use_stmt) != GIMPLE_PHI) in statement_sink_location()
429 && use != use_stmt) in statement_sink_location()
432 use = use_stmt; in statement_sink_location()
H A Dtree-vect-patterns.c98 gimple use_stmt; in vect_single_imm_use() local
103 if (!gimple_bb (use_stmt)) in vect_single_imm_use()
110 return use_stmt; in vect_single_imm_use()
611 gimple use_stmt; in vect_recog_widen_mult_pattern() local
619 if (!use_stmt || !is_gimple_assign (use_stmt) in vect_recog_widen_mult_pattern()
631 last_stmt = use_stmt; in vect_recog_widen_mult_pattern()
1150 if (!use_stmt || !is_gimple_assign (use_stmt)) in vect_recog_over_widening_pattern()
1182 stmt = use_stmt; in vect_recog_over_widening_pattern()
1324 gimple use_stmt; in vect_recog_widen_shift_pattern() local
1354 if (use_stmt && is_gimple_assign (use_stmt) in vect_recog_widen_shift_pattern()
[all …]
H A Dtree-ssa-dom.c2634 gimple use_stmt; in propagate_rhs_into_lhs() local
2656 if (gimple_debug_bind_p (use_stmt)) in propagate_rhs_into_lhs()
2660 if (gimple_code (use_stmt) == GIMPLE_ASM in propagate_rhs_into_lhs()
2702 if (gimple_code (use_stmt) == GIMPLE_PHI in propagate_rhs_into_lhs()
2742 update_stmt (use_stmt); in propagate_rhs_into_lhs()
2760 if (maybe_clean_or_replace_eh_stmt (use_stmt, use_stmt)) in propagate_rhs_into_lhs()
2790 gimple_cond_code (use_stmt), in propagate_rhs_into_lhs()
2795 val = gimple_switch_index (use_stmt); in propagate_rhs_into_lhs()
2797 val = gimple_goto_dest (use_stmt); in propagate_rhs_into_lhs()
2801 basic_block bb = gimple_bb (use_stmt); in propagate_rhs_into_lhs()
[all …]
H A Dtree-cfgcleanup.c553 gimple use_stmt; in fixup_noreturn_call() local
559 FOR_EACH_IMM_USE_STMT (use_stmt, iter, op) in fixup_noreturn_call()
561 if (gimple_code (use_stmt) != GIMPLE_PHI) in fixup_noreturn_call()
562 bitmap_set_bit (blocks, gimple_bb (use_stmt)->index); in fixup_noreturn_call()
968 gimple use_stmt; in merge_phi_nodes() local
976 if (!single_imm_use (result, &imm_use, &use_stmt) in merge_phi_nodes()
977 || gimple_code (use_stmt) != GIMPLE_PHI in merge_phi_nodes()
978 || gimple_bb (use_stmt) != dest in merge_phi_nodes()
979 || gimple_phi_arg_def (use_stmt, dest_idx) != result) in merge_phi_nodes()
H A Dtree-ssa-threadedge.c110 gimple use_stmt; in lhs_of_dominating_assert() local
115 use_stmt = USE_STMT (use_p); in lhs_of_dominating_assert()
116 if (use_stmt != stmt in lhs_of_dominating_assert()
117 && gimple_assign_single_p (use_stmt) in lhs_of_dominating_assert()
118 && TREE_CODE (gimple_assign_rhs1 (use_stmt)) == ASSERT_EXPR in lhs_of_dominating_assert()
119 && TREE_OPERAND (gimple_assign_rhs1 (use_stmt), 0) == op in lhs_of_dominating_assert()
120 && dominated_by_p (CDI_DOMINATORS, bb, gimple_bb (use_stmt))) in lhs_of_dominating_assert()
122 return gimple_assign_lhs (use_stmt); in lhs_of_dominating_assert()
H A Dtree-ssa-ter.c374 gimple use_stmt; in is_replaceable_p() local
392 if (!single_imm_use (def, &use_p, &use_stmt)) in is_replaceable_p()
396 if (ter && gimple_bb (use_stmt) != gimple_bb (stmt)) in is_replaceable_p()
402 if (gimple_code (use_stmt) == GIMPLE_PHI) in is_replaceable_p()
409 locus2 = gimple_location (use_stmt); in is_replaceable_p()
410 block2 = gimple_block (use_stmt); in is_replaceable_p()
419 if (gimple_code (use_stmt) == GIMPLE_PHI) in is_replaceable_p()
H A Dtree-ssa-uninit.c781 is_use_properly_guarded (gimple use_stmt,
1771 is_use_properly_guarded (gimple use_stmt, in is_use_properly_guarded() argument
1854 gimple use_stmt; in find_uninit_use() local
1864 use_stmt = USE_STMT (use_p); in find_uninit_use()
1865 if (is_gimple_debug (use_stmt)) in find_uninit_use()
1870 if (gimple_code (use_stmt) == GIMPLE_PHI) in find_uninit_use()
1871 use_bb = gimple_phi_arg_edge (use_stmt, in find_uninit_use()
1874 use_bb = gimple_bb (use_stmt); in find_uninit_use()
1876 if (is_use_properly_guarded (use_stmt, in find_uninit_use()
1894 return use_stmt; in find_uninit_use()
[all …]

1234