Home
last modified time | relevance | path

Searched refs:use_p (Results 1 – 25 of 97) sorted by relevance

1234

/dragonfly/contrib/gcc-8.0/gcc/
HDtree-ssa-sink.c108 use_operand_p use_p; in all_immediate_uses_same_place() local
111 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, var) in all_immediate_uses_same_place()
113 if (is_gimple_debug (USE_STMT (use_p))) in all_immediate_uses_same_place()
116 firstuse = USE_STMT (use_p); in all_immediate_uses_same_place()
118 if (firstuse != USE_STMT (use_p)) in all_immediate_uses_same_place()
136 use_operand_p use_p; in nearest_common_dominator_of_uses() local
138 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, var) in nearest_common_dominator_of_uses()
140 gimple *usestmt = USE_STMT (use_p); in nearest_common_dominator_of_uses()
145 int idx = PHI_ARG_INDEX_FROM_USE (use_p); in nearest_common_dominator_of_uses()
252 use_operand_p use_p; in statement_sink_location() local
[all …]
HDssa-iterators.h124 use_operand_p *use_p, gimple **stmt);
419 single_imm_use (const_tree var, use_operand_p *use_p, gimple **stmt) in single_imm_use() argument
427 *use_p = NULL_USE_OPERAND_P; in single_imm_use()
437 *use_p = ptr->next; in single_imm_use()
445 return single_imm_use_1 (ptr, use_p, stmt); in single_imm_use()
486 use_operand_p use_p; in op_iter_next_use() local
490 use_p = USE_OP_PTR (ptr->uses); in op_iter_next_use()
492 return use_p; in op_iter_next_use()
860 move_use_after_head (use_operand_p use_p, use_operand_p head, in move_use_after_head() argument
863 gcc_checking_assert (USE_FROM_PTR (use_p) == USE_FROM_PTR (head)); in move_use_after_head()
[all …]
HDtree-ssa-operands.c455 append_use (tree *use_p) in append_use() argument
457 build_uses.safe_push (use_p); in append_use()
956 use_operand_p use_p; in verify_ssa_operands() local
996 && ((use_p = gimple_vuse_op (stmt)) == NULL_USE_OPERAND_P in verify_ssa_operands()
997 || USE_FROM_PTR (use_p) != gimple_vuse (stmt))) in verify_ssa_operands()
1003 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in verify_ssa_operands()
1008 if (use_p->use == op) in verify_ssa_operands()
1017 debug_generic_expr (USE_FROM_PTR (use_p)); in verify_ssa_operands()
1234 use_operand_p use_p; in dump_immediate_uses_for() local
1248 FOR_EACH_IMM_USE_FAST (use_p, iter, var) in dump_immediate_uses_for()
[all …]
HDtree-into-ssa.c644 use_operand_p use_p; in mark_def_sites() local
657 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in mark_def_sites()
659 tree sym = USE_FROM_PTR (use_p); in mark_def_sites()
670 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_ALL_USES) in mark_def_sites()
672 tree sym = USE_FROM_PTR (use_p); in mark_def_sites()
1100 use_operand_p use_p; in insert_phi_nodes() local
1104 FOR_EACH_IMM_USE_ON_STMT (use_p, it) in insert_phi_nodes()
1105 SET_USE (use_p, var); in insert_phi_nodes()
1245 use_operand_p use_p; in rewrite_debug_stmt_uses() local
1249 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in rewrite_debug_stmt_uses()
[all …]
HDgimple-ssa-split-paths.c213 use_operand_p use_p; in is_feasible_trace() local
215 FOR_EACH_IMM_USE_FAST (use_p, iter, gimple_phi_result (phi)) in is_feasible_trace()
217 gimple *stmt = USE_STMT (use_p); in is_feasible_trace()
286 use_operand_p use_p; in is_feasible_trace() local
288 FOR_EACH_IMM_USE_FAST (use_p, iter, op) in is_feasible_trace()
290 if (is_gimple_debug (USE_STMT (use_p))) in is_feasible_trace()
292 if (gimple_bb (USE_STMT (use_p)) == bb) in is_feasible_trace()
HDgimple-loop-interchange.cc246 use_operand_p use_p; in single_use_in_loop() local
249 FOR_EACH_IMM_USE_FAST (use_p, iterator, var) in single_use_in_loop()
251 stmt = USE_STMT (use_p); in single_use_in_loop()
471 use_operand_p use_p; in analyze_iloop_reduction_var() local
505 if (! single_imm_use (var, &use_p, &single_use) in analyze_iloop_reduction_var()
516 && use_p->use == gimple_assign_rhs1_ptr (ass))) in analyze_iloop_reduction_var()
532 FOR_EACH_IMM_USE_FAST (use_p, iterator, init) in analyze_iloop_reduction_var()
534 stmt = USE_STMT (use_p); in analyze_iloop_reduction_var()
542 FOR_EACH_IMM_USE_FAST (use_p, iterator, next) in analyze_iloop_reduction_var()
544 stmt = USE_STMT (use_p); in analyze_iloop_reduction_var()
[all …]
HDsese.c74 use_operand_p use_p; in sese_build_liveouts_bb() local
78 FOR_EACH_PHI_ARG (use_p, bsi.phi (), iter, SSA_OP_USE) in sese_build_liveouts_bb()
80 bb, USE_FROM_PTR (use_p)); in sese_build_liveouts_bb()
91 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in sese_build_liveouts_bb()
92 sese_build_liveouts_use (region, liveouts, bb, USE_FROM_PTR (use_p)); in sese_build_liveouts_bb()
390 use_operand_p use_p; in invariant_in_sese_p_rec() local
391 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in invariant_in_sese_p_rec()
393 tree use = USE_FROM_PTR (use_p); in invariant_in_sese_p_rec()
HDtree-ssa-phionlycprop.c112 use_operand_p use_p; in propagate_rhs_into_lhs() local
169 FOR_EACH_IMM_USE_ON_STMT (use_p, iter) in propagate_rhs_into_lhs()
170 propagate_value (use_p, rhs); in propagate_rhs_into_lhs()
381 use_operand_p use_p; in eliminate_const_or_copy() local
385 FOR_EACH_IMM_USE_ON_STMT (use_p, iter) in eliminate_const_or_copy()
386 SET_USE (use_p, rhs); in eliminate_const_or_copy()
HDgimple-ssa-nonnull-compare.c49 use_operand_p use_p; in do_warn_nonnull_compare() local
52 FOR_EACH_IMM_USE_FAST (use_p, iter, d) in do_warn_nonnull_compare()
54 gimple *stmt = USE_STMT (use_p); in do_warn_nonnull_compare()
HDvtable-verify.c555 use_operand_p use_p; in var_is_used_for_virtual_call_p() local
577 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, lhs) in var_is_used_for_virtual_call_p()
579 gimple *stmt2 = USE_STMT (use_p); in var_is_used_for_virtual_call_p()
770 use_operand_p use_p; in verify_bb_vtables() local
773 FOR_EACH_IMM_USE_ON_STMT (use_p, iterator) in verify_bb_vtables()
774 SET_USE (use_p, tmp0); in verify_bb_vtables()
HDtree-ssa-math-opts.c463 replace_reciprocal_squares (use_operand_p use_p) in replace_reciprocal_squares() argument
465 gimple *use_stmt = USE_STMT (use_p); in replace_reciprocal_squares()
475 SET_USE (use_p, occ->square_recip_def); in replace_reciprocal_squares()
486 replace_reciprocal (use_operand_p use_p) in replace_reciprocal() argument
488 gimple *use_stmt = USE_STMT (use_p); in replace_reciprocal()
497 SET_USE (use_p, occ->recip_def); in replace_reciprocal()
539 use_operand_p use_p, square_use_p; in execute_cse_reciprocals_1() local
568 FOR_EACH_IMM_USE_FAST (use_p, use_iter, op0) in execute_cse_reciprocals_1()
570 gimple *use_stmt = USE_STMT (use_p); in execute_cse_reciprocals_1()
576 FOR_EACH_IMM_USE_FAST (use_p, use_iter, def) in execute_cse_reciprocals_1()
[all …]
HDtree-ssa-dce.c964 use_operand_p use_p; in remove_dead_phis() local
968 FOR_EACH_IMM_USE_ON_STMT (use_p, iter) in remove_dead_phis()
969 SET_USE (use_p, vuse); in remove_dead_phis()
1133 use_operand_p use_p; in maybe_optimize_arith_overflow() local
1137 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, lhs) in maybe_optimize_arith_overflow()
1139 gimple *use_stmt = USE_STMT (use_p); in maybe_optimize_arith_overflow()
1305 use_operand_p use_p; in eliminate_unnecessary_stmts() local
1307 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in eliminate_unnecessary_stmts()
1309 tree name = USE_FROM_PTR (use_p); in eliminate_unnecessary_stmts()
1749 use_operand_p use_p; in simple_dce_from_worklist() local
[all …]
HDtree-ssa.c304 use_operand_p use_p; in insert_debug_temp_for_var_def() local
320 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, var) in insert_debug_temp_for_var_def()
322 stmt = USE_STMT (use_p); in insert_debug_temp_for_var_def()
464 FOR_EACH_IMM_USE_ON_STMT (use_p, imm_iter) in insert_debug_temp_for_var_def()
470 SET_USE (use_p, unshare_expr (value)); in insert_debug_temp_for_var_def()
851 verify_use (basic_block bb, basic_block def_bb, use_operand_p use_p, in verify_use() argument
855 tree ssa_name = USE_FROM_PTR (use_p); in verify_use()
895 if (use_p->prev == NULL) in verify_use()
903 if (use_p->prev->use == NULL) in verify_use()
904 listvar = use_p->prev->loc.ssa_name; in verify_use()
[all …]
HDtree-if-conv.c1590 use_operand_p use_p; in is_cond_scalar_reduction() local
1654 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, r_op1) in is_cond_scalar_reduction()
1656 gimple *use_stmt = USE_STMT (use_p); in is_cond_scalar_reduction()
2484 use_operand_p use_p; in combine_blocks() local
2488 FOR_EACH_IMM_USE_ON_STMT (use_p, iter) in combine_blocks()
2489 SET_USE (use_p, last_vdef); in combine_blocks()
2505 use_operand_p use_p = ssa_vuse_operand (stmt); in combine_blocks() local
2506 if (use_p in combine_blocks()
2507 && USE_FROM_PTR (use_p) != last_vdef) in combine_blocks()
2508 SET_USE (use_p, last_vdef); in combine_blocks()
[all …]
HDgimple-ssa-backprop.c504 use_operand_p use_p; in intersect_uses() local
506 FOR_EACH_IMM_USE_FAST (use_p, iter, var) in intersect_uses()
508 gimple *stmt = USE_STMT (use_p); in intersect_uses()
545 use_operand_p use_p; in reprocess_inputs() local
547 FOR_EACH_PHI_OR_STMT_USE (use_p, stmt, oi, SSA_OP_USE) in reprocess_inputs()
549 tree var = get_use_from_ptr (use_p); in reprocess_inputs()
HDtree-dfa.c868 use_operand_p use_p; in stmt_references_abnormal_ssa_name() local
870 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, oi, SSA_OP_USE) in stmt_references_abnormal_ssa_name()
872 if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (USE_FROM_PTR (use_p))) in stmt_references_abnormal_ssa_name()
886 use_operand_p use_p; in replace_abnormal_ssa_names() local
888 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, oi, SSA_OP_USE) in replace_abnormal_ssa_names()
890 tree op = USE_FROM_PTR (use_p); in replace_abnormal_ssa_names()
897 SET_USE (use_p, new_name); in replace_abnormal_ssa_names()
/dragonfly/contrib/gcc-4.7/gcc/
HDtree-ssa-sink.c115 use_operand_p use_p; in all_immediate_uses_same_place() local
120 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, var) in all_immediate_uses_same_place()
122 if (is_gimple_debug (USE_STMT (use_p))) in all_immediate_uses_same_place()
125 firstuse = USE_STMT (use_p); in all_immediate_uses_same_place()
127 if (firstuse != USE_STMT (use_p)) in all_immediate_uses_same_place()
218 use_operand_p use_p; in nearest_common_dominator_of_uses() local
224 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, var) in nearest_common_dominator_of_uses()
226 gimple usestmt = USE_STMT (use_p); in nearest_common_dominator_of_uses()
231 int idx = PHI_ARG_INDEX_FROM_USE (use_p); in nearest_common_dominator_of_uses()
339 use_operand_p use_p; in statement_sink_location() local
[all …]
HDtree-flow-inline.h326 use_operand_p *use_p, gimple *stmt);
371 single_imm_use (const_tree var, use_operand_p *use_p, gimple *stmt) in single_imm_use() argument
379 *use_p = NULL_USE_OPERAND_P; in single_imm_use()
389 *use_p = ptr->next; in single_imm_use()
401 return single_imm_use_1 (ptr, use_p, stmt); in single_imm_use()
653 use_operand_p use_p; in op_iter_next_use() local
657 use_p = USE_OP_PTR (ptr->uses); in op_iter_next_use()
659 return use_p; in op_iter_next_use()
877 use_operand_p use_p; in delink_stmt_imm_use() local
880 FOR_EACH_PHI_OR_STMT_USE (use_p, stmt, iter, SSA_OP_ALL_USES) in delink_stmt_imm_use()
[all …]
HDtree-ssa-threadedge.c111 use_operand_p use_p; in lhs_of_dominating_assert() local
113 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, op) in lhs_of_dominating_assert()
115 use_stmt = USE_STMT (use_p); in lhs_of_dominating_assert()
388 use_operand_p use_p; in record_temporary_equivalences_from_stmts_at_dest() local
396 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE | SSA_OP_VUSE) in record_temporary_equivalences_from_stmts_at_dest()
399 tree use = USE_FROM_PTR (use_p); in record_temporary_equivalences_from_stmts_at_dest()
405 SET_USE (use_p, tmp); in record_temporary_equivalences_from_stmts_at_dest()
422 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE | SSA_OP_VUSE) in record_temporary_equivalences_from_stmts_at_dest()
423 SET_USE (use_p, copy[i++]); in record_temporary_equivalences_from_stmts_at_dest()
588 use_operand_p use_p; in cond_arg_set_in_bb() local
[all …]
HDtree-ssa-operands.c597 append_use (tree *use_p) in append_use() argument
599 VEC_safe_push (tree, heap, build_uses, (tree) use_p); in append_use()
1108 use_operand_p use_p; in verify_ssa_operands() local
1148 && ((use_p = gimple_vuse_op (stmt)) == NULL_USE_OPERAND_P in verify_ssa_operands()
1149 || USE_FROM_PTR (use_p) != gimple_vuse (stmt))) in verify_ssa_operands()
1155 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in verify_ssa_operands()
1159 if (use_p->use == (tree *)use) in verify_ssa_operands()
1168 debug_generic_expr (USE_FROM_PTR (use_p)); in verify_ssa_operands()
1404 use_operand_p use_p; in dump_immediate_uses_for() local
1418 FOR_EACH_IMM_USE_FAST (use_p, iter, var) in dump_immediate_uses_for()
[all …]
HDtree-into-ssa.c736 use_operand_p use_p; in mark_def_sites() local
749 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in mark_def_sites()
751 tree sym = USE_FROM_PTR (use_p); in mark_def_sites()
762 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in mark_def_sites()
764 tree sym = USE_FROM_PTR (use_p); in mark_def_sites()
1297 use_operand_p use_p; in rewrite_debug_stmt_uses() local
1301 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) in rewrite_debug_stmt_uses()
1303 tree var = USE_FROM_PTR (use_p), def = NULL_TREE; in rewrite_debug_stmt_uses()
1387 SET_USE (use_p, def); in rewrite_debug_stmt_uses()
1400 use_operand_p use_p; in rewrite_stmt() local
[all …]
HDsese.c220 use_operand_p use_p; in sese_build_liveouts_bb() local
234 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_ALL_USES) in sese_build_liveouts_bb()
235 sese_build_liveouts_use (region, liveouts, bb, USE_FROM_PTR (use_p)); in sese_build_liveouts_bb()
277 use_operand_p use_p; in sese_reset_debug_liveouts_bb() local
286 FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_ALL_USES) in sese_reset_debug_liveouts_bb()
288 USE_FROM_PTR (use_p))) in sese_reset_debug_liveouts_bb()
469 use_operand_p use_p; in rename_uses() local
485 FOR_EACH_SSA_USE_OPERAND (use_p, copy, op_iter, SSA_OP_ALL_USES) in rename_uses()
487 tree old_name = USE_FROM_PTR (use_p); in rename_uses()
517 replace_exp (use_p, new_expr); in rename_uses()
[all …]
HDtree-ssa.c309 use_operand_p use_p; in insert_debug_temp_for_var_def() local
325 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, var) in insert_debug_temp_for_var_def()
327 stmt = USE_STMT (use_p); in insert_debug_temp_for_var_def()
469 FOR_EACH_IMM_USE_ON_STMT (use_p, imm_iter) in insert_debug_temp_for_var_def()
475 SET_USE (use_p, value); in insert_debug_temp_for_var_def()
744 verify_use (basic_block bb, basic_block def_bb, use_operand_p use_p, in verify_use() argument
748 tree ssa_name = USE_FROM_PTR (use_p); in verify_use()
788 if (use_p->prev == NULL) in verify_use()
796 if (use_p->prev->use == NULL) in verify_use()
797 listvar = use_p->prev->loc.ssa_name; in verify_use()
[all …]
HDtree-ssa-math-opts.c392 replace_reciprocal (use_operand_p use_p) in replace_reciprocal() argument
394 gimple use_stmt = USE_STMT (use_p); in replace_reciprocal()
403 SET_USE (use_p, occ->recip_def); in replace_reciprocal()
445 use_operand_p use_p; in execute_cse_reciprocals_1() local
452 FOR_EACH_IMM_USE_FAST (use_p, use_iter, def) in execute_cse_reciprocals_1()
454 gimple use_stmt = USE_STMT (use_p); in execute_cse_reciprocals_1()
477 FOR_EACH_IMM_USE_ON_STMT (use_p, use_iter) in execute_cse_reciprocals_1()
478 replace_reciprocal (use_p); in execute_cse_reciprocals_1()
577 use_operand_p use_p; in execute_cse_reciprocals() local
590 FOR_EACH_IMM_USE_FAST (use_p, ui, arg1) in execute_cse_reciprocals()
[all …]
HDtree-vect-loop.c1780 use_operand_p use_p; in vect_is_slp_reduction() local
1793 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, lhs) in vect_is_slp_reduction()
1795 gimple use_stmt = USE_STMT (use_p); in vect_is_slp_reduction()
1799 use_stmt = USE_STMT (use_p); in vect_is_slp_reduction()
2001 use_operand_p use_p; in vect_is_simple_reduction_1() local
2019 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, name) in vect_is_simple_reduction_1()
2021 gimple use_stmt = USE_STMT (use_p); in vect_is_simple_reduction_1()
2081 FOR_EACH_IMM_USE_FAST (use_p, imm_iter, name) in vect_is_simple_reduction_1()
2083 gimple use_stmt = USE_STMT (use_p); in vect_is_simple_reduction_1()
3006 use_operand_p use_p; in get_initial_def_for_induction() local
[all …]

1234