| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | tree-ssa-threadedge.cc | 137 || (gimple_code (gsi_stmt (gsi)) != GIMPLE_COND in potentially_threadable_block() 138 && gimple_code (gsi_stmt (gsi)) != GIMPLE_GOTO in potentially_threadable_block() 139 && gimple_code (gsi_stmt (gsi)) != GIMPLE_SWITCH)) in potentially_threadable_block() 170 && gimple_code (SSA_NAME_DEF_STMT (src)) == GIMPLE_PHI in record_temporary_equivalences_from_phis() 233 if (gimple_code (stmt) == GIMPLE_NOP in record_temporary_equivalences_from_stmts_at_dest() 234 || gimple_code (stmt) == GIMPLE_LABEL in record_temporary_equivalences_from_stmts_at_dest() 241 if (gimple_code (stmt) == GIMPLE_ASM in record_temporary_equivalences_from_stmts_at_dest() 247 if (gimple_code (stmt) == GIMPLE_CALL in record_temporary_equivalences_from_stmts_at_dest() 284 if ((gimple_code (stmt) != GIMPLE_ASSIGN in record_temporary_equivalences_from_stmts_at_dest() 286 && (gimple_code (stmt) != GIMPLE_CALL in record_temporary_equivalences_from_stmts_at_dest() [all …]
|
| D | omp-oacc-kernels-decompose.cc | 92 if (gimple_code (stmt) == GIMPLE_OMP_FOR) in top_level_omp_for_in_stmt() 95 if (gimple_code (stmt) == GIMPLE_BIND) in top_level_omp_for_in_stmt() 103 if (gimple_code (maybe_for_or_try) == GIMPLE_OMP_FOR) in top_level_omp_for_in_stmt() 105 else if (gimple_code (maybe_for_or_try) == GIMPLE_TRY) in top_level_omp_for_in_stmt() 111 if (gimple_code (maybe_omp_for_stmt) == GIMPLE_OMP_FOR) in top_level_omp_for_in_stmt() 123 if (gimple_code (body_stmt) == GIMPLE_ASSIGN) in top_level_omp_for_in_stmt() 125 else if (gimple_code (body_stmt) == GIMPLE_OMP_FOR in top_level_omp_for_in_stmt() 147 switch (gimple_code (stmt)) in adjust_region_code_walk_stmt_fn() 237 switch (gimple_code (stmt)) in visit_loops_in_gang_single_region() 436 if (gimple_code (stmt) == GIMPLE_OMP_FOR) in adjust_nested_loop_clauses() [all …]
|
| D | gimple-ssa-split-paths.cc | 64 if (!last || gimple_code (last) != GIMPLE_COND) in find_block_to_duplicate_for_splitting_paths() 84 if (!last || gimple_code (last) != GIMPLE_COND) in find_block_to_duplicate_for_splitting_paths() 180 && gimple_code (stmt1) == GIMPLE_ASSIGN in is_feasible_trace() 181 && gimple_code (stmt2) == GIMPLE_ASSIGN) in is_feasible_trace() 228 if (stmt1 && gimple_code (stmt1) == GIMPLE_ASSIGN) in is_feasible_trace() 271 if (cond_stmt && gimple_code (cond_stmt) == GIMPLE_COND) in is_feasible_trace() 324 if (gimple_code (stmt) == GIMPLE_PHI in is_feasible_trace()
|
| D | tree-tailcall.cc | 240 if (gimple_code (at) != GIMPLE_PHI) in independent_of_stmt_p() 436 if (gimple_code (stmt) == GIMPLE_LABEL in find_tail_calls() 437 || gimple_code (stmt) == GIMPLE_RETURN in find_tail_calls() 438 || gimple_code (stmt) == GIMPLE_NOP in find_tail_calls() 439 || gimple_code (stmt) == GIMPLE_PREDICT in find_tail_calls() 646 if (gimple_code (stmt) == GIMPLE_RETURN) in find_tail_calls() 649 if (gimple_code (stmt) == GIMPLE_LABEL in find_tail_calls() 650 || gimple_code (stmt) == GIMPLE_NOP in find_tail_calls() 651 || gimple_code (stmt) == GIMPLE_PREDICT in find_tail_calls() 656 if (gimple_code (stmt) != GIMPLE_ASSIGN) in find_tail_calls() [all …]
|
| D | tree-ssa-threadbackward.cc | 273 switch (gimple_code (m_last_stmt)) in find_taken_edge() 442 && gimple_code (def_stmt) == GIMPLE_PHI) in find_paths_to_names() 478 || (gimple_code (stmt) != GIMPLE_COND in find_paths() 479 && gimple_code (stmt) != GIMPLE_SWITCH)) in find_paths() 510 enum gimple_code code = gimple_code (stmt); in get_gimple_control_stmt() 527 enum gimple_code code = gimple_code (stmt); in maybe_thread_block() 699 if (gimple_code (stmt) != GIMPLE_NOP in profitable_path_p() 714 if (last && (gimple_code (last) == GIMPLE_SWITCH in profitable_path_p() 715 || gimple_code (last) == GIMPLE_GOTO)) in profitable_path_p()
|
| D | tree-ssa-dom.cc | 441 if (gimple_code (stmt) == GIMPLE_SWITCH) in record_edge_info() 485 if (gimple_code (stmt) == GIMPLE_COND) in record_edge_info() 1386 if (gimple_code (stmt) != GIMPLE_ASSIGN) in simple_iv_increment_p() 1404 while (gimple_code (phi) != GIMPLE_PHI) in simple_iv_increment_p() 1616 if (gimple_code (stmt) == GIMPLE_PHI) in eliminate_redundant_computations() 1643 else if (gimple_code (stmt) == GIMPLE_COND) in eliminate_redundant_computations() 1653 else if (gimple_code (stmt) == GIMPLE_PHI) in eliminate_redundant_computations() 1845 if (gimple_code (stmt) == GIMPLE_ASM in cprop_operand() 1861 if (gimple_code (def) == GIMPLE_PHI in cprop_operand() 1944 if (is_gimple_assign (stmt) || gimple_code (stmt) == GIMPLE_COND) in test_for_singularity() [all …]
|
| D | function-tests.cc | 475 ASSERT_EQ (GIMPLE_BIND, gimple_code (bind_stmt)); in test_gimplification() 484 ASSERT_EQ (GIMPLE_ASSIGN, gimple_code (stmt1)); in test_gimplification() 488 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt2)); in test_gimplification() 532 ASSERT_EQ (GIMPLE_ASSIGN, gimple_code (stmt_a)); in test_building_cfg() 534 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt_b)); in test_building_cfg() 564 ASSERT_EQ (GIMPLE_ASSIGN, gimple_code (stmt_a)); in test_conversion_to_ssa() 567 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt_b)); in test_conversion_to_ssa()
|
| D | gimple.cc | 96 const enum gimple_code gassign::code_; 97 const enum gimple_code gcall::code_; 98 const enum gimple_code gcond::code_; 108 gimple_set_code (gimple *g, enum gimple_code code) in gimple_set_code() 117 gimple_size (enum gimple_code code, unsigned num_ops) in gimple_size() 128 gimple_init (gimple *g, enum gimple_code code, unsigned num_ops) in gimple_init() 143 gimple_alloc (enum gimple_code code, unsigned num_ops MEM_STAT_DECL) in gimple_alloc() 182 gimple_build_with_ops_stat (enum gimple_code code, unsigned subcode, in gimple_build_with_ops_stat() 1289 const char *function, enum gimple_code code, in gimple_check_failed() 1295 gimple_code_name[gimple_code (gs)], in gimple_check_failed() [all …]
|
| D | tree-ssa-tail-merge.cc | 347 if (gimple_code (USE_STMT (use_p)) == GIMPLE_PHI in stmt_local_def() 482 hstate.add_int (gimple_code (stmt)); in same_succ_hash() 608 if (gimple_code (s1) != gimple_code (s2)) in equal() 1132 if (gimple_code (s1) != gimple_code (s2)) in gimple_equal_p() 1135 switch (gimple_code (s1)) in gimple_equal_p() 1311 if (gimple_code (stmt1) == GIMPLE_LABEL in find_duplicate() 1312 && gimple_code (stmt2) == GIMPLE_LABEL) in find_duplicate() 1327 while (!gsi_end_p (gsi1) && gimple_code (gsi_stmt (gsi1)) == GIMPLE_LABEL) in find_duplicate() 1334 while (!gsi_end_p (gsi2) && gimple_code (gsi_stmt (gsi2)) == GIMPLE_LABEL) in find_duplicate() 1616 if (!gsi_end_p (gsi1) && gimple_code (gsi_stmt (gsi1)) == GIMPLE_LABEL) in replace_block_by() [all …]
|
| D | gimple.h | 30 enum gimple_code { enum 48 const char *, enum gimple_code, \ 55 if (gimple_code (__gs) != (CODE)) \ 228 ENUM_BITFIELD(gimple_code) code : 8; 376 static const enum gimple_code code_ = GIMPLE_CALL; 884 static const enum gimple_code code_ = GIMPLE_COND; 934 static const enum gimple_code code_ = GIMPLE_ASSIGN; 1515 size_t gimple_size (enum gimple_code code, unsigned num_ops = 0); 1516 void gimple_init (gimple *g, enum gimple_code code, unsigned num_ops); 1517 gimple *gimple_alloc (enum gimple_code, unsigned CXX_MEM_STAT_INFO); [all …]
|
| D | tree-ssa-propagate.cc | 157 if (gimple_code (use_stmt) == GIMPLE_PHI in add_ssa_edge() 224 if (gimple_code (stmt) == GIMPLE_PHI) in simulate_stmt() 271 if (gimple_code (stmt) == GIMPLE_PHI) in simulate_stmt() 532 if (gimple_code (stmt) != GIMPLE_ASSIGN in stmt_makes_single_store() 533 && gimple_code (stmt) != GIMPLE_CALL) in stmt_makes_single_store() 580 if (gimple_code (stmt) == GIMPLE_ASM in replace_uses_in() 883 if (gimple_code (stmt) == GIMPLE_COND) in before_dom_children() 1003 if (gimple_code (stmt) == GIMPLE_PHI) in substitute_and_fold() 1122 else if (gimple_code (dest) == GIMPLE_COND) in may_propagate_copy_into_stmt()
|
| D | omp-low.cc | 215 enum gimple_code outer_type = gimple_code (ctx->stmt); in is_oacc_parallel_or_serial() 229 enum gimple_code outer_type = gimple_code (ctx->stmt); in is_oacc_kernels() 240 enum gimple_code outer_type = gimple_code (ctx->stmt); in is_oacc_kernels_decomposed_part() 254 if (gimple_code (stmt) == GIMPLE_OMP_TARGET) in is_omp_target() 355 return gimple_code (ctx->stmt) == GIMPLE_OMP_PARALLEL; in is_parallel_ctx() 364 return gimple_code (ctx->stmt) == GIMPLE_OMP_TASK; in is_task_ctx() 373 return gimple_code (ctx->stmt) == GIMPLE_OMP_FOR in is_taskloop_ctx() 383 return gimple_code (ctx->stmt) == GIMPLE_OMP_TEAMS in is_host_teams_ctx() 533 || (gimple_code (up->stmt) == GIMPLE_OMP_TARGET in use_pointer_for_field() 542 if (gimple_code (up->stmt) == GIMPLE_OMP_TARGET) in use_pointer_for_field() [all …]
|
| D | omp-oacc-neuter-broadcast.cc | 230 else if (gimple_code (stmt) == GIMPLE_RETURN in omp_sese_split_blocks() 231 || gimple_code (stmt) == GIMPLE_COND in omp_sese_split_blocks() 232 || gimple_code (stmt) == GIMPLE_SWITCH in omp_sese_split_blocks() 233 || (gimple_code (stmt) == GIMPLE_CALL in omp_sese_split_blocks() 275 if (gimple_code (stmt) == GIMPLE_COND) in omp_sese_split_blocks() 296 else if ((gimple_code (stmt) == GIMPLE_CALL in omp_sese_split_blocks() 387 if (gimple_code (stmt) == GIMPLE_COND in omp_sese_find_par() 388 || gimple_code (stmt) == GIMPLE_SWITCH in omp_sese_find_par() 389 || gimple_code (stmt) == GIMPLE_RETURN in omp_sese_find_par() 390 || (gimple_code (stmt) == GIMPLE_CALL in omp_sese_find_par() [all …]
|
| D | gimple-streamer-out.cc | 63 enum gimple_code code; in output_gimple_stmt() 69 code = gimple_code (stmt); in output_gimple_stmt() 91 switch (gimple_code (stmt)) in output_gimple_stmt()
|
| D | gimple-predicate-analysis.cc | 366 if (!lhs_def || gimple_code (lhs_def) != GIMPLE_PHI in find_var_cmp_const() 418 if (gimple_code (*flag_def) != GIMPLE_PHI in find_var_cmp_const() 601 if (gimple_code (def) == GIMPLE_PHI in collect_phi_def_edges() 1012 if (gimple_code (def0) != GIMPLE_ASSIGN) in is_degenerate_phi() 1028 if (gimple_code (def) != GIMPLE_ASSIGN) in is_degenerate_phi() 1313 if (gimple_code (def_stmt) != GIMPLE_ASSIGN) in simplify_1() 1499 if (gimple_code (def_stmt) != GIMPLE_ASSIGN) in simplify_4() 1931 if (gimple_code (def_stmt) == GIMPLE_PHI in normalize() 1935 else if (gimple_code (def_stmt) == GIMPLE_PHI && and_or_code == BIT_IOR_EXPR) in normalize() 1960 else if (gimple_code (def_stmt) != GIMPLE_ASSIGN) in normalize() [all …]
|
| D | tree-cfgcleanup.cc | 144 if (gimple_code (stmt) == GIMPLE_SWITCH in cleanup_control_expr_graph() 149 switch (gimple_code (stmt)) in cleanup_control_expr_graph() 270 if (gimple_code (stmt) == GIMPLE_COND in cleanup_control_flow_bb() 271 || gimple_code (stmt) == GIMPLE_SWITCH) in cleanup_control_flow_bb() 276 else if (gimple_code (stmt) == GIMPLE_GOTO in cleanup_control_flow_bb() 389 switch (gimple_code (stmt)) in tree_forwarder_block_p() 1453 || gimple_code (use_stmt) != GIMPLE_PHI in execute() 1613 if (gimple_code (gsi_stmt (bsi)) == GIMPLE_CALL in delete_unreachable_blocks_update_callgraph() 1625 if (gimple_code (gsi_stmt (bsi)) == GIMPLE_CALL in delete_unreachable_blocks_update_callgraph()
|
| D | tree-ssa-loop-ch.cc | 153 if (gimple_code (last) == GIMPLE_LABEL) in should_duplicate_loop_header_p() 159 if (gimple_code (last) == GIMPLE_CALL in should_duplicate_loop_header_p() 239 && gimple_code (stmt) != GIMPLE_LABEL) in do_while_loop_p() 509 if (gimple_code (stmt) == GIMPLE_COND) in copy_headers()
|
| D | sese.cc | 350 gcc_assert (gimple_code (last) == GIMPLE_COND); in set_ifsese_condition() 373 if (gimple_code (stmt) == GIMPLE_PHI in invariant_in_sese_p_rec() 374 || gimple_code (stmt) == GIMPLE_CALL) in invariant_in_sese_p_rec() 464 && gimple_code (gsi_stmt (gsi)) != GIMPLE_LABEL) in sese_trivially_empty_bb_p()
|
| D | tree-cfg.cc | 267 if (!(stmt && gimple_code (stmt) == GIMPLE_COND)) in replace_loop_annotate_in_block() 273 if (gimple_code (stmt) != GIMPLE_CALL) in replace_loop_annotate_in_block() 340 if (gimple_code (stmt) != GIMPLE_CALL) in replace_loop_annotate() 428 return (gimple_code (t) == GIMPLE_GOTO in computed_goto_p() 454 if (gimple_code (stmt) != GIMPLE_LABEL in gimple_seq_unreachable_p() 480 if (last && gimple_code (last) == GIMPLE_COND) in assert_unreachable_fallthru_edge_p() 855 switch (gimple_code (last)) in make_edges_bb() 1216 gcc_assert (gimple_code (entry) == GIMPLE_COND); in make_cond_expr_edges() 1293 if (stmt && gimple_code (stmt) == GIMPLE_SWITCH) in end_recording_case_labels() 1576 switch (gimple_code (stmt)) in cleanup_dead_labels() [all …]
|
| D | tree-ssa-loop-split.cc | 85 if (!last || gimple_code (last) != GIMPLE_COND) in split_at_bb_p() 801 if (gimple_code (stmt) == GIMPLE_PHI) in find_vdef_in_loop() 821 if (gimple_code (stmt) == GIMPLE_CALL) in find_vdef_in_loop() 1095 if (gimple_code (stmt) == GIMPLE_PHI) in loop_iter_phi_semi_invariant_p() 1120 else if (gimple_code (stmt) == GIMPLE_ASSIGN) in loop_iter_phi_semi_invariant_p() 1159 if (gimple_code (last) != GIMPLE_COND in control_dep_semi_invariant_p() 1160 && gimple_code (last) != GIMPLE_SWITCH) in control_dep_semi_invariant_p() 1191 if (gimple_code (stmt) == GIMPLE_PHI) in stmt_semi_invariant_p_1() 1635 if (!last || gimple_code (last) != GIMPLE_COND) in split_loop_on_cond()
|
| D | omp-expand.cc | 94 enum gimple_code type; 177 if (gimple_code (ws_stmt) == GIMPLE_OMP_SECTIONS) in workshare_safe_to_combine_p() 180 gcc_assert (gimple_code (ws_stmt) == GIMPLE_OMP_FOR); in workshare_safe_to_combine_p() 278 else if (gimple_code (ws_stmt) == GIMPLE_OMP_SECTIONS) in get_ws_args_for() 418 new_omp_region (basic_block bb, enum gimple_code type, in new_omp_region() 780 gcc_assert (gimple_code (g) == GIMPLE_OMP_FOR in expand_task_call() 1025 gcc_assert (gimple_code (gsi_stmt (gsi)) == GIMPLE_OMP_RETURN); in remove_exit_barrier() 1027 if (!gsi_end_p (gsi) && gimple_code (gsi_stmt (gsi)) != GIMPLE_LABEL) in remove_exit_barrier() 1036 if (gimple_code (stmt) == GIMPLE_OMP_RETURN in remove_exit_barrier() 1121 bool untied_task = (gimple_code (entry_stmt) == GIMPLE_OMP_TASK in optimize_omp_library_calls() [all …]
|
| D | gimple-low.cc | 97 && gimple_code (gimple_seq_first_stmt (body)) == GIMPLE_BIND); in lower_function_body() 252 switch (gimple_code (stmt)) in lower_stmt() 507 switch (gimple_code (gsi_stmt (i))) in lower_try_catch() 576 switch (gimple_code (gsi_stmt (i))) in gimple_try_catch_may_fallthru() 624 switch (gimple_code (stmt)) in gimple_stmt_may_fallthru()
|
| D | tree-ssa-ccp.cc | 347 || gimple_code (stmt) == GIMPLE_PHI) in get_default_value() 706 enum gimple_code code = gimple_code (stmt); in likely_value() 856 if (gimple_code (stmt) != GIMPLE_ASSIGN in surely_varying_stmt_p() 857 && gimple_code (stmt) != GIMPLE_COND in surely_varying_stmt_p() 858 && gimple_code (stmt) != GIMPLE_SWITCH in surely_varying_stmt_p() 859 && gimple_code (stmt) != GIMPLE_CALL) in surely_varying_stmt_p() 1270 switch (gimple_code (stmt)) in ccp_fold() 2246 enum gimple_code code = gimple_code (stmt); in evaluate_stmt() 2286 enum gimple_code code = gimple_code (stmt); in evaluate_stmt() 2516 else if (gimple_code (stmt) == GIMPLE_PHI) in insert_clobber_before_stack_restore() [all …]
|
| D | tree-ssa-loop-ivcanon.cc | 282 if (gimple_code (stmt) == GIMPLE_ASSIGN in tree_estimate_loop_size() 291 else if (gimple_code (stmt) == GIMPLE_ASSIGN in tree_estimate_loop_size() 307 else if ((gimple_code (stmt) == GIMPLE_COND in tree_estimate_loop_size() 317 || (gimple_code (stmt) == GIMPLE_SWITCH in tree_estimate_loop_size() 355 if (gimple_code (stmt) == GIMPLE_CALL in tree_estimate_loop_size() 367 else if (gimple_code (stmt) != GIMPLE_DEBUG) in tree_estimate_loop_size() 369 if (((gimple_code (stmt) == GIMPLE_COND in tree_estimate_loop_size() 373 || (gimple_code (stmt) == GIMPLE_SWITCH in tree_estimate_loop_size()
|
| D | tree-outof-ssa.cc | 81 if (gimple_code (use_stmt) == GIMPLE_PHI) in ssa_is_replaceable_p() 820 if (gimple_code (stmt) == GIMPLE_PHI) in remove_gimple_phi_args() 1139 if (gimple_code (use_stmt) == GIMPLE_PHI) in trivially_conflicts_p() 1143 if (gimple_code (defa) == GIMPLE_PHI) in trivially_conflicts_p() 1202 || (gimple_code (SSA_NAME_DEF_STMT (arg)) == GIMPLE_PHI in insert_backedge_copies() 1256 || gimple_code (def) == GIMPLE_PHI) in insert_backedge_copies() 1266 || (gimple_code (use_stmt) != GIMPLE_PHI in insert_backedge_copies()
|