#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "tree.h"#include "rtl.h"#include "basic-block.h"#include "tree-flow.h"#include "timevar.h"#include "toplev.h"

Go to the source code of this file.
| bool block_ends_with_call_p | ( | basic_block | bb | ) |
Definition at line 770 of file cfghooks.c.
Referenced by compute_branch_probabilities(), and find_traces_1_round().
| bool block_ends_with_condjump_p | ( | basic_block | bb | ) |
| bool can_duplicate_block_p | ( | basic_block | bb | ) |
Definition at line 675 of file cfghooks.c.
Referenced by can_copy_bbs_p(), copy_bb_p(), duplicate_block(), duplicate_computed_gotos(), and tail_duplicate().
| bool can_merge_blocks_p | ( | basic_block | bb1, | |
| basic_block | bb2 | |||
| ) |
Definition at line 490 of file cfghooks.c.
Referenced by combine_blocks(), merge_seq_blocks(), and try_optimize_cfg().
| basic_block create_basic_block | ( | void * | head, | |
| void * | end, | |||
| basic_block | after | |||
| ) |
Definition at line 462 of file cfghooks.c.
| basic_block create_empty_bb | ( | basic_block | after | ) |
Definition at line 482 of file cfghooks.c.
Referenced by build_tree_cfg(), expand_complex_div_wide(), expand_omp_for_generic(), expand_omp_for_static_chunk(), expand_omp_for_static_nochunk(), expand_omp_sections(), expand_parallel_call(), factor_computed_gotos(), mf_build_check_statement_for(), move_sese_region_to_fn(), perfect_nestify(), tree_duplicate_bb(), tree_split_block(), tree_split_edge(), and unswitch_loop().
| void delete_basic_block | ( | basic_block | bb | ) |
Definition at line 371 of file cfghooks.c.
Referenced by delete_unreachable_blocks(), erase_matching_seqs(), find_cond_trap(), find_if_case_1(), find_if_case_2(), remove_bbs(), remove_forwarder_block(), remove_forwarder_block_with_phi(), replace_phi_edge_with_variable(), replace_phi_with_stmt(), schedule_ebb(), try_crossjump_to_edge(), try_optimize_cfg(), and try_simplify_condjump().
| void dump_bb | ( | basic_block | bb, | |
| FILE * | outf, | |||
| int | indent | |||
| ) |
Definition at line 237 of file cfghooks.c.
| basic_block duplicate_block | ( | basic_block | bb, | |
| edge | e | |||
| ) |
Definition at line 699 of file cfghooks.c.
References can_duplicate_block_p(), basic_block_def::count, edge::dest, cfg_hooks::duplicate_block, EDGE_FREQUENCY, edge::flags, basic_block_def::flags, FOR_EACH_EDGE, basic_block_def::frequency, gcc_assert, internal_error(), basic_block_def::loop_depth, n, cfg_hooks::name, redirect_edge_and_branch_force(), s, and unchecked_make_edge().
Referenced by copy_bb(), copy_bbs(), create_block_for_threading(), duplicate_computed_gotos(), and tail_duplicate().
Definition at line 812 of file cfghooks.c.
Referenced by redirect_edge_succ(), and unchecked_make_edge().
| int flow_call_edges_add | ( | sbitmap | blocks | ) |
Definition at line 799 of file cfghooks.c.
References cfg_hooks::flow_call_edges_add, internal_error(), and cfg_hooks::name.
| int ir_type | ( | void | ) |
Definition at line 61 of file cfghooks.c.
Referenced by branch_prob(), compute_branch_probabilities(), compute_value_histograms(), dump_enable_all(), legitimize_pic_address(), lv_adjust_loop_entry_edge(), rtl_register_profile_hooks(), rtl_register_value_prof_hooks(), tree_register_profile_hooks(), and tree_register_value_prof_hooks().
| edge make_forwarder_block | ( | basic_block | bb, | |
| bool(*)(edge) | redirect_edge_p, | |||
| void(*)(basic_block) | new_bb_cbk | |||
| ) |
Definition at line 567 of file cfghooks.c.
| void merge_blocks | ( | basic_block | a, | |
| basic_block | b | |||
| ) |
Definition at line 523 of file cfghooks.c.
| bool move_block_after | ( | basic_block | bb, | |
| basic_block | after | |||
| ) |
Definition at line 356 of file cfghooks.c.
Referenced by create_preheader(), duplicate_block(), loop_version(), move_block_to_fn(), and tree_merge_blocks().
| void predict_edge | ( | edge | e, | |
| enum br_predictor | predictor, | |||
| int | probability | |||
| ) |
Definition at line 503 of file cfghooks.c.
References internal_error(), cfg_hooks::name, and cfg_hooks::predict_edge.
| bool predicted_by_p | ( | basic_block | bb, | |
| enum br_predictor | predictor | |||
| ) |
Definition at line 512 of file cfghooks.c.
| edge redirect_edge_and_branch | ( | edge | e, | |
| basic_block | dest | |||
| ) |
Definition at line 284 of file cfghooks.c.
References internal_error(), cfg_hooks::name, cfg_hooks::redirect_edge_and_branch, and ret.
| basic_block redirect_edge_and_branch_force | ( | edge | e, | |
| basic_block | dest | |||
| ) |
Definition at line 302 of file cfghooks.c.
References internal_error(), cfg_hooks::name, cfg_hooks::redirect_edge_and_branch_force, and ret.
Definition at line 38 of file cfghooks.c.
Referenced by cfg_layout_finalize(), sh_output_mi_thunk(), and tree_expand_cfg().
| edge split_block | ( | basic_block | bb, | |
| void * | i | |||
| ) |
Definition at line 320 of file cfghooks.c.
| edge split_block_after_labels | ( | basic_block | bb | ) |
Definition at line 347 of file cfghooks.c.
Referenced by make_forwarder_block(), and mf_build_check_statement_for().
| basic_block split_edge | ( | edge | e | ) |
Definition at line 397 of file cfghooks.c.
References BB_IRREDUCIBLE_LOOP, CDI_DOMINATORS, count, basic_block_def::count, dest, dom_computed, DOM_NO_FAST_QUERY, dominated_by_p(), EDGE_FREQUENCY, EDGE_IRREDUCIBLE_LOOP, EDGE_PRED, EDGE_SUCC, f, edge::flags, basic_block_def::flags, FOR_EACH_EDGE, basic_block_def::frequency, get_immediate_dominator(), internal_error(), cfg_hooks::name, REG_BR_PROB_BASE, ret, set_immediate_dominator(), cfg_hooks::split_edge, src, and edge::src.
Definition at line 621 of file cfghooks.c.
Definition at line 633 of file cfghooks.c.
References b, BB_END, c, edge::dest, EDGE_COMPLEX, EDGE_COUNT, EDGE_SUCC, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, find_reg_note(), edge::flags, FOR_BB_BETWEEN, basic_block_def::next_bb, NULL_RTX, s, cfg_hooks::tidy_fallthru_edge, and tidy_fallthru_edge().
Definition at line 53 of file cfghooks.c.
Referenced by build_tree_cfg(), cgraph_decide_inlining_incrementally(), copy_cfg_body(), gimple_expand_calls_inline(), ipa_passes(), slpeel_tree_peel_loop_to_edge(), tree_lowering_passes(), and tree_rest_of_compilation().
Definition at line 72 of file cfghooks.c.
References BASIC_BLOCK, basic_block_def::count, edge::dest, dump_edge_info(), EDGE_FALLTHRU, ENTRY_BLOCK_PTR, err, error(), EXIT_BLOCK_PTR, edge::flags, FOR_BB_BETWEEN, FOR_EACH_BB_REVERSE, FOR_EACH_EDGE, fprintf(), fputc(), fputs(), free(), basic_block_def::frequency, basic_block_def::index, edge_iterator::index, internal_error(), last_basic_block, NULL, basic_block_def::prev_bb, REG_BR_PROB_BASE, size_t, edge::src, timevar_pop, timevar_push, cfg_hooks::verify_flow_info, and xcalloc().
Definition at line 34 of file cfghooks.c.
1.5.6