Lines Matching defs:cfg_hooks

72 struct cfg_hooks  struct
75 const char *name;
78 int (*verify_flow_info) (void);
79 void (*dump_bb) (FILE *, basic_block, int, dump_flags_t);
80 void (*dump_bb_for_graph) (pretty_printer *, basic_block);
85 basic_block (*create_basic_block) (void *head, void *end, basic_block after);
91 edge (*redirect_edge_and_branch) (edge e, basic_block b);
96 basic_block (*redirect_edge_and_branch_force) (edge, basic_block);
100 bool (*can_remove_branch_p) (const_edge);
103 void (*delete_basic_block) (basic_block);
107 basic_block (*split_block) (basic_block b, void * i);
110 bool (*move_block_after) (basic_block b, basic_block a);
113 bool (*can_merge_blocks_p) (basic_block a, basic_block b);
116 void (*merge_blocks) (basic_block a, basic_block b);
119 void (*predict_edge) (edge e, enum br_predictor predictor, int probability);
123 bool (*predicted_by_p) (const_basic_block bb, enum br_predictor predictor);
126 bool (*can_duplicate_block_p) (const_basic_block a);
129 basic_block (*duplicate_block) (basic_block a, copy_bb_data *);
133 basic_block (*split_edge) (edge);
134 void (*make_forwarder_block) (edge);
137 void (*tidy_fallthru_edge) (edge);
140 basic_block (*force_nonfallthru) (edge);
144 bool (*block_ends_with_call_p) (basic_block);
148 bool (*block_ends_with_condjump_p) (const_basic_block);
157 int (*flow_call_edges_add) (sbitmap);
161 void (*execute_on_growing_pred) (edge);
165 void (*execute_on_shrinking_pred) (edge);
169 bool (*cfg_hook_duplicate_loop_to_header_edge) (class loop *, edge,
176 void (*lv_add_condition_to_bb) (basic_block, basic_block, basic_block,
179 void (*lv_adjust_loop_header_phi) (basic_block, basic_block,
184 void (*extract_cond_bb_edges) (basic_block, edge *, edge *);
189 void (*flush_pending_stmts) (edge);
192 bool (*empty_block_p) (basic_block);
196 basic_block (*split_block_before_cond_jump) (basic_block);
199 void (*account_profile_record) (basic_block, struct profile_record *);