GCC Middle and Back End API Reference
|
Go to the source code of this file.
Macros | |
#define | PENDING_STMT(e) |
#define PENDING_STMT | ( | e | ) |
Data and Control Flow Analysis for Trees. Copyright (C) 2001-2024 Free Software Foundation, Inc. Contributed by Diego Novillo <dnovillo@redhat.com> This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Location to track pending stmt for edge insertion.
Referenced by create_parallel_loop(), eliminate_tail_call(), gimple_duplicate_sese_tail(), gimple_gen_edge_profiler(), gsi_commit_one_edge_insert(), gsi_insert_on_edge(), gsi_insert_on_edge_immediate(), gsi_insert_seq_on_edge(), gsi_insert_seq_on_edge_immediate(), and gsi_start_edge().
|
extern |
Blocks in REGION_COPY array of length N_REGION were created by duplication of basic blocks. Add phi node arguments for edges going from these blocks. If E_COPY is not NULL, also add phi node arguments for its destination.
References add_phi_args_after_copy_bb(), add_phi_args_after_copy_edge(), and i.
Referenced by back_jt_path_registry::duplicate_thread_path(), gimple_duplicate_seme_region(), gimple_duplicate_sese_tail(), slpeel_tree_duplicate_loop_to_edge_cfg(), and transform_duplicate().
|
extern |
Basic block BB_COPY was created by code duplication. Add phi node arguments for edges going out of BB_COPY. The blocks that were duplicated have BB_DUPLICATED set.
References add_phi_args_after_copy_edge(), bb_copy, and FOR_EACH_EDGE.
Referenced by add_phi_args_after_copy(), and copy_phi_node_args().
Returns true for edge E where e->src ends with a GIMPLE_COND and the other edge points to a bb with just __builtin_unreachable (). I.e. return true for C->M edge in: <bb C>: ... if (something) goto <bb N>; else goto <bb M>; <bb N>: __builtin_unreachable (); <bb M>:
References bb_seq(), EDGE_COUNT, EDGE_SUCC, gimple_seq_unreachable_p(), gsi_last_bb(), safe_is_a(), and basic_block_def::succs.
Referenced by dom_opt_dom_walker::set_global_ranges_from_unreachable_edges().
|
extern |
Cleanup redundant labels. This is a three-step process: 1) Find the leading label for each block. 2) Redirect all references to labels to the leading labels. 3) Cleanup all useless labels.
References as_a(), CASE_LABEL, cfun, cleanup_dead_labels_eh(), computed_goto_p(), DECL_ARTIFICIAL, DECL_NONLOCAL, dyn_cast(), EH_LANDING_PAD_NR, FOR_EACH_BB_FN, FORCED_LABEL, free(), gcc_checking_assert, gimple_asm_label_op(), gimple_asm_nlabels(), gimple_cond_false_label(), gimple_cond_set_false_label(), gimple_cond_set_true_label(), gimple_cond_true_label(), gimple_goto_dest(), gimple_goto_set_dest(), gimple_label_label(), gimple_switch_label(), gimple_switch_num_labels(), gimple_transaction_label_norm(), gimple_transaction_label_over(), gimple_transaction_label_uninst(), gimple_transaction_set_label_norm(), gimple_transaction_set_label_over(), gimple_transaction_set_label_uninst(), gsi_end_p(), gsi_last_bb(), gsi_next(), gsi_remove(), gsi_start_bb(), gsi_stmt(), i, basic_block_def::index, label_for_bb(), last_basic_block_for_fn, main_block_label(), NULL, TREE_VALUE, and rtx_def::used.
Referenced by build_gimple_cfg(), and execute_cleanup_cfg_post_optimizing().
|
extern |
Clear flags set by notice_special_calls. Used by dead code removal to update the flags.
References cfun.
Referenced by eliminate_unnecessary_stmts().
Return true if T is a computed goto.
References gimple_goto_dest(), and TREE_CODE.
Referenced by cleanup_dead_labels(), copy_edges_for_bb(), find_taken_edge(), handle_abnormal_edges(), and stmt_can_make_abnormal_goto().
|
extern |
Return true if the only executable statement in BB is a GIMPLE_COND.
References gsi_after_labels(), gsi_end_p(), gsi_next(), gsi_stmt(), is_gimple_debug(), and phi_nodes().
Referenced by optimize_spaceship(), and spaceship_replacement().
For each PHI in BB, copy the argument associated with SRC_E to TGT_E. Assuming the argument exists, just does not have a value.
References gimple_phi_arg_def(), gimple_phi_arg_location(), gimple_phi_arg_set_location(), gsi_end_p(), gsi_next(), gsi_start_phis(), and SET_PHI_ARG_DEF.
Referenced by gimple_duplicate_sese_tail(), remove_forwarder_block(), replace_phi_edge_with_variable(), and ssa_fix_duplicate_block_edges().
|
extern |
Dump a loop.
References print_loop().
|
extern |
Dump CFG statistics on stderr. Keep extern so that it's always linked in the final executable.
References dump_cfg_stats().
|
extern |
Dump FUNCTION_DECL FN to stderr using FLAGS (see TDF_* in tree.h)
References dump_function_to_file().
|
extern |
Print on stderr the code of LOOP, at some VERBOSITY level.
References print_loop().
Referenced by debug_loop_num().
|
extern |
Print on stderr the code of loop number NUM, at some VERBOSITY level.
References cfun, debug_loop(), and get_loop().
|
extern |
Debugging loops structure at tree level, at some VERBOSITY level.
References print_loops().
|
extern |
Dump a loop verbosely.
References print_loop().
|
extern |
Remove block annotations and other data structures.
References label_to_block_map_for_fn, and vec_free().
Referenced by release_function_body().
|
extern |
Dump CFG statistics on FILE.
References cfg_stats, cfun, current_function_name(), EDGE_COUNT, FOR_EACH_BB_FN, n_basic_blocks_for_fn, cfg_stats_d::num_merged_labels, PRsa, SIZE_AMOUNT, and basic_block_def::succs.
Referenced by debug_cfg_stats(), and gimple_dump_cfg().
|
extern |
Dump FUNCTION_DECL FN to file FILE using FLAGS (see TDF_* in dumpfile.h)
References a, basic_block_info_for_fn, BIND_EXPR_BODY, function::cfg, basic_block_def::count, function::curr_properties, current_function_decl, function::decl, DECL_ARGUMENTS, DECL_ATTRIBUTES, DECL_BY_REFERENCE, DECL_CHAIN, decl_is_tm_clone(), DECL_RESULT, DECL_SAVED_TREE, DECL_STRUCT_FUNCTION, DECL_UID, dump_bb(), dump_default_def(), dump_eh_tree(), dump_enumerated_decls(), dump_flags, dump_node(), ENTRY_BLOCK_PTR_FOR_FN, FOR_EACH_BB_FN, FOR_EACH_LOCAL_DECL, FOR_EACH_SSA_NAME, function_name(), get_attribute_name(), get_hot_bb_threshold(), gimple_body(), gimple_has_body_p(), gimple_in_ssa_p(), gimple_seq_first_stmt(), gimple_seq_last_stmt(), i, IDENTIFIER_POINTER, profile_count::initialized_p(), function::local_decls, n_basic_blocks_for_fn, NULL, NULL_TREE, PRId64, print_generic_decl(), print_generic_expr(), print_generic_stmt_indented(), print_gimple_seq(), print_no_sanitize_attr_value(), print_omp_context_selector(), PRIu64, profile_info, profile_quality_as_string(), PROP_cfg, PROP_gimple_any, PROP_gimple_lcf, PROP_ssa, profile_count::quality(), ssa_default_def(), SSA_NAME_IDENTIFIER, SSA_NAME_VAR, function::static_chain_decl, TDF_ALIAS, TDF_EH, TDF_ENUMERATE_LOCALS, TDF_GIMPLE, TDF_RAW, TDF_SLIM, TDF_UID, TREE_CHAIN, TREE_CODE, TREE_PURPOSE, TREE_TYPE, TREE_VALUE, TYPE_ATTRIBUTES, profile_count::value(), and vec_safe_is_empty().
Referenced by branch_prob(), debug_body(), debug_function(), dump_function(), ipa_icf::sem_function::dump_to_file(), tree_switch_conversion::switch_decision_tree::emit(), execute_function_dump(), expand_omp_target(), expand_omp_taskreg(), finalize_nesting_tree_1(), gimple_dump_cfg(), cgraph_node::materialize_clone(), oacc_do_neutering(), split_function(), and tail_merge_optimize().
|
extern |
Stop recording information mapping edges to case labels and remove any information we have recorded.
References BASIC_BLOCK_FOR_FN, BITMAP_FREE, cfun, edge_to_cases, edge_to_cases_cleanup(), EXECUTE_IF_SET_IN_BITMAP, group_case_labels_stmt(), gsi_last_bb(), i, NULL, safe_dyn_cast(), and touched_switch_bbs.
Referenced by cleanup_tree_cfg_noloop(), and split_critical_edges().
|
extern |
IPA passes, compilation of earlier functions or inlining might have changed some properties, such as marked functions nothrow, pure, const or noreturn. Remove redundant edges and basic blocks, and create new ones if necessary.
References profile_count::adjust_for_ipa_scaling(), profile_count::apply_scale(), cfun, compute_function_frequency(), basic_block_def::count, cgraph_node::count, cgraph_node::create_edge(), current_function_decl, current_loops, DECL_EXTERNAL, dyn_cast(), ECF_CONST, ECF_LOOPING_CONST_OR_PURE, ECF_NORETURN, ECF_PURE, EDGE_COUNT, ENTRY_BLOCK_PTR_FOR_FN, EXIT_BLOCK_PTR_FOR_FN, fixup_noreturn_call(), FOR_EACH_BB_FN, cgraph_node::get(), varpool_node::get(), get_base_address(), cgraph_node::get_create(), gimple_build_builtin_unreachable(), gimple_call_flags(), gimple_call_fndecl(), gimple_call_noreturn_p(), gimple_call_set_ctrl_altering(), gimple_call_set_lhs(), gimple_get_lhs(), gimple_in_ssa_p(), gimple_purge_dead_abnormal_call_edges(), gimple_purge_dead_eh_edges(), gsi_end_p(), gsi_insert_after(), gsi_last_bb(), GSI_NEW_STMT, gsi_next(), gsi_start_bb(), gsi_stmt(), profile_count::initialized_p(), is_ctrl_stmt(), is_gimple_call(), last, last_nondebug_stmt(), LOOPS_NEED_FIXUP, loops_state_set(), maybe_clean_eh_stmt(), maybe_remove_writeonly_store(), NULL, simple_dce_from_worklist(), basic_block_def::succs, todo, TODO_cleanup_cfg, TODO_update_ssa, TREE_STATIC, UNKNOWN_LOCATION, update_max_bb_count(), update_stmt(), and VAR_P.
Referenced by autofdo::auto_profile(), execute_cleanup_cfg_post_optimizing(), inline_transform(), and tree_profiling().
|
extern |
From a controlling predicate in the immediate dominator DOM of PHIBLOCK determine the edges into PHIBLOCK that are chosen if the predicate evaluates to true and false and store them to *TRUE_CONTROLLED_EDGE and *FALSE_CONTROLLED_EDGE if they are non-NULL. Returns true if the edges can be determined, else return false.
References CDI_DOMINATORS, dominated_by_p(), EDGE_PRED, extract_true_false_edges_from_block(), NULL, and single_pred_p().
Referenced by extract_true_false_args_from_phi(), and vn_phi_eq().
|
extern |
Given a basic block B which ends with a conditional and has precisely two successors, determine which of the edges is taken if the conditional is true and which is taken if the conditional is false. Set TRUE_EDGE and FALSE_EDGE appropriately.
Referenced by crc_symbolic_execution::add_next_bbs(), associate_equivalences_with_edges(), canonicalize_loop_ivs(), check_forbidden_calls(), create_parallel_loop(), do_split_loop_on_cond(), dump_implicit_edges(), expand_gimple_cond(), extract_true_false_controlled_edges(), find_conditions(), find_doloop_use(), find_loop_guard(), back_threader::find_taken_edge_cond(), find_taken_edge_cond_expr(), fold_loop_internal_call(), gimple_verify_flow_info(), hoist_guard(), crc_optimization::is_crc_satisfiable_cond(), match_simplify_replacement(), minmax_replacement(), predicate_bbs(), process_bb(), record_edge_info(), split_loop(), static_loop_exit(), jump_threader::thread_outgoing_edges(), value_replacement(), and vect_loop_versioning().
Return the CASE_LABEL_EXPR that SWITCH_STMT will take for VAL. We can make optimal use here of the fact that the case labels are sorted: We can do a binary search for a case matching VAL.
References CASE_HIGH, CASE_LOW, gimple_switch_default_label(), gimple_switch_label(), gimple_switch_num_labels(), i, NULL, and tree_int_cst_compare().
Referenced by find_taken_edge_switch_expr().
|
extern |
Given a basic block BB and a value VAL for use in the final statement of the block (if a GIMPLE_COND, GIMPLE_SWITCH, or computed goto), return the edge that will be taken out of the block. If VAL is NULL_TREE, then the current value of the final statement's predicate or index is used. If the value does not match a unique edge, NULL is returned.
References as_a(), computed_goto_p(), find_taken_edge_computed_goto(), find_taken_edge_cond_expr(), find_taken_edge_switch_expr(), gsi_last_bb(), NULL, single_succ_edge(), single_succ_p(), TREE_CODE, and TREE_OPERAND.
Referenced by check_array_bounds_dom_walker::before_dom_children(), cleanup_control_expr_graph(), copy_prop_visit_cond_stmt(), dom_opt_dom_walker::fold_cond(), fold_marked_statements(), simplify_using_ranges::legacy_fold_cond(), dom_opt_dom_walker::optimize_stmt(), process_bb(), jump_threader::thread_around_empty_blocks(), jump_threader::thread_through_normal_block(), and visit_cond_stmt().
Given SWITCH_STMT and an INTEGER_CST VAL for use as the index, determine which edge will be taken out of the statement's block. Return NULL if any edge may be taken. If VAL is NULL_TREE, then the current value of SWITCH_STMT's index is used.
References CASE_LABEL, cfun, find_case_label_for_value(), find_edge(), gcc_assert, gimple_bb(), gimple_switch_default_label(), gimple_switch_index(), gimple_switch_num_labels(), label_to_block(), NULL, NULL_TREE, and TREE_CODE.
Referenced by find_taken_edge(), and tree_predict_by_opcode().
|
extern |
Return the first statement in basic block BB.
References gsi_end_p(), gsi_next(), gsi_start_bb(), gsi_stmt(), i, is_gimple_debug(), and NULL.
Referenced by expand_omp_atomic(), make_cond_expr_edges(), parloops_is_slp_reduction(), remove_forwarder_block(), remove_forwarder_block_with_phi(), and vect_slp_function().
Fold loop internal call G like IFN_LOOP_VECTORIZED/IFN_LOOP_DIST_ALIAS to VALUE and update any immediate uses of it's LHS.
References profile_probability::always(), as_a(), extract_true_false_edges_from_block(), FOR_EACH_IMM_USE_ON_STMT, FOR_EACH_IMM_USE_STMT, g, gcc_assert, gimple_bb(), gimple_call_lhs(), gimple_cond_false_p(), gimple_cond_true_p(), gsi_for_stmt(), profile_probability::never(), profile_count::nonzero_p(), NULL, replace_call_with_value(), scale_strictly_dominated_blocks(), SET_USE, single_pred_edge(), and update_stmt().
Referenced by expand_vector_operations(), move_sese_region_to_fn(), set_uid_loop_bbs(), try_vectorize_loop_1(), and vect_loop_versioning().
|
extern |
Add all the blocks dominated by ENTRY to the array BBS_P. Stop adding blocks when the dominator traversal reaches EXIT. This function silently assumes that ENTRY strictly dominates EXIT.
References CDI_DOMINATORS, first_dom_son(), gather_blocks_in_sese_region(), and next_dom_son().
Referenced by eliminate_local_variables(), gather_blocks_in_sese_region(), move_sese_region_to_fn(), and separate_decls_in_region().
If FROM is an SSA_NAME, mark the version in bitmap DATA.
References bitmap_set_bit, SSA_NAME_VERSION, and TREE_CODE.
Referenced by move_sese_region_to_fn().
|
extern |
Generate a range test LHS CODE RHS that determines whether INDEX is in the range [low, high]. Place associated stmts before *GSI.
References const_binop(), fold_convert, gimple_build(), gimple_convert(), gsi_insert_seq_before(), gsi_last_bb(), GSI_SAME_STMT, NULL, range_check_type(), and TREE_TYPE.
Referenced by convert_single_case_switch(), and tree_switch_conversion::switch_decision_tree::emit_case_nodes().
|
extern |
If basic block BB has an abnormal edge to a basic block containing IFN_ABNORMAL_DISPATCHER internal call, return that the dispatcher's basic block, otherwise return NULL.
References FOR_EACH_EDGE, g, gimple_call_internal_p(), gsi_start_nondebug_after_labels_bb(), gsi_stmt(), NULL, and basic_block_def::succs.
Referenced by copy_cfg_body(), and copy_edges_for_bb().
If we are inside a {start,end}_recording_cases block, then return a chain of CASE_LABEL_EXPRs from T which reference E. Otherwise return NULL.
References CASE_CHAIN, CASE_LABEL, cfun, edge_to_cases, find_edge(), gimple_switch_label(), gimple_switch_num_labels(), i, label_to_block(), NULL, and recording_case_labels_p().
Referenced by gimple_redirect_edge_and_branch(), and predicate::init_from_control_deps().
|
extern |
Return the virtual phi in BB.
References gsi_end_p(), gsi_next(), gsi_start_phis(), NULL, PHI_RESULT, and virtual_operand_p().
Referenced by combine_blocks(), find_vdef_in_loop(), virtual_operand_live::get_live_in(), get_live_virtual_operand_on_edge(), make_forwarders_with_degenerate_phis(), move_early_exit_stmts(), phiprop_insert_phi(), sink_common_stores_to_bb(), slpeel_tree_duplicate_loop_to_edge_cfg(), sm_seq_valid_bb(), translate_vuse_through_block(), vect_analyze_early_break_dependences(), vect_setup_realignment(), vectorizable_load(), and verify_vssa().
|
extern |
Return a non-special label in the head of basic block BLOCK. Create one if it doesn't exist.
References create_artificial_label(), DECL_NONLOCAL, dyn_cast(), gimple_build_label(), gimple_label_label(), gsi_end_p(), gsi_insert_before(), gsi_move_before(), GSI_NEW_STMT, gsi_next(), gsi_start_bb(), gsi_stmt(), i, walk_stmt_info::stmt, and UNKNOWN_LOCATION.
Referenced by build_case_label(), construct_init_block(), expand_omp_sections(), expand_thunk(), gimple_redirect_edge_and_branch(), gsi_insert_finally_seq_after_call(), lower_eh_dispatch(), lower_resx(), redirect_eh_dispatch_edge(), redirect_eh_edge_1(), and split_bb_make_tm_edge().
|
extern |
Dump a basic block on stderr.
References dump_bb(), TDF_BLOCKS, TDF_MEMSYMS, and TDF_VOPS.
Referenced by gimple_debug_bb_n().
|
extern |
Dump basic block with index N on stderr.
References BASIC_BLOCK_FOR_FN, cfun, and gimple_debug_bb().
|
extern |
Dump the CFG on stderr. FLAGS are the same used by the tree dumping functions (see TDF_* in dumpfile.h).
References gimple_dump_cfg().
|
extern |
Dump the program showing basic block boundaries on the given FILE. FLAGS are the same used by the tree dumping functions (see TDF_* in tree.h).
References brief_dump_cfg(), cfun, current_function_decl, dump_cfg_stats(), dump_function_header(), dump_function_to_file(), last_basic_block_for_fn, n_basic_blocks_for_fn, n_edges_for_fn, TDF_BLOCKS, TDF_DETAILS, and TDF_STATS.
Referenced by assume_query::assume_query(), compute_branch_probabilities(), gimple_debug_cfg(), and rewrite_out_of_ssa().
|
extern |
Duplicates a REGION (set of N_REGION basic blocks) with just a single important exit edge EXIT. By important we mean that no SSA name defined inside region is live over the other exit edges of the region. All entry edges to the region must go to ENTRY->dest. The edge ENTRY is redirected to the duplicate of the region. Dominance and loop information is updated if UPDATE_DOMINANCE is true, but not the SSA web. If UPDATE_DOMINANCE is false then we assume that the caller will update the dominance information after calling this function. The new basic blocks are stored to REGION_COPY in the same order as they had in REGION, provided that REGION_COPY is not NULL. The function returns false if it is unable to copy the region, true otherwise. It is callers responsibility to update profile.
References add_phi_args_after_copy(), can_copy_bbs_p(), CDI_DOMINATORS, copy_bbs(), dominated_by_p(), flush_pending_stmts(), free(), free_original_copy_tables(), gcc_assert, get_bb_copy(), get_bb_original(), get_dominated_by_region(), loop::header, i, initialize_original_copy_tables(), iterate_fix_dominators(), loop::latch, loop_outer(), NULL, redirect_edge_and_branch(), set_immediate_dominator(), set_loop_copy(), and split_edge_bb_loc().
|
extern |
Duplicates REGION consisting of N_REGION blocks. The new blocks are stored to REGION_COPY in the same order in that they appear in REGION, if REGION_COPY is not NULL. ENTRY is the entry to the region, EXIT an exit from it. The condition guarding EXIT is moved to ENTRY. Returns true if duplication succeeds, false otherwise. For example, some_code; if (cond) A; else B; is transformed to if (cond) { some_code; A; } else { some_code; B; }
References add_phi_args_after_copy(), as_a(), bb_part_of_region_p(), can_copy_bbs_p(), CDI_DOMINATORS, cfun, copy_bbs(), copy_phi_arg_into_existing_phi(), duplicate_loop(), duplicate_subloops(), EDGE_COUNT, EDGE_SUCC, loop::exits, free(), free_original_copy_tables(), gcc_assert, get_bb_copy(), get_bb_original(), get_dominated_by_region(), gimple_copy(), gsi_insert_after(), gsi_last_bb(), GSI_NEW_STMT, loop::header, i, initialize_original_copy_tables(), profile_count::initialized_p(), loop::inner, iterate_fix_dominators(), loop::latch, make_edge(), need_ssa_update_p(), loop::next, NULL, PENDING_STMT, redirect_edge_and_branch(), rescan_loop_exit(), scale_bbs_frequencies_profile_count(), set_immediate_dominator(), set_loop_copy(), single_succ_edge(), split_edge(), split_edge_bb_loc(), stmt_ends_bb_p(), and profile_count::uninitialized().
Referenced by transform_to_exit_first_loop().
|
extern |
Add SEQ after GSI. Start new bb after GSI, and created further bbs as needed. Returns true if new bbs were created. Note: This is transitional code, and should not be used for new code. We should be able to get rid of this by rewriting all target va-arg gimplification hooks to use an interface gimple_build_cond_value as described in https://gcc.gnu.org/ml/gcc-patches/2015-02/msg01194.html.
References add_bb_to_loop(), cfun, basic_block_def::count, FOR_EACH_EDGE, gcc_assert, gimple_bb(), gsi_stmt(), link_block(), basic_block_def::loop_father, make_blocks_1(), make_edges_bb(), n_basic_blocks_for_fn, basic_block_def::next_bb, NULL, basic_block_def::preds, PROFILE_READ, profile_status_for_fn, redirect_edge_succ(), split_block(), tree_guess_outgoing_edge_probabilities(), unlink_block(), and profile_count::zero().
Referenced by expand_ifn_va_arg_1().
|
extern |
Purge dead abnormal call edges from basic block listed in BLOCKS.
References BASIC_BLOCK_FOR_FN, cfun, changed, EXECUTE_IF_SET_IN_BITMAP, gcc_assert, gimple_purge_dead_abnormal_call_edges(), i, and NULL.
Referenced by eliminate_dom_walker::eliminate_cleanup(), and substitute_and_fold_engine::substitute_and_fold().
|
extern |
Purge dead EH edges from basic block listed in BLOCKS.
References BASIC_BLOCK_FOR_FN, cfun, changed, EXECUTE_IF_SET_IN_BITMAP, gcc_assert, gimple_purge_dead_eh_edges(), i, and NULL.
Referenced by ipcp_modif_dom_walker::cleanup_eh(), eliminate_dom_walker::eliminate_cleanup(), fold_marked_statements(), substitute_and_fold_engine::substitute_and_fold(), and tree_lower_complex().
|
extern |
Purge dead abnormal call edges from basic block BB.
References changed, ei_next(), ei_safe_edge(), ei_start, gsi_last_bb(), remove_edge_and_dominated_blocks(), stmt_can_make_abnormal_goto(), and basic_block_def::succs.
Referenced by execute_fixup_cfg(), gimple_purge_all_dead_abnormal_call_edges(), and optimize_inline_calls().
|
extern |
Purge dead EH edges from basic block BB.
References cfun, changed, ei_next(), ei_safe_edge(), ei_start, gsi_last_bb(), remove_edge_and_dominated_blocks(), stmt_can_throw_internal(), and basic_block_def::succs.
Referenced by strlen_pass::before_dom_children(), cleanup_control_flow_bb(), execute_cse_conv_1(), execute_cse_sincos_1(), execute_fixup_cfg(), expand_omp_target(), expand_omp_taskreg(), expand_vector_operations(), gimple_expand_vec_set_extract_expr(), gimple_ic(), gimple_purge_all_dead_eh_edges(), instrument_memory_accesses(), ipa_simd_modify_function_body(), ipa_param_body_adjustments::modify_cfun_body(), optimize_inline_calls(), redirect_all_calls(), replace_uses_by(), sra_modify_function_body(), and scc_copy_prop::~scc_copy_prop().
|
extern |
Returns true if the sequence of statements STMTS only contains a call to __builtin_unreachable ().
References gimple_call_builtin_p(), gimple_clobber_p(), gsi_end_p(), gsi_last(), gsi_prev(), gsi_stmt(), is_gimple_debug(), NULL, sanitize_flags_p(), and SANITIZE_UNREACHABLE.
Referenced by assert_unreachable_fallthru_edge_p(), expand_case(), group_case_labels_stmt(), and remove_unreachable::maybe_register().
|
extern |
Return the default basic block of a switch statement.
References gimple_switch_label_bb().
Referenced by tree_switch_conversion::switch_decision_tree::analyze_switch_statement(), convert_single_case_switch(), tree_switch_conversion::switch_conversion::exp_index_transform(), and group_case_labels_stmt().
Return the default edge of a switch statement.
References gimple_switch_edge().
Referenced by gimple_outgoing_range::calc_switch_ranges(), tree_switch_conversion::switch_conversion::collect(), tree_switch_conversion::jump_table_cluster::emit(), and tree_switch_conversion::switch_decision_tree::try_switch_expansion().
Return the edge that belongs to label numbered INDEX of a switch statement.
References find_edge(), gimple_bb(), and gimple_switch_label_bb().
Referenced by gimple_outgoing_range::calc_switch_ranges(), tree_switch_conversion::switch_conversion::collect(), tree_switch_conversion::switch_decision_tree::compute_cases_per_edge(), gimple_switch_default_edge(), and set_switch_stmt_execution_predicate().
|
extern |
Return the basic block that belongs to label numbered INDEX of a switch statement.
References CASE_LABEL, gimple_switch_label(), and label_to_block().
Referenced by tree_switch_conversion::switch_conversion::check_final_bb(), gimple_switch_default_bb(), gimple_switch_edge(), gimple_verify_flow_info(), and make_gimple_switch_edges().
|
extern |
Look for blocks ending in a multiway branch (a GIMPLE_SWITCH), and scan the sorted vector of cases. Combine the ones jumping to the same label.
References cfun, changed, FOR_EACH_BB_FN, group_case_labels_stmt(), gsi_last_bb(), and safe_dyn_cast().
Referenced by build_gimple_cfg(), and execute_cleanup_cfg_post_optimizing().
Scan the sorted vector of cases in STMT (a GIMPLE_SWITCH) and combine the ones jumping to the same label. Eg. three separate entries 1: 2: 3: become one entry 1..3:
References hash_set< KeyId, Lazy, Traits >::add(), bb_seq(), BUILTINS_LOCATION, CASE_HIGH, CASE_LABEL, CASE_LOW, cfun, hash_set< KeyId, Lazy, Traits >::contains(), DECL_NONLOCAL, dyn_cast(), EDGE_COUNT, find_edge(), FORCED_LABEL, gcc_assert, gimple_bb(), gimple_in_ssa_p(), gimple_label_label(), gimple_location(), gimple_seq_unreachable_p(), gimple_switch_default_bb(), gimple_switch_label(), gimple_switch_num_labels(), gimple_switch_set_label(), gimple_switch_set_num_labels(), gsi_end_p(), gsi_next(), gsi_start_bb(), gsi_stmt(), i, label_to_block(), last_nondebug_stmt(), LOCATION_LOCUS, NULL, remove_edge_and_dominated_blocks(), basic_block_def::succs, and wi::to_wide().
Referenced by end_recording_case_labels(), tree_switch_conversion::switch_conversion::expand(), gimple_lower_bitint(), and group_case_labels().
|
extern |
Garbage collection and PCH support for edge_def.
References current_ir_type(), edge_def::dest, edge_def::edge_def_insns::g, edge_def::goto_locus, gt_ggc_mx(), edge_def::insns, IR_GIMPLE, LOCATION_BLOCK, edge_def::edge_def_insns::r, and edge_def::src.
|
extern |
|
extern |
|
extern |
References cfun, and init_empty_tree_cfg_for_function().
Referenced by build_gimple_cfg(), init_lowered_empty_function(), initialize_cfun(), and move_sese_region_to_fn().
|
extern |
References basic_block_info_for_fn, ENTRY_BLOCK, ENTRY_BLOCK_PTR_FOR_FN, EXIT_BLOCK, EXIT_BLOCK_PTR_FOR_FN, init_flow(), initial_cfg_capacity, label_to_block_map_for_fn, last_basic_block_for_fn, n_basic_blocks_for_fn, NUM_FIXED_BLOCKS, PROFILE_ABSENT, profile_status_for_fn, SET_BASIC_BLOCK_FOR_FN, and vec_safe_grow_cleared().
Referenced by function_reader::create_function(), init_empty_tree_cfg(), and input_cfg().
|
extern |
Insert COND expression which is GIMPLE_COND after STMT in basic block BB with appropriate basic block split and creation of a new conditionally executed basic block. Update profile so the new bb is visited with probability PROB. Return created basic block.
References add_bb_to_loop(), CDI_DOMINATORS, basic_block_def::count, create_empty_bb(), current_loops, dom_info_available_p(), gcc_assert, GSI_CONTINUE_LINKING, gsi_end_p(), gsi_insert_after(), gsi_insert_before(), gsi_last_bb(), basic_block_def::loop_father, make_edge(), make_single_succ_edge(), set_immediate_dominator(), and split_block().
Referenced by expand_complex_multiplication().
Return true if T is a statement that may alter the flow of control (e.g., a call to a non-returning function).
References as_a(), CASE_GIMPLE_OMP, cfun, gcc_assert, gimple_asm_nlabels(), gimple_call_ctrl_altering_p(), and stmt_can_throw_internal().
Referenced by expand_complex_move(), instrument_expr(), make_edges_bb(), mark_stmt_if_obviously_necessary(), stmt_ends_bb_p(), vect_schedule_slp_node(), and vect_slp_function().
Return true if T represents a stmt that always transfers control.
Referenced by create_edge_for_control_dependence(), do_hoist_insertion(), execute_fixup_cfg(), find_necessary_statements(), gimple_verify_flow_info(), gsi_move_to_bb_end(), mark_last_stmt_necessary(), remove_dead_stmt(), stmt_ends_bb_p(), fwd_jt_path_registry::thread_block_1(), and vect_stmt_relevant_p().
|
extern |
Return the basic block holding label DEST.
References BASIC_BLOCK_FOR_FN, function::cfg, cfun, gimple_build_label(), gsi_insert_before(), GSI_NEW_STMT, gsi_start_bb(), LABEL_DECL_UID, NULL, NUM_FIXED_BLOCKS, seen_error(), vec_safe_length(), and control_flow_graph::x_label_to_block_map.
Referenced by tree_switch_conversion::switch_decision_tree::analyze_switch_statement(), associate_equivalences_with_edges(), tree_switch_conversion::switch_conversion::build_constructors(), builtin_setjmp_setup_bb(), clean_up_after_unswitching(), cleanup_control_flow_bb(), cleanup_empty_eh(), convert_single_case_switch(), dump_gimple_switch(), evaluate_control_stmt_using_entry_checks(), execute_early_expand_coro_ifns(), expand_asm_stmt(), expand_case(), find_taken_edge_computed_goto(), back_threader::find_taken_edge_switch(), find_taken_edge_switch_expr(), find_unswitching_predicates_for_bb(), tree_switch_conversion::switch_conversion::gather_default_values(), get_cases_for_edge(), gimple_redirect_edge_and_branch(), gimple_switch_label_bb(), gimple_verify_flow_info(), group_case_labels_stmt(), lower_eh_dispatch(), lower_resx(), main_block_label(), make_cond_expr_edges(), make_edges_bb(), make_eh_dispatch_edges(), make_eh_edge(), make_gimple_asm_edges(), make_goto_expr_edges(), maybe_remove_unreachable_handlers(), predicate_bbs(), record_edge_info(), redirect_eh_dispatch_edge(), simplify_gimple_switch_label_vec(), simplify_using_ranges::simplify_switch_using_ranges(), jump_threader::thread_around_empty_blocks(), jump_threader::thread_through_normal_block(), unsplit_eh(), verify_eh_dispatch_edge(), and verify_eh_edges().
|
extern |
Return the last statement of an otherwise empty block. Return NULL if the block is totally empty, or if it contains more than one statement.
References gsi_end_p(), gsi_last_nondebug_bb(), gsi_prev_nondebug(), gsi_stmt(), i, last, and NULL.
Referenced by cond_store_replacement(), determine_parallel_type(), edge_forwards_cmp_to_conditional_jump_through_empty_bb_p(), minmax_replacement(), and poor_ifcvt_pred().
|
extern |
Return the last statement in basic block BB.
References gsi_end_p(), gsi_last_bb(), gsi_prev(), gsi_stmt(), i, is_gimple_debug(), and NULL.
Referenced by adjust_context_and_scope(), autofdo::afdo_propagate_circuit(), assign_discriminators(), compute_added_num_insns(), determine_parallel_type(), do_warn_aggressive_loop_optimizations(), do_while_loop_p(), estimate_numbers_of_iterations(), execute_fixup_cfg(), expand_oacc_for(), expand_omp(), expand_omp_atomic(), expand_omp_atomic_cas(), expand_omp_atomic_fetch_op(), expand_omp_for(), expand_omp_for_init_counts(), expand_omp_for_init_vars(), expand_omp_for_static_chunk(), expand_omp_sections(), expand_omp_simd(), expand_omp_target(), expand_omp_taskreg(), expand_task_call(), gen_parallel_loop(), get_predicates_for_bb(), gimple_can_duplicate_bb_p(), group_case_labels_stmt(), hoist_guard(), init_loop_unswitch_info(), is_in_offload_region(), match_simplify_replacement(), may_eliminate_iv(), maybe_optimize_range_tests(), minmax_replacement(), no_side_effect_bb(), omp_make_gimple_edges(), optimize_range_tests(), optimize_range_tests_to_bit_test(), optimize_range_tests_var_bound(), rvrp_folder::pre_fold_bb(), gimple_ranger::range_on_exit(), reassociate_bb(), redirect_all_calls(), remove_exit_barrier(), set_predicates_for_bb(), standard_iv_increment_position(), stmt_after_ip_normal_pos(), suitable_cond_bb(), tm_region_init(), update_range_test(), and workshare_safe_to_combine_p().
|
extern |
Move a single-entry, single-exit region delimited by ENTRY_BB and EXIT_BB to function DEST_CFUN. The whole region is replaced by a single basic block in the original CFG and the new basic block is returned. DEST_CFUN must not have a CFG yet. Note that the region need not be a pure SESE region. Blocks inside the region may contain calls to abort/exit. The only restriction is that ENTRY_BB should be the only entry point and it must dominate EXIT_BB. Change TREE_BLOCK of all statements in ORIG_BLOCK to the new functions outermost BLOCK, move all subblocks of ORIG_BLOCK to the new function. All local variables referenced in the region are assumed to be in the corresponding BLOCK_VARS and unexpanded variable lists associated with DEST_CFUN. TODO: investigate whether we can reuse gimple_duplicate_sese_region to reimplement move_sese_region_to_fn by duplicating the region rather than moving it.
References add_bb_to_loop(), loop::aux, BITMAP_ALLOC, BITMAP_FREE, BLOCK_CHAIN, BLOCK_SUBBLOCKS, BLOCK_SUPERCONTEXT, build_int_cst(), CDI_DOMINATORS, function::cfg, cfun, hash_table< Descriptor, Lazy, Allocator >::clear_slot(), basic_block_def::count, count, create_empty_bb(), current_loops, function::decl, DECL_ARGUMENTS, DECL_CHAIN, DECL_INITIAL, dominated_by_p(), duplicate_eh_regions(), EDGE_COUNT, function::eh, move_stmt_d::eh_map, ei_safe_edge(), ei_start, ENTRY_BLOCK_PTR_FOR_FN, EXECUTE_IF_SET_IN_BITMAP, EXIT_BLOCK_PTR_FOR_FN, loop::exits, loops::exits, find_loop_dist_alias(), find_outermost_region_in_block(), hash_table< Descriptor, Lazy, Allocator >::find_slot_with_hash(), fixup_loop_arrays_after_move(), flow_loop_tree_node_add(), flow_loop_tree_node_remove(), fold_loop_internal_call(), FOR_EACH_BB_FN, FOR_EACH_EDGE, FOR_EACH_VEC_ELT, loop::force_vectorize, free(), free_numbers_of_iterations_estimates(), move_stmt_d::from_context, g, gather_blocks_in_sese_region(), gather_ssa_name_hash_map_from(), gcc_assert, get_dominated_by_region(), get_immediate_dominator(), get_loop(), get_loops(), ggc_cleared_alloc(), ggc_free(), gimple_build_nop(), gimple_call_arg(), gimple_call_set_arg(), gimple_in_ssa_p(), function::has_force_vectorize_loops, function::has_simduid_loops, loop::header, i, init_eh_for_function(), init_empty_tree_cfg(), init_loops_structure(), integer_type_node, loops::larray, function::last_clique, basic_block_def::loop_father, loop_outer(), loops_for_fn(), LOOPS_MAY_HAVE_MULTIPLE_LATCHES, make_edge(), make_single_succ_edge(), make_ssa_name_fn(), move_block_to_fn(), move_stmt_d::new_block, move_stmt_d::new_label_map, new_label_mapper(), NULL, NULL_TREE, loop::num_nodes, move_stmt_d::orig_block, pop_cfun(), basic_block_def::preds, push_cfun(), hash_map< KeyId, Value, Traits >::put(), release_ssa_name(), move_stmt_d::remap_decls_p, remove_edge(), replace_block_vars_by_duplicates(), replace_by_duplicate_decl(), set_immediate_dominator(), set_loops_for_fn(), set_ssa_default_def(), loop::simduid, ssa_name, loops::state, basic_block_def::succs, move_stmt_d::to_context, hash_map< KeyId, Value, Traits >::traverse(), tree_map_eq, tree_map_hash(), tree_to_shwi(), update_stmt(), move_stmt_d::vars_map, vec_safe_iterate(), vec_safe_length(), verify_sese(), control_flow_graph::x_entry_block_ptr, and profile_count::zero().
Referenced by expand_omp_target(), and expand_omp_taskreg().
|
extern |
T is CALL_EXPR. Set current_function_calls_* flags.
References cfun, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE, gimple_call_flags(), and gimple_call_must_tail_p().
Referenced by copy_bb(), eliminate_unnecessary_stmts(), gimplify_call_expr(), gimplify_modify_expr(), and move_block_to_fn().
|
extern |
Follow a CFG edge from the entry point of the program, and on entry of a loop, pretty print the loop structure on FILE.
References cfun, current_function_name(), ENTRY_BLOCK_PTR_FOR_FN, basic_block_def::loop_father, and print_loop_and_siblings().
Referenced by debug_loops().
|
extern |
Print to FILE the basic block BB following the VERBOSITY level.
References alloca, dump_bb(), basic_block_def::index, print_pred_bbs(), print_succ_bbs(), TDF_MEMSYMS, and TDF_VOPS.
Referenced by print_loop().
|
extern |
Removes edge E and all the blocks dominated by it, and updates dominance information. The IL in E->src needs to be updated separately. If dominance info is not available, only the edge E is removed.
References BASIC_BLOCK_FOR_FN, bitmap_clear_bit(), bitmap_ior_into(), bitmap_set_bit, CDI_DOMINATORS, cfgcleanup_altered_bbs, cfun, current_loops, delete_basic_block(), df, dom_info_available_p(), dominated_by_p(), EXECUTE_IF_SET_IN_BITMAP, EXIT_BLOCK_PTR_FOR_FN, first_dom_son(), flow_loop_nested_p(), FOR_EACH_EDGE, FOR_EACH_VEC_ELT, free_numbers_of_iterations_estimates(), get_all_dominated_blocks(), get_immediate_dominator(), loop::header, i, basic_block_def::index, iterate_fix_dominators(), loop_outer(), LOOPS_NEED_FIXUP, loops_state_set(), mark_loop_for_removal(), next_dom_son(), NULL, basic_block_def::preds, remove_edge(), basic_block_def::succs, and vNULL.
Referenced by cleanup_control_expr_graph(), cleanup_control_flow_bb(), expand_omp_taskloop_for_inner(), expand_omp_taskreg(), gimple_purge_dead_abnormal_call_edges(), gimple_purge_dead_eh_edges(), group_case_labels_stmt(), and remove_fallthru_edge().
Replaces all uses of NAME by VAL.
References as_a(), bitmap_set_bit, cfgcleanup_altered_bbs, cfun, current_loops, fold_stmt(), FOR_EACH_IMM_USE_ON_STMT, FOR_EACH_IMM_USE_STMT, gcc_checking_assert, gimple_bb(), gimple_num_ops(), gimple_op(), gimple_phi_arg_edge(), gimple_purge_dead_eh_edges(), gsi_for_stmt(), gsi_stmt(), has_zero_uses(), i, is_gimple_min_invariant(), maybe_clean_or_replace_eh_stmt(), PHI_ARG_INDEX_FROM_USE, recompute_tree_invariant_for_addr_expr(), replace_exp(), SSA_NAME_OCCURS_IN_ABNORMAL_PHI, stmt_ends_bb_p(), substitute_in_loop_info(), TREE_CODE, update_stmt(), and virtual_operand_p().
Referenced by adjust_simduid_builtins(), clean_up_loop_closed_phi(), create_call_for_reduction_1(), execute_cse_conv_1(), execute_oacc_device_lower(), final_value_replacement_loop(), gimple_merge_blocks(), oacc_entry_exit_single_gang(), object_sizes_execute(), optimize_atomic_bit_test_and(), ipa_param_body_adjustments::replace_removed_params_ssa_names(), scc_copy_prop::replace_scc_by_value(), shrink_wrap_one_built_in_call_with_conds(), spaceship_replacement(), tree_if_conversion(), and vect_loop_versioning().
Return true if the LHS of a call should be removed.
References TREE_ADDRESSABLE, TREE_CODE, TREE_TYPE, and TYPE_SIZE_UNIT.
Referenced by cleanup_control_flow_bb(), fixup_noreturn_call(), gimple_fold_call(), gimple_ic(), gimplify_modify_expr(), cgraph_edge::redirect_call_stmt_to_callee(), and verify_gimple_call().
Return true if T is a simple local goto.
References gimple_goto_dest(), and TREE_CODE.
Referenced by gimple_verify_flow_info(), make_goto_expr_edges(), and mark_stmt_if_obviously_necessary().
|
extern |
Return the one of two successors of BB that is not reachable by a complex edge, if there is one. Else, return BB. We use this in optimizations that use post-dominators for their heuristics, to catch the cases in C++ where function calls are involved.
References EDGE_COMPLEX, EDGE_COUNT, EDGE_SUCC, and basic_block_def::succs.
Referenced by compute_merit().
|
extern |
Split all critical edges. Split some extra (not necessarily critical) edges if FOR_EDGE_INSERTION_P is true.
References cfun, EDGE_CRITICAL_P, end_recording_case_labels(), ENTRY_BLOCK_PTR_FOR_FN, EXIT_BLOCK_PTR_FOR_FN, FOR_ALL_BB_FN, FOR_EACH_EDGE, gimple_call_builtin_p(), gimple_seq_empty_p(), gsi_end_p(), gsi_last_bb(), gsi_stmt(), phi_nodes(), single_pred_p(), split_edge(), start_recording_case_labels(), stmt_ends_bb_p(), and basic_block_def::succs.
Referenced by split_edges_for_insertion().
|
extern |
Returns the basic block after which the new basic block created by splitting edge EDGE_IN should be placed. Tries to keep the new block near its "logical" location. This is of most help to humans looking at debugging dumps.
References edge_def::dest, EDGE_COMPLEX, find_edge(), and basic_block_def::prev_bb.
Referenced by back_jt_path_registry::duplicate_thread_path(), gimple_duplicate_seme_region(), gimple_duplicate_sese_tail(), and gimple_split_edge().
|
inline |
References split_critical_edges().
Referenced by tail_merge_optimize().
|
extern |
Start recording information mapping edges to case labels.
References BITMAP_ALLOC, edge_to_cases, gcc_assert, NULL, and touched_switch_bbs.
Referenced by cleanup_tree_cfg_noloop(), and split_critical_edges().
Return true if T can make an abnormal transfer of control flow. Transfers of control flow associated with EH are excluded.
References call_can_make_abnormal_goto(), computed_goto_p(), and is_gimple_call().
Referenced by substitute_and_fold_dom_walker::before_dom_children(), copy_cfg_body(), copy_edges_for_bb(), delete_dead_or_redundant_assignment(), eliminate_dom_walker::eliminate_cleanup(), eliminate_dom_walker::eliminate_stmt(), eliminate_unnecessary_stmts(), gimple_purge_dead_abnormal_call_edges(), make_blocks_1(), make_edges_bb(), and maybe_move_debug_stmts_to_successors().
Return true if T should end a basic block.
References is_ctrl_altering_stmt(), and is_ctrl_stmt().
Referenced by abnormal_edge_after_stmt_p(), ranger_cache::apply_inferred_ranges(), arith_overflow_check_p(), avoid_deep_ter_for_debug(), can_guard_call_p(), ccp_initialize(), compute_avail(), create_new_iv(), disqualify_if_bad_bb_terminating_stmt(), do_hoist_insertion(), expand_call_inline(), gimple_can_merge_blocks_p(), gimple_duplicate_sese_tail(), gimple_find_edge_insert_loc(), gimple_ic(), gimple_lower_bitint(), gimple_merge_blocks(), gimple_verify_flow_info(), gsi_insert_finally_seq_after_call(), if_convertible_gimple_assign_stmt_p(), init_copy_prop(), init_dont_simulate_again(), insert_backedge_copies(), insert_gimplified_predicates(), insert_initializers(), insert_stmt_after(), insert_trap(), instrument_bool_enum_load(), make_blocks_1(), make_edges_bb(), maybe_register_def(), move_debug_stmts_from_forwarder(), movement_possibility_1(), replace_uses_by(), rewrite_stmt(), scan_function(), shrink_wrap_one_built_in_call_with_conds(), simplify_builtin_call(), ssa_propagation_engine::simulate_stmt(), split_critical_edges(), sra_modify_assign(), sra_modify_call_arg(), sra_modify_expr(), ssa_create_duplicates(), statement_sink_location(), use_internal_fn(), vect_create_constant_vectors(), and vect_transform_cycle_phi().
Disable warnings about missing quoting in GCC diagnostics for the verification errors. Their format strings don't follow GCC diagnostic conventions and trigger an ICE in the end.
Verify the GIMPLE statements in the CFG of FN.
References hash_set< KeyId, Lazy, Traits >::add(), cfun, collect_subblocks(), debug_generic_expr(), debug_gimple_stmt(), function::decl, DECL_INITIAL, eh_error_found, error(), FOR_EACH_BB_FN, FOR_EACH_EDGE, get_eh_throw_stmt_table(), gimple_bb(), gimple_location(), gimple_phi_arg_def(), gimple_phi_arg_location(), gimple_phi_num_args(), gimple_phi_result(), walk_stmt_info::gsi, gsi_end_p(), gsi_next(), gsi_one_before_end_p(), gsi_start_bb(), gsi_start_phis(), gsi_stmt(), i, internal_error(), lookup_stmt_eh_lp(), NULL, walk_stmt_info::stmt, stmt_could_throw_p(), basic_block_def::succs, timevar_pop(), timevar_push(), hash_map< KeyId, Value, Traits >::traverse(), UNKNOWN_LOCATION, verify_eh_throw_stmt_node(), verify_expr_location(), verify_expr_location_1(), verify_gimple_phi(), verify_gimple_stmt(), verify_histograms(), verify_location(), verify_node_sharing(), verify_node_sharing_1(), virtual_operand_p(), visited, walk_gimple_op(), and walk_tree.
Referenced by execute_function_todo().
|
extern |
Verify the GIMPLE statements inside the statement list STMTS.
References internal_error(), timevar_pop(), timevar_push(), and verify_gimple_in_seq_2().
Referenced by execute_function_todo(), and gimplify_body().
|
extern |
Verify that the blocks in BBS_P are a single-entry, single-exit region delimited by ENTRY_BB and EXIT_BB, possibly containing noreturn blocks.
References BITMAP_ALLOC, bitmap_bit_p, BITMAP_FREE, bitmap_set_bit, ei_edge(), ei_end_p(), ei_next(), ei_start, FOR_EACH_VEC_ELT, gcc_assert, i, basic_block_def::index, NULL, basic_block_def::preds, single_pred(), single_pred_p(), single_succ(), single_succ_p(), and basic_block_def::succs.
Referenced by move_sese_region_to_fn().