| /freebsd-12-stable/contrib/gcc/ |
| D | tree-complex.c | 182 block_stmt_iterator bsi; in init_dont_simulate_again() local 191 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in init_dont_simulate_again() 196 orig_stmt = stmt = bsi_stmt (bsi); in init_dont_simulate_again() 549 extract_component (block_stmt_iterator *bsi, tree t, bool imagpart_p, in extract_component() argument 573 t = gimplify_val (bsi, inner_type, t); in extract_component() 589 update_complex_components (block_stmt_iterator *bsi, tree stmt, tree r, tree i) in update_complex_components() argument 596 bsi_insert_after (bsi, list, BSI_CONTINUE_LINKING); in update_complex_components() 600 bsi_insert_after (bsi, list, BSI_CONTINUE_LINKING); in update_complex_components() 620 update_complex_assignment (block_stmt_iterator *bsi, tree r, tree i) in update_complex_assignment() argument 625 mod = stmt = bsi_stmt (*bsi); in update_complex_assignment() [all …]
|
| D | tree-vect-generic.c | 104 tree_vec_extract (block_stmt_iterator *bsi, tree type, in tree_vec_extract() argument 108 return gimplify_build3 (bsi, BIT_FIELD_REF, type, t, bitsize, bitpos); in tree_vec_extract() 110 return gimplify_build1 (bsi, VIEW_CONVERT_EXPR, type, t); in tree_vec_extract() 114 do_unop (block_stmt_iterator *bsi, tree inner_type, tree a, in do_unop() argument 118 a = tree_vec_extract (bsi, inner_type, a, bitsize, bitpos); in do_unop() 119 return gimplify_build1 (bsi, code, inner_type, a); in do_unop() 123 do_binop (block_stmt_iterator *bsi, tree inner_type, tree a, tree b, in do_binop() argument 126 a = tree_vec_extract (bsi, inner_type, a, bitsize, bitpos); in do_binop() 127 b = tree_vec_extract (bsi, inner_type, b, bitsize, bitpos); in do_binop() 128 return gimplify_build2 (bsi, code, inner_type, a, b); in do_binop() [all …]
|
| D | domwalk.c | 147 block_stmt_iterator bsi; in walk_dominator_tree() local 200 for (bsi = bsi_last (bb); !bsi_end_p (bsi); bsi_prev (&bsi)) in walk_dominator_tree() 202 bsi); in walk_dominator_tree() 204 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in walk_dominator_tree() 206 bsi); in walk_dominator_tree() 240 for (bsi = bsi_last (bb); !bsi_end_p (bsi); bsi_prev (&bsi)) in walk_dominator_tree() 242 bsi); in walk_dominator_tree() 244 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in walk_dominator_tree() 246 bsi); in walk_dominator_tree()
|
| D | value-prof.c | 107 block_stmt_iterator bsi; in tree_value_profile_transformations() local 116 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in tree_value_profile_transformations() 118 tree stmt = bsi_stmt (bsi); in tree_value_profile_transformations() 147 bsi = bsi_for_stmt (stmt); in tree_value_profile_transformations() 189 block_stmt_iterator bsi; in tree_divmod_fixed_value() local 192 bsi = bsi_for_stmt (stmt); in tree_divmod_fixed_value() 202 bsi_insert_before (&bsi, stmt1, BSI_SAME_STMT); in tree_divmod_fixed_value() 203 bsi_insert_before (&bsi, stmt2, BSI_SAME_STMT); in tree_divmod_fixed_value() 204 bsi_insert_before (&bsi, stmt3, BSI_SAME_STMT); in tree_divmod_fixed_value() 211 bsi_insert_before (&bsi, label1, BSI_SAME_STMT); in tree_divmod_fixed_value() [all …]
|
| D | tree-profile.c | 123 prepare_instrumented_value (block_stmt_iterator *bsi, in prepare_instrumented_value() argument 127 return force_gimple_operand_bsi (bsi, fold_convert (gcov_type_node, val), in prepare_instrumented_value() 139 block_stmt_iterator bsi = bsi_for_stmt (stmt); in tree_gen_interval_profiler() local 145 ref_ptr = force_gimple_operand_bsi (&bsi, in tree_gen_interval_profiler() 148 val = prepare_instrumented_value (&bsi, value); in tree_gen_interval_profiler() 155 bsi_insert_before (&bsi, call, BSI_SAME_STMT); in tree_gen_interval_profiler() 166 block_stmt_iterator bsi = bsi_for_stmt (stmt); in tree_gen_pow2_profiler() local 170 ref_ptr = force_gimple_operand_bsi (&bsi, in tree_gen_pow2_profiler() 173 val = prepare_instrumented_value (&bsi, value); in tree_gen_pow2_profiler() 178 bsi_insert_before (&bsi, call, BSI_SAME_STMT); in tree_gen_pow2_profiler() [all …]
|
| D | tree-sra.c | 660 block_stmt_iterator *bsi, bool is_output, bool use_all); 664 block_stmt_iterator *bsi); 668 void (*init) (struct sra_elt *elt, tree value, block_stmt_iterator *bsi); 674 block_stmt_iterator *bsi, bool is_output); 708 sra_walk_expr (tree *expr_p, block_stmt_iterator *bsi, bool is_output, in sra_walk_expr() argument 735 fns->use (elt, expr_p, bsi, is_output, use_all_p); in sra_walk_expr() 826 sra_walk_tree_list (tree list, block_stmt_iterator *bsi, bool is_output, in sra_walk_tree_list() argument 831 sra_walk_expr (&TREE_VALUE (op), bsi, is_output, fns); in sra_walk_tree_list() 838 sra_walk_call_expr (tree expr, block_stmt_iterator *bsi, in sra_walk_call_expr() argument 841 sra_walk_tree_list (TREE_OPERAND (expr, 1), bsi, false, fns); in sra_walk_call_expr() [all …]
|
| D | tree-optimize.c | 199 block_stmt_iterator bsi; in execute_free_cfg_annotations() local 206 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in execute_free_cfg_annotations() 208 tree stmt = bsi_stmt (bsi); in execute_free_cfg_annotations() 265 block_stmt_iterator bsi; in execute_fixup_cfg() local 270 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in execute_fixup_cfg() 272 tree stmt = bsi_stmt (bsi); in execute_fixup_cfg() 286 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in execute_fixup_cfg() 288 tree stmt = bsi_stmt (bsi); in execute_fixup_cfg()
|
| D | tree-tailcall.c | 200 independent_of_stmt_p (tree expr, tree at, block_stmt_iterator bsi) in independent_of_stmt_p() argument 214 call_bb = bb_for_stmt (bsi_stmt (bsi)); in independent_of_stmt_p() 230 for (; !bsi_end_p (bsi); bsi_next (&bsi)) in independent_of_stmt_p() 231 if (bsi_stmt (bsi) == at) in independent_of_stmt_p() 234 if (!bsi_end_p (bsi)) in independent_of_stmt_p() 378 block_stmt_iterator bsi, absi; in find_tail_calls() local 389 for (bsi = bsi_last (bb); !bsi_end_p (bsi); bsi_prev (&bsi)) in find_tail_calls() 391 stmt = bsi_stmt (bsi); in find_tail_calls() 421 if (bsi_end_p (bsi)) in find_tail_calls() 475 absi = bsi; in find_tail_calls() [all …]
|
| D | tree-ssa-threadupdate.c | 173 block_stmt_iterator bsi; in remove_ctrl_stmt_and_useless_edges() local 177 bsi = bsi_last (bb); in remove_ctrl_stmt_and_useless_edges() 184 if (!bsi_end_p (bsi) in remove_ctrl_stmt_and_useless_edges() 185 && bsi_stmt (bsi) in remove_ctrl_stmt_and_useless_edges() 186 && (TREE_CODE (bsi_stmt (bsi)) == COND_EXPR in remove_ctrl_stmt_and_useless_edges() 187 || TREE_CODE (bsi_stmt (bsi)) == GOTO_EXPR in remove_ctrl_stmt_and_useless_edges() 188 || TREE_CODE (bsi_stmt (bsi)) == SWITCH_EXPR)) in remove_ctrl_stmt_and_useless_edges() 189 bsi_remove (&bsi, true); in remove_ctrl_stmt_and_useless_edges() 662 block_stmt_iterator bsi; in redirection_block_p() local 665 bsi = bsi_start (bb); in redirection_block_p() [all …]
|
| D | tree-nrv.c | 111 block_stmt_iterator bsi; in tree_nrv() local 122 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in tree_nrv() 124 tree stmt = bsi_stmt (bsi); in tree_nrv() 204 for (bsi = bsi_start (bb); !bsi_end_p (bsi); ) in tree_nrv() 206 tree *tp = bsi_stmt_ptr (bsi); in tree_nrv() 211 bsi_remove (&bsi, true); in tree_nrv() 215 bsi_next (&bsi); in tree_nrv()
|
| D | tree-ssa-math-opts.c | 296 block_stmt_iterator bsi; in insert_reciprocals() local 314 bsi = bsi_after_labels (occ->bb); in insert_reciprocals() 315 while (!bsi_end_p (bsi) && !is_division_by (bsi_stmt (bsi), def)) in insert_reciprocals() 316 bsi_next (&bsi); in insert_reciprocals() 318 bsi_insert_before (&bsi, new_stmt, BSI_SAME_STMT); in insert_reciprocals() 331 bsi = bsi_after_labels (occ->bb); in insert_reciprocals() 332 bsi_insert_before (&bsi, new_stmt, BSI_SAME_STMT); in insert_reciprocals() 479 block_stmt_iterator bsi; in execute_cse_reciprocals() local 490 for (bsi = bsi_after_labels (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in execute_cse_reciprocals() 492 tree stmt = bsi_stmt (bsi); in execute_cse_reciprocals() [all …]
|
| D | tree-cfgcleanup.c | 72 cleanup_control_expr_graph (basic_block bb, block_stmt_iterator bsi) in cleanup_control_expr_graph() argument 76 tree expr = bsi_stmt (bsi), val; in cleanup_control_expr_graph() 141 bsi_remove (&bsi, true); in cleanup_control_expr_graph() 164 block_stmt_iterator bsi; local 179 bsi = bsi_last (bb); 185 if (bsi_end_p (bsi)) 188 stmt = bsi_stmt (bsi); 192 retval |= cleanup_control_expr_graph (bb, bsi); 236 bsi_remove (&bsi, true); 261 block_stmt_iterator bsi; in tree_forwarder_block_p() local [all …]
|
| D | tree-ssa-phiopt.c | 304 block_stmt_iterator bsi; in empty_block_p() local 307 bsi = bsi_start (bb); in empty_block_p() 308 while (!bsi_end_p (bsi) in empty_block_p() 309 && (TREE_CODE (bsi_stmt (bsi)) == LABEL_EXPR in empty_block_p() 310 || IS_EMPTY_STMT (bsi_stmt (bsi)))) in empty_block_p() 311 bsi_next (&bsi); in empty_block_p() 313 if (!bsi_end_p (bsi)) in empty_block_p() 329 block_stmt_iterator bsi; in replace_phi_edge_with_variable() local 357 bsi = bsi_last (cond_block); in replace_phi_edge_with_variable() 358 bsi_remove (&bsi, true); in replace_phi_edge_with_variable() [all …]
|
| D | tree-if-conv.c | 219 block_stmt_iterator *bsi) in tree_if_convert_stmt() argument 245 tree_if_convert_cond_expr (loop, t, cond, bsi); in tree_if_convert_stmt() 262 block_stmt_iterator *bsi) in tree_if_convert_cond_expr() argument 278 unshare_expr (c), bsi); in tree_if_convert_cond_expr() 282 add_to_dst_predicate_list (loop, false_edge, cond, c2, bsi); in tree_if_convert_cond_expr() 289 bsi_remove (bsi, true); in tree_if_convert_cond_expr() 614 block_stmt_iterator *bsi) in add_to_dst_predicate_list() argument 632 bsi_insert_before (bsi, tmp_stmts1, BSI_SAME_STMT); in add_to_dst_predicate_list() 637 bsi_insert_before (bsi, tmp_stmts2, BSI_SAME_STMT); in add_to_dst_predicate_list() 648 bsi_insert_before (bsi, tmp_stmt, BSI_SAME_STMT); in add_to_dst_predicate_list() [all …]
|
| D | tree-cfg.c | 271 block_stmt_iterator bsi = bsi_last (bb); in factor_computed_gotos() local 274 if (bsi_end_p (bsi)) in factor_computed_gotos() 276 last = bsi_stmt (bsi); in factor_computed_gotos() 319 bsi_insert_before (&bsi, assignment, BSI_SAME_STMT); in factor_computed_gotos() 832 block_stmt_iterator bsi = in label_to_block_fn() local 837 bsi_insert_before (&bsi, stmt, BSI_NEW_STMT); in label_to_block_fn() 853 block_stmt_iterator bsi; in make_abnormal_goto_edges() local 856 for (bsi = bsi_start (target_bb); !bsi_end_p (bsi); bsi_next (&bsi)) in make_abnormal_goto_edges() 858 tree target = bsi_stmt (bsi); in make_abnormal_goto_edges() 1190 block_stmt_iterator bsi; in tree_can_merge_blocks_p() local [all …]
|
| D | tree-ssa-threadedge.c | 59 block_stmt_iterator bsi; in potentially_threadable_block() local 68 bsi = bsi_last (bb); in potentially_threadable_block() 69 if (bsi_end_p (bsi) in potentially_threadable_block() 70 || ! bsi_stmt (bsi) in potentially_threadable_block() 71 || (TREE_CODE (bsi_stmt (bsi)) != COND_EXPR in potentially_threadable_block() 72 && TREE_CODE (bsi_stmt (bsi)) != GOTO_EXPR in potentially_threadable_block() 73 && TREE_CODE (bsi_stmt (bsi)) != SWITCH_EXPR)) in potentially_threadable_block() 217 block_stmt_iterator bsi; in record_temporary_equivalences_from_stmts_at_dest() local 227 for (bsi = bsi_start (e->dest); ! bsi_end_p (bsi); bsi_next (&bsi)) in record_temporary_equivalences_from_stmts_at_dest() 231 stmt = bsi_stmt (bsi); in record_temporary_equivalences_from_stmts_at_dest()
|
| D | tree-ssa-sink.c | 425 block_stmt_iterator bsi; in sink_code_in_bb() local 439 for (bsi = bsi_last (bb); !bsi_end_p (bsi);) in sink_code_in_bb() 441 tree stmt = bsi_stmt (bsi); in sink_code_in_bb() 448 if (!bsi_end_p (bsi)) in sink_code_in_bb() 449 bsi_prev (&bsi); in sink_code_in_bb() 468 bsi_move_to_bb_end (&bsi, bb_for_stmt (sinkstmt)); in sink_code_in_bb() 470 bsi_move_before (&bsi, &tobsi); in sink_code_in_bb() 473 if (!bsi_end_p (bsi)) in sink_code_in_bb() 474 bsi_prev (&bsi); in sink_code_in_bb()
|
| D | tree-ssa-dse.c | 227 block_stmt_iterator bsi) in dse_optimize_stmt() argument 232 tree stmt = bsi_stmt (bsi); in dse_optimize_stmt() 342 print_generic_expr (dump_file, bsi_stmt (bsi), dump_flags); in dse_optimize_stmt() 352 bsi_remove (&bsi, true); in dse_optimize_stmt() 411 block_stmt_iterator bsi; in tree_ssa_dse() local 413 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in tree_ssa_dse() 414 stmt_ann (bsi_stmt (bsi))->uid = max_stmt_uid++; in tree_ssa_dse()
|
| D | tree-ssa-loop-im.c | 582 block_stmt_iterator bsi; in determine_invariantness_stmt() local 594 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in determine_invariantness_stmt() 596 stmt = bsi_stmt (bsi); in determine_invariantness_stmt() 642 bsi_replace (&bsi, stmt1, true); in determine_invariantness_stmt() 643 bsi_insert_after (&bsi, stmt2, BSI_NEW_STMT); in determine_invariantness_stmt() 721 block_stmt_iterator bsi; in move_computations_stmt() local 728 for (bsi = bsi_start (bb); !bsi_end_p (bsi); ) in move_computations_stmt() 730 stmt = bsi_stmt (bsi); in move_computations_stmt() 734 bsi_next (&bsi); in move_computations_stmt() 745 bsi_next (&bsi); in move_computations_stmt() [all …]
|
| D | tree-ssa-loop-ivcanon.c | 120 block_stmt_iterator bsi; in tree_num_loop_insns() local 124 for (bsi = bsi_start (body[i]); !bsi_end_p (bsi); bsi_next (&bsi)) in tree_num_loop_insns() 125 size += estimate_num_insns (bsi_stmt (bsi)); in tree_num_loop_insns() 405 block_stmt_iterator bsi; in empty_loop_p() local 444 for (bsi = bsi_start (body[i]); !bsi_end_p (bsi); bsi_next (&bsi)) in empty_loop_p() 446 stmt = bsi_stmt (bsi); in empty_loop_p()
|
| D | tree-ssa-loop-manip.c | 280 block_stmt_iterator bsi; in find_uses_to_rename_bb() local 290 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in find_uses_to_rename_bb() 291 find_uses_to_rename_stmt (bsi_stmt (bsi), use_blocks, need_phis); in find_uses_to_rename_bb() 422 block_stmt_iterator bsi; in verify_loop_closed_ssa() local 438 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in verify_loop_closed_ssa() 439 check_loop_closed_ssa_stmt (bb, bsi_stmt (bsi)); in verify_loop_closed_ssa() 544 standard_iv_increment_position (struct loop *loop, block_stmt_iterator *bsi, in standard_iv_increment_position() argument 553 *bsi = bsi_last (latch); in standard_iv_increment_position() 558 *bsi = bsi_last (bb); in standard_iv_increment_position() 851 block_stmt_iterator bsi; in tree_unroll_loop() local [all …]
|
| D | tree-ssa-forwprop.c | 562 block_stmt_iterator bsi = bsi_for_stmt (def); in forward_propagate_into_cond() local 563 bsi_remove (&bsi, true); in forward_propagate_into_cond() 975 block_stmt_iterator bsi; in tree_ssa_forward_propagate_single_use_vars() local 978 for (bsi = bsi_start (bb); !bsi_end_p (bsi); ) in tree_ssa_forward_propagate_single_use_vars() 980 tree stmt = bsi_stmt (bsi); in tree_ssa_forward_propagate_single_use_vars() 992 bsi_next (&bsi); in tree_ssa_forward_propagate_single_use_vars() 1000 bsi_remove (&bsi, true); in tree_ssa_forward_propagate_single_use_vars() 1002 bsi_next (&bsi); in tree_ssa_forward_propagate_single_use_vars() 1011 bsi_next (&bsi); in tree_ssa_forward_propagate_single_use_vars() 1014 bsi_next (&bsi); in tree_ssa_forward_propagate_single_use_vars() [all …]
|
| D | tree-ssa-loop-ch.c | 54 block_stmt_iterator bsi; in should_duplicate_loop_header_p() local 80 for (bsi = bsi_start (header); !bsi_end_p (bsi); bsi_next (&bsi)) in should_duplicate_loop_header_p() 82 last = bsi_stmt (bsi); in should_duplicate_loop_header_p()
|
| D | tree-ssa-reassoc.c | 1024 negate_value (tree tonegate, block_stmt_iterator *bsi) 1040 block_stmt_iterator bsi; local 1043 bsi = bsi_for_stmt (negatedef); 1045 &bsi); 1046 bsi = bsi_for_stmt (negatedef); 1048 &bsi); 1054 resultofnegate = force_gimple_operand_bsi (bsi, tonegate, true, 1096 break_up_subtract (tree stmt, block_stmt_iterator *bsi) in break_up_subtract() argument 1107 TREE_OPERAND (rhs, 1) = negate_value (TREE_OPERAND (rhs, 1), bsi); in break_up_subtract() 1261 block_stmt_iterator bsi; in break_up_subtract_bb() local [all …]
|
| D | tree-ssa.c | 717 block_stmt_iterator bsi; in verify_ssa() local 740 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in verify_ssa() 742 tree stmt = bsi_stmt (bsi); in verify_ssa() 853 block_stmt_iterator bsi; in delete_tree_ssa() local 872 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in delete_tree_ssa() 874 tree stmt = bsi_stmt (bsi); in delete_tree_ssa() 1249 block_stmt_iterator bsi; in execute_early_warn_uninitialized() local 1253 for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) in execute_early_warn_uninitialized() 1255 tree context = bsi_stmt (bsi); in execute_early_warn_uninitialized() 1256 walk_tree (bsi_stmt_ptr (bsi), warn_uninitialized_var, in execute_early_warn_uninitialized()
|