osprey-gcc/gcc/tracer.c File Reference

#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"

Include dependency graph for tracer.c:

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


Define Documentation

#define seen ( bb   )     (bb->rbi->visited || bb->rbi->next)

Definition at line 68 of file tracer.c.


Function Documentation

static bool better_p ( edge  e1,
edge  e2 
) [static]

Definition at line 99 of file tracer.c.

References edge::dest, and edge::src.

static int count_insns ( basic_block  bb  )  [static]

Definition at line 84 of file tracer.c.

References active_insn_p(), BB_END, BB_HEAD, insn, n, and NEXT_INSN.

static edge find_best_predecessor ( basic_block  bb  )  [static]

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]

static bool ignore_bb_p ( basic_block  bb  )  [static]

Definition at line 72 of file tracer.c.

References basic_block_def::index, and maybe_hot_bb_p().

static void layout_superblocks ( void   )  [static]

static void tail_duplicate ( void   )  [static]

void tracer ( unsigned int  flags  ) 

Definition at line 363 of file tracer.c.


Variable Documentation

int branch_ratio_cutoff [static]

Definition at line 63 of file tracer.c.

int probability_cutoff [static]

Definition at line 62 of file tracer.c.


Generated on Wed Apr 8 15:46:35 2009 for Open64 by  doxygen 1.5.6