Home
last modified time | relevance | path

Searched refs:gimple_code (Results 1 – 25 of 212) sorted by relevance

123456789

/dragonfly/contrib/gcc-4.7/gcc/
HDtree-ssa-threadedge.c94 || (gimple_code (gsi_stmt (gsi)) != GIMPLE_COND in potentially_threadable_block()
95 && gimple_code (gsi_stmt (gsi)) != GIMPLE_GOTO in potentially_threadable_block()
96 && gimple_code (gsi_stmt (gsi)) != GIMPLE_SWITCH)) in potentially_threadable_block()
203 && gimple_code (SSA_NAME_DEF_STMT (src)) == GIMPLE_PHI in record_temporary_equivalences_from_phis()
307 if (gimple_code (stmt) == GIMPLE_NOP in record_temporary_equivalences_from_stmts_at_dest()
308 || gimple_code (stmt) == GIMPLE_LABEL in record_temporary_equivalences_from_stmts_at_dest()
315 if (gimple_code (stmt) == GIMPLE_ASM && gimple_asm_volatile_p (stmt)) in record_temporary_equivalences_from_stmts_at_dest()
327 if ((gimple_code (stmt) != GIMPLE_ASSIGN in record_temporary_equivalences_from_stmts_at_dest()
329 && (gimple_code (stmt) != GIMPLE_CALL in record_temporary_equivalences_from_stmts_at_dest()
457 enum gimple_code code = gimple_code (stmt); in simplify_control_stmt_condition()
[all …]
HDtree-ssa-loop-ch.c79 if (gimple_code (last) != GIMPLE_COND) in should_duplicate_loop_header_p()
88 if (gimple_code (last) == GIMPLE_LABEL) in should_duplicate_loop_header_p()
114 && gimple_code (stmt) != GIMPLE_LABEL) in do_while_loop_p()
120 && gimple_code (stmt) == GIMPLE_COND) in do_while_loop_p()
233 if (gimple_code (stmt) == GIMPLE_COND) in copy_loop_headers()
HDtree-cfgcleanup.c92 switch (gimple_code (stmt)) in cleanup_control_expr_graph()
105 if (gimple_code (def_stmt) == GIMPLE_PHI in cleanup_control_expr_graph()
117 if (gimple_code (def_stmt) == GIMPLE_PHI in cleanup_control_expr_graph()
200 if (gimple_code (stmt) == GIMPLE_COND in cleanup_control_flow_bb()
201 || gimple_code (stmt) == GIMPLE_SWITCH) in cleanup_control_flow_bb()
203 else if (gimple_code (stmt) == GIMPLE_GOTO in cleanup_control_flow_bb()
304 switch (gimple_code (stmt)) in tree_forwarder_block_p()
386 && gimple_code (label) == GIMPLE_LABEL in remove_forwarder_block()
561 if (gimple_code (use_stmt) != GIMPLE_PHI) in fixup_noreturn_call()
799 && gimple_code (label) == GIMPLE_LABEL in remove_forwarder_block_with_phi()
[all …]
HDtree-ssa-dom.c206 enum gimple_code code = gimple_code (stmt); in initialize_hash_element()
891 gcc_assert (gimple_code (condstmt) == GIMPLE_COND); in canonicalize_comparison()
1478 if (gimple_code (stmt) != GIMPLE_ASSIGN) in simple_iv_increment_p()
1496 if (gimple_code (phi) != GIMPLE_PHI) in simple_iv_increment_p()
1574 if (gimple_code (stmt) == GIMPLE_SWITCH) in record_edge_info()
1617 if (gimple_code (stmt) == GIMPLE_COND) in record_edge_info()
1788 && gimple_code (last) == GIMPLE_COND in dom_opt_leave_block()
1896 if (gimple_code (stmt) == GIMPLE_PHI) in eliminate_redundant_computations()
1923 else if (gimple_code (stmt) == GIMPLE_COND) in eliminate_redundant_computations()
1931 else if (gimple_code (stmt) == GIMPLE_SWITCH) in eliminate_redundant_computations()
[all …]
HDgimple.h45 enum gimple_code { enum
59 const char *, enum gimple_code, \
65 if (gimple_code (__gs) != (CODE)) \
282 ENUM_BITFIELD(gimple_code) code : 8;
958 gimple gimple_alloc_stat (enum gimple_code, unsigned MEM_STAT_DECL);
1165 static inline enum gimple_code
1166 gimple_code (const_gimple g) in gimple_code() function
1175 gss_for_code (enum gimple_code code) in gss_for_code()
1187 return gss_for_code (gimple_code (gs)); in gimple_statement_structure()
1197 switch (gimple_code (g)) in gimple_has_substatements()
[all …]
HDtree-ssa-ccp.c269 || gimple_code (stmt) == GIMPLE_PHI) in get_default_value()
588 enum gimple_code code = gimple_code (stmt); in likely_value()
708 if (gimple_code (stmt) != GIMPLE_ASSIGN in surely_varying_stmt_p()
709 && gimple_code (stmt) != GIMPLE_COND in surely_varying_stmt_p()
710 && gimple_code (stmt) != GIMPLE_SWITCH in surely_varying_stmt_p()
711 && gimple_code (stmt) != GIMPLE_CALL) in surely_varying_stmt_p()
1052 switch (gimple_code (stmt)) in ccp_fold()
1560 enum gimple_code code = gimple_code (stmt); in evaluate_stmt()
1590 enum gimple_code code = gimple_code (stmt); in evaluate_stmt()
1734 else if (gimple_code (stmt) == GIMPLE_PHI) in insert_clobber_before_stack_restore()
[all …]
HDtree-tailcall.c223 if (gimple_code (at) != GIMPLE_PHI) in independent_of_stmt_p()
408 if (gimple_code (stmt) == GIMPLE_LABEL in find_tail_calls()
409 || gimple_code (stmt) == GIMPLE_RETURN in find_tail_calls()
525 if (gimple_code (stmt) == GIMPLE_LABEL) in find_tail_calls()
528 if (gimple_code (stmt) == GIMPLE_RETURN) in find_tail_calls()
537 if (gimple_code (stmt) != GIMPLE_ASSIGN) in find_tail_calls()
732 gcc_assert (gimple_code (ret_stmt) == GIMPLE_RETURN); in adjust_return_value()
831 if (gimple_code (t) == GIMPLE_RETURN) in eliminate_tail_call()
991 && gimple_code (stmt) == GIMPLE_RETURN) in tree_optimize_tail_calls_1()
1061 && gimple_code (stmt) == GIMPLE_RETURN) in tree_optimize_tail_calls_1()
HDtree-ssa-copy.c111 else if (gimple_code (dest) == GIMPLE_SWITCH) in may_propagate_copy_into_stmt()
125 else if (gimple_code (dest) == GIMPLE_COND) in may_propagate_copy_into_stmt()
248 else if (gimple_code (stmt) == GIMPLE_COND) in propagate_tree_value_into_stmt()
268 else if (gimple_code (stmt) == GIMPLE_SWITCH) in propagate_tree_value_into_stmt()
300 if (gimple_code (stmt) == GIMPLE_PHI) in stmt_may_generate_copy()
303 if (gimple_code (stmt) != GIMPLE_ASSIGN) in stmt_may_generate_copy()
519 else if (gimple_code (stmt) == GIMPLE_COND) in copy_prop_visit_stmt()
HDtree-cfg.c274 return (gimple_code (t) == GIMPLE_GOTO in computed_goto_p()
478 if (stmt && gimple_code (stmt) == GIMPLE_COND) in fold_cond_expr_cond()
526 enum gimple_code code = gimple_code (last); in make_edges()
802 gcc_assert (gimple_code (entry) == GIMPLE_COND); in make_cond_expr_edges()
891 if (stmt && gimple_code (stmt) == GIMPLE_SWITCH) in end_recording_case_labels()
1003 if (gimple_code (label_stmt) != GIMPLE_LABEL) in make_abnormal_goto_edges()
1178 if (gimple_code (stmt) != GIMPLE_LABEL) in cleanup_dead_labels()
1213 switch (gimple_code (stmt)) in cleanup_dead_labels()
1314 if (gimple_code (stmt) != GIMPLE_LABEL) in cleanup_dead_labels()
1440 if (stmt && gimple_code (stmt) == GIMPLE_SWITCH) in group_case_labels()
[all …]
HDtree-ssa-uninit.c126 if (gimple_code (op_def) != GIMPLE_PHI) in can_skip_redundant_opnd()
380 if (gimple_code (cond_stmt) == GIMPLE_CALL in convert_control_dep_chain_into_preds()
405 if (gimple_code (cond_stmt) != GIMPLE_COND) in convert_control_dep_chain_into_preds()
508 if (gimple_code (def) == GIMPLE_PHI in collect_phi_def_edges()
848 if (gimple_code (flag_arg_def) != GIMPLE_PHI) in prune_uninit_phi_opnds_in_unrealizable_paths()
856 if (gimple_code (phi_arg_def) != GIMPLE_PHI) in prune_uninit_phi_opnds_in_unrealizable_paths()
898 if (gimple_code (opnd_def) == GIMPLE_PHI) in prune_uninit_phi_opnds_in_unrealizable_paths()
1053 if ((gimple_code (flag_def) == GIMPLE_PHI) in use_pred_not_overlap_with_undef_path_pred()
1114 enum gimple_code gc; in normalize_cond_1()
1118 gc = gimple_code (cond); in normalize_cond_1()
[all …]
HDipa-split.c234 if (gimple_code (stmt) == GIMPLE_LABEL in verify_non_ssa_vars()
313 if (gimple_code (use_stmt) != GIMPLE_COND) in check_forbidden_calls()
627 if (gimple_code (stmt) == GIMPLE_LABEL in find_return_bb()
631 else if (gimple_code (stmt) == GIMPLE_ASSIGN in find_return_bb()
639 else if (gimple_code (stmt) == GIMPLE_RETURN) in find_return_bb()
660 if (gimple_code (gsi_stmt (bsi)) == GIMPLE_RETURN) in find_retval()
662 else if (gimple_code (gsi_stmt (bsi)) == GIMPLE_ASSIGN in find_retval()
747 if (gimple_code (stmt) == GIMPLE_RESX) in visit_bb()
753 if (gimple_code (stmt) == GIMPLE_EH_DISPATCH) in visit_bb()
761 if (gimple_code (stmt) == GIMPLE_CALL in visit_bb()
[all …]
HDtree-ssa-propagate.c317 if (gimple_code (stmt) == GIMPLE_PHI) in simulate_stmt()
395 if (gimple_code (stmt) == GIMPLE_PHI in process_ssa_edge_worklist()
866 if (gimple_code (stmt) != GIMPLE_ASSIGN in stmt_makes_single_store()
867 && gimple_code (stmt) != GIMPLE_CALL) in stmt_makes_single_store()
914 if (gimple_code (stmt) == GIMPLE_ASM in replace_uses_in()
1069 else if (gimple_code (def_stmt) == GIMPLE_PHI) in substitute_and_fold()
1100 enum gimple_code code = gimple_code (stmt); in substitute_and_fold()
HDomp-low.c182 return gimple_code (ctx->stmt) == GIMPLE_OMP_PARALLEL; in is_parallel_ctx()
191 return gimple_code (ctx->stmt) == GIMPLE_OMP_TASK; in is_task_ctx()
200 return gimple_code (ctx->stmt) == GIMPLE_OMP_PARALLEL in is_taskreg_ctx()
201 || gimple_code (ctx->stmt) == GIMPLE_OMP_TASK; in is_taskreg_ctx()
523 if (gimple_code (ws_stmt) == GIMPLE_OMP_SECTIONS) in workshare_safe_to_combine_p()
526 gcc_assert (gimple_code (ws_stmt) == GIMPLE_OMP_FOR); in workshare_safe_to_combine_p()
561 if (gimple_code (ws_stmt) == GIMPLE_OMP_FOR) in VEC()
586 else if (gimple_code (ws_stmt) == GIMPLE_OMP_SECTIONS) in VEC()
1150 new_omp_region (basic_block bb, enum gimple_code type, in new_omp_region()
1836 switch (gimple_code (stmt)) in check_omp_nesting_restrictions()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDtree-ssa-phionlycprop.c50 if (gimple_code (stmt) == GIMPLE_PHI) in remove_stmt_or_phi()
66 if (gimple_code (stmt) == GIMPLE_PHI) in get_rhs_or_phi_arg()
81 if (gimple_code (stmt) == GIMPLE_PHI) in get_lhs_or_phi_result()
140 if (gimple_code (use_stmt) == GIMPLE_ASM in propagate_rhs_into_lhs()
178 if (gimple_code (use_stmt) == GIMPLE_PHI) in propagate_rhs_into_lhs()
251 else if (gimple_code (use_stmt) == GIMPLE_COND in propagate_rhs_into_lhs()
252 || gimple_code (use_stmt) == GIMPLE_SWITCH in propagate_rhs_into_lhs()
253 || gimple_code (use_stmt) == GIMPLE_GOTO) in propagate_rhs_into_lhs()
257 if (gimple_code (use_stmt) == GIMPLE_COND) in propagate_rhs_into_lhs()
263 else if (gimple_code (use_stmt) == GIMPLE_SWITCH) in propagate_rhs_into_lhs()
HDtree-ssa-threadbackward.c84 enum gimple_code code = gimple_code (stmt); in get_gimple_control_stmt()
265 if (gimple_code (stmt) != GIMPLE_NOP in profitable_jump_thread_path()
266 && !(gimple_code (stmt) == GIMPLE_ASSIGN in profitable_jump_thread_path()
282 if (last && (gimple_code (last) == GIMPLE_SWITCH in profitable_jump_thread_path()
283 || gimple_code (last) == GIMPLE_GOTO)) in profitable_jump_thread_path()
318 if (gimple_code (stmt) == GIMPLE_COND) in profitable_jump_thread_path()
675 if (gimple_code (def_stmt) != GIMPLE_PHI in fsm_find_control_statement_thread_paths()
676 && gimple_code (def_stmt) != GIMPLE_ASSIGN) in fsm_find_control_statement_thread_paths()
679 if (gimple_code (def_stmt) == GIMPLE_PHI in fsm_find_control_statement_thread_paths()
720 if (gimple_code (def_stmt) == GIMPLE_PHI) in fsm_find_control_statement_thread_paths()
[all …]
HDtree-ssa-threadedge.c111 || (gimple_code (gsi_stmt (gsi)) != GIMPLE_COND in potentially_threadable_block()
112 && gimple_code (gsi_stmt (gsi)) != GIMPLE_GOTO in potentially_threadable_block()
113 && gimple_code (gsi_stmt (gsi)) != GIMPLE_SWITCH)) in potentially_threadable_block()
147 && gimple_code (SSA_NAME_DEF_STMT (src)) == GIMPLE_PHI in record_temporary_equivalences_from_phis()
250 if (gimple_code (stmt) == GIMPLE_NOP in record_temporary_equivalences_from_stmts_at_dest()
251 || gimple_code (stmt) == GIMPLE_LABEL in record_temporary_equivalences_from_stmts_at_dest()
258 if (gimple_code (stmt) == GIMPLE_ASM in record_temporary_equivalences_from_stmts_at_dest()
264 if (gimple_code (stmt) == GIMPLE_CALL in record_temporary_equivalences_from_stmts_at_dest()
298 if ((gimple_code (stmt) != GIMPLE_ASSIGN in record_temporary_equivalences_from_stmts_at_dest()
300 && (gimple_code (stmt) != GIMPLE_CALL in record_temporary_equivalences_from_stmts_at_dest()
[all …]
HDtree-tailcall.c230 if (gimple_code (at) != GIMPLE_PHI) in independent_of_stmt_p()
420 if (gimple_code (stmt) == GIMPLE_LABEL in find_tail_calls()
421 || gimple_code (stmt) == GIMPLE_RETURN in find_tail_calls()
422 || gimple_code (stmt) == GIMPLE_NOP in find_tail_calls()
423 || gimple_code (stmt) == GIMPLE_PREDICT in find_tail_calls()
553 if (gimple_code (stmt) == GIMPLE_RETURN) in find_tail_calls()
556 if (gimple_code (stmt) == GIMPLE_LABEL in find_tail_calls()
557 || gimple_code (stmt) == GIMPLE_NOP in find_tail_calls()
558 || gimple_code (stmt) == GIMPLE_PREDICT in find_tail_calls()
563 if (gimple_code (stmt) != GIMPLE_ASSIGN) in find_tail_calls()
[all …]
HDtree-chkp-opt.c343 enum gimple_code code; in chkp_collect_value()
367 code = gimple_code (def_stmt); in chkp_collect_value()
506 if (gimple_code (stmt) != GIMPLE_CALL) in chkp_gather_checks_info()
564 if (gimple_code (bnd_def) == GIMPLE_CALL in chkp_get_check_result()
579 else if (gimple_code (bnd_def) == GIMPLE_ASSIGN in chkp_get_check_result()
586 else if (gimple_code (bnd_def) == GIMPLE_ASSIGN in chkp_get_check_result()
593 else if (gimple_code (bnd_def) == GIMPLE_ASSIGN in chkp_get_check_result()
744 if (gimple_code (bnd_def) != GIMPLE_CALL in chkp_use_outer_bounds_if_possible()
1114 if (gimple_code (stmt) == GIMPLE_CALL in chkp_reduce_bounds_lifetime()
1118 if (gimple_code (stmt) == GIMPLE_ASSIGN in chkp_reduce_bounds_lifetime()
[all …]
HDtree-ssa-loop-ch.c102 if (gimple_code (last) != GIMPLE_COND) in should_duplicate_loop_header_p()
116 if (gimple_code (last) == GIMPLE_LABEL) in should_duplicate_loop_header_p()
122 if (gimple_code (last) == GIMPLE_CALL in should_duplicate_loop_header_p()
159 && gimple_code (stmt) != GIMPLE_LABEL) in do_while_loop_p()
171 && gimple_code (stmt) == GIMPLE_COND) in do_while_loop_p()
378 if (gimple_code (stmt) == GIMPLE_COND) in copy_headers()
HDgimple-ssa-split-paths.c64 if (!last || gimple_code (last) != GIMPLE_COND) in find_block_to_duplicate_for_splitting_paths()
78 if (!last || gimple_code (last) != GIMPLE_COND) in find_block_to_duplicate_for_splitting_paths()
174 && gimple_code (stmt1) == GIMPLE_ASSIGN in is_feasible_trace()
175 && gimple_code (stmt2) == GIMPLE_ASSIGN) in is_feasible_trace()
230 if (gimple_code (stmt) == GIMPLE_PHI in is_feasible_trace()
HDfunction-tests.c474 ASSERT_EQ (GIMPLE_BIND, gimple_code (bind_stmt)); in test_gimplification()
483 ASSERT_EQ (GIMPLE_ASSIGN, gimple_code (stmt1)); in test_gimplification()
487 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt2)); in test_gimplification()
531 ASSERT_EQ (GIMPLE_ASSIGN, gimple_code (stmt_a)); in test_building_cfg()
533 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt_b)); in test_building_cfg()
563 ASSERT_EQ (GIMPLE_ASSIGN, gimple_code (stmt_a)); in test_conversion_to_ssa()
566 ASSERT_EQ (GIMPLE_RETURN, gimple_code (stmt_b)); in test_conversion_to_ssa()
HDgimple.c92 const enum gimple_code gassign::code_;
93 const enum gimple_code gcall::code_;
94 const enum gimple_code gcond::code_;
104 gimple_set_code (gimple *g, enum gimple_code code) in gimple_set_code()
113 gimple_size (enum gimple_code code) in gimple_size()
122 gimple_alloc (enum gimple_code code, unsigned num_ops MEM_STAT_DECL) in gimple_alloc()
171 gimple_build_with_ops_stat (enum gimple_code code, unsigned subcode, in gimple_build_with_ops_stat()
1230 const char *function, enum gimple_code code, in gimple_check_failed()
1236 gimple_code_name[gimple_code (gs)], in gimple_check_failed()
1314 if (gimple_code (gs) == GIMPLE_LABEL) in should_carry_location_p()
[all …]
HDtree-ssa-dom.c441 if (gimple_code (stmt) == GIMPLE_SWITCH) in record_edge_info()
484 if (gimple_code (stmt) == GIMPLE_COND) in record_edge_info()
1312 if (gimple_code (stmt) != GIMPLE_ASSIGN) in simple_iv_increment_p()
1330 while (gimple_code (phi) != GIMPLE_PHI) in simple_iv_increment_p()
1512 if (gimple_code (stmt) == GIMPLE_PHI) in eliminate_redundant_computations()
1539 else if (gimple_code (stmt) == GIMPLE_COND) in eliminate_redundant_computations()
1549 else if (gimple_code (stmt) == GIMPLE_PHI) in eliminate_redundant_computations()
1734 if (gimple_code (stmt) == GIMPLE_ASM in cprop_operand()
1750 if (gimple_code (def) == GIMPLE_PHI in cprop_operand()
1833 if (is_gimple_assign (stmt) || gimple_code (stmt) == GIMPLE_COND) in test_for_singularity()
[all …]
HDgimple.h30 enum gimple_code { enum
48 const char *, enum gimple_code, \
55 if (gimple_code (__gs) != (CODE)) \
226 ENUM_BITFIELD(gimple_code) code : 8;
374 static const enum gimple_code code_ = GIMPLE_CALL;
873 static const enum gimple_code code_ = GIMPLE_COND;
923 static const enum gimple_code code_ = GIMPLE_ASSIGN;
1420 gimple *gimple_alloc (enum gimple_code, unsigned CXX_MEM_STAT_INFO);
1677 static inline enum gimple_code
1678 gimple_code (const gimple *g)
[all …]
HDtree-ssa-tail-merge.c348 if (gimple_code (USE_STMT (use_p)) == GIMPLE_PHI in stmt_local_def()
483 hstate.add_int (gimple_code (stmt)); in same_succ_hash()
609 if (gimple_code (s1) != gimple_code (s2)) in equal()
1133 if (gimple_code (s1) != gimple_code (s2)) in gimple_equal_p()
1136 switch (gimple_code (s1)) in gimple_equal_p()
1300 if (gimple_code (stmt1) == GIMPLE_LABEL in find_duplicate()
1301 && gimple_code (stmt2) == GIMPLE_LABEL) in find_duplicate()
1316 while (!gsi_end_p (gsi1) && gimple_code (gsi_stmt (gsi1)) == GIMPLE_LABEL) in find_duplicate()
1323 while (!gsi_end_p (gsi2) && gimple_code (gsi_stmt (gsi2)) == GIMPLE_LABEL) in find_duplicate()
1605 if (!gsi_end_p (gsi1) && gimple_code (gsi_stmt (gsi1)) == GIMPLE_LABEL) in replace_block_by()
[all …]

123456789