osprey/kg++fe/gnu/tracer.c File Reference

#include "config.h"
#include "system.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 "params.h"
#include "profile.h"

Include dependency graph for tracer.c:

Go to the source code of this file.

Defines

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

Functions/Subroutines

static int count_insns PARAMS ((basic_block))
static bool better_p PARAMS ((edge, edge))
static int find_trace PARAMS ((basic_block, basic_block *))
static void tail_duplicate PARAMS ((void))
static bool ignore_bb_p (basic_block bb)
static int count_insns (basic_block bb)
static bool better_p (edge e1, edge e2)
static edge find_best_successor (basic_block bb)
static edge find_best_predecessor (basic_block bb)
static int find_trace (basic_block bb, basic_block *trace)
static void tail_duplicate ()
static void layout_superblocks ()
void tracer ()

Variables

static int probability_cutoff
static int branch_ratio_cutoff


Define Documentation

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


Function Documentation

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

Definition at line 97 of file tracer.c.

Referenced by find_best_predecessor(), and find_best_successor().

static int count_insns ( basic_block  bb  )  [static]

Definition at line 83 of file tracer.c.

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

Referenced by tail_duplicate().

static edge find_best_predecessor ( basic_block  bb  )  [static]

Definition at line 135 of file tracer.c.

References better_p(), EDGE_FREQUENCY, ignore_bb_p(), NULL, edge::pred, edge::pred_next, REG_BR_PROB_BASE, and edge::src.

Referenced by find_trace().

static edge find_best_successor ( basic_block  bb  )  [static]

Definition at line 116 of file tracer.c.

References better_p(), edge::dest, ignore_bb_p(), NULL, edge::succ, and edge::succ_next.

Referenced by find_trace().

static int find_trace ( basic_block  bb,
basic_block trace 
) [static]

static bool ignore_bb_p ( basic_block  bb  )  [static]

Definition at line 70 of file tracer.c.

References maybe_hot_bb_p().

Referenced by find_best_predecessor(), find_best_successor(), and tail_duplicate().

static void layout_superblocks ( void   )  [static]

static void tail_duplicate PARAMS ( (void  )  [static, read]

Definition at line 77 of file cplus-dem.c.

static int find_trace PARAMS ( (basic_block, basic_block *)   )  [static]

static bool better_p PARAMS ( (edge, edge  )  [static]

static int count_insns PARAMS ( (basic_block  )  [static]

static void tail_duplicate ( void   )  [static]

void tracer (  ) 


Variable Documentation

int branch_ratio_cutoff [static]

Definition at line 61 of file tracer.c.

Referenced by find_best_predecessor(), and tail_duplicate().

int probability_cutoff [static]

Definition at line 60 of file tracer.c.

Referenced by find_best_successor(), schedule_ebbs(), and tail_duplicate().


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