#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "tree.h"#include "rtl.h"#include "hard-reg-set.h"#include "basic-block.h"#include "output.h"#include "cfglayout.h"#include "fibheap.h"#include "flags.h"#include "timevar.h"#include "params.h"#include "coverage.h"

Go to the source code of this file.
Defines | |
| #define | seen(bb) (bb->rbi->visited || bb->rbi->next) |
Functions/Subroutines | |
| static int | count_insns (basic_block) |
| static bool | ignore_bb_p (basic_block) |
| static bool | better_p (edge, edge) |
| static edge | find_best_successor (basic_block) |
| static edge | find_best_predecessor (basic_block) |
| static int | find_trace (basic_block, basic_block *) |
| static void | tail_duplicate (void) |
| static void | layout_superblocks (void) |
| void | tracer (unsigned int flags) |
Variables | |
| static int | probability_cutoff |
| static int | branch_ratio_cutoff |
| static int count_insns | ( | basic_block | bb | ) | [static] |
| static edge find_best_predecessor | ( | basic_block | bb | ) | [static] |
Definition at line 136 of file tracer.c.
References better_p(), branch_ratio_cutoff, EDGE_FREQUENCY, FOR_EACH_EDGE, basic_block_def::frequency, ignore_bb_p(), NULL, REG_BR_PROB_BASE, and edge::src.
| static edge find_best_successor | ( | basic_block | bb | ) | [static] |
Definition at line 117 of file tracer.c.
References better_p(), edge::dest, FOR_EACH_EDGE, ignore_bb_p(), NULL, and probability_cutoff.
| static int find_trace | ( | basic_block | bb, | |
| basic_block * | trace | |||
| ) | [static] |
Definition at line 157 of file tracer.c.
References edge::dest, dump_file, EDGE_COMPLEX, EDGE_DFS_BACK, find_best_predecessor(), find_best_successor(), edge::flags, fprintf(), basic_block_def::frequency, i, basic_block_def::index, NULL, seen, and edge::src.
| static bool ignore_bb_p | ( | basic_block | bb | ) | [static] |
Definition at line 322 of file tracer.c.
References edge::dest, dest, EDGE_FREQUENCY, EDGE_SUCC, end, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, FOR_EACH_EDGE, basic_block_def::next_bb, and NULL.
Definition at line 199 of file tracer.c.
References blocks, branch_ratio_cutoff, can_duplicate_block_p(), count_insns(), dump_file, duplicate_block(), EDGE_COUNT, fibheap_delete(), fibheap_delete_node(), fibheap_empty(), fibheap_extract_min(), fibheap_insert(), fibheap_new(), find_edge(), find_trace(), flag_branch_probabilities, FOR_EACH_BB, fprintf(), free(), basic_block_def::frequency, gcc_assert, ignore_bb_p(), basic_block_def::index, last_basic_block, n, n_basic_blocks, NULL, PARAM_VALUE, pos(), probability_cutoff, REG_BR_PROB_BASE, seen, xcalloc(), and xmalloc().
int branch_ratio_cutoff [static] |
int probability_cutoff [static] |
1.5.6