osprey-gcc-4.2.0/gcc/sched-ebb.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "toplev.h"
#include "rtl.h"
#include "tm_p.h"
#include "hard-reg-set.h"
#include "regs.h"
#include "function.h"
#include "flags.h"
#include "insn-config.h"
#include "insn-attr.h"
#include "except.h"
#include "recog.h"
#include "cfglayout.h"
#include "params.h"
#include "sched-int.h"
#include "target.h"
#include "output.h"

Include dependency graph for sched-ebb.c:

Go to the source code of this file.

Functions/Subroutines

static void init_ready_list (void)
static void begin_schedule_ready (rtx, rtx)
static int schedule_more_p (void)
static const char * ebb_print_insn (rtx, int)
static int rank (rtx, rtx)
static int contributes_to_priority (rtx, rtx)
static void compute_jump_reg_dependencies (rtx, regset, regset, regset)
static basic_block earliest_block_with_similiar_load (basic_block, rtx)
static void add_deps_for_risky_insns (rtx, rtx)
static basic_block schedule_ebb (rtx, rtx)
static void add_remove_insn (rtx, int)
static void add_block1 (basic_block, basic_block)
static basic_block advance_target_bb (basic_block, rtx)
static void fix_recovery_cfg (int, int, int)
static const char * ebb_print_insn (rtx insn, int aligned ATTRIBUTE_UNUSED)
static int contributes_to_priority (rtx next ATTRIBUTE_UNUSED, rtx insn ATTRIBUTE_UNUSED)
void schedule_ebbs (void)
static void add_remove_insn (rtx insn ATTRIBUTE_UNUSED, int remove_p)
static void fix_recovery_cfg (int bbi ATTRIBUTE_UNUSED, int jump_bbi, int jump_bb_nexti)

Variables

static int sched_n_insns
static int n_insns
static bitmap_head dont_calc_deps
static bitmap_head ebb_head
static bitmap_head ebb_tail
static basic_block last_bb
static struct sched_info ebb_sched_info


Function Documentation

static void add_block1 ( basic_block  bb,
basic_block  after 
) [static]

Definition at line 702 of file sched-ebb.c.

References bitmap_set_bit(), dont_calc_deps, EXIT_BLOCK_PTR, and basic_block_def::index.

static void add_deps_for_risky_insns ( rtx  head,
rtx  tail 
) [static]

static void add_remove_insn ( rtx insn  ATTRIBUTE_UNUSED,
int  remove_p 
) [static]

Definition at line 692 of file sched-ebb.c.

References n_insns.

static void add_remove_insn ( rtx  ,
int   
) [static]

static basic_block advance_target_bb ( basic_block  bb,
rtx  insn 
) [static]

static void begin_schedule_ready ( rtx  insn,
rtx  last 
) [static]

static void compute_jump_reg_dependencies ( rtx  insn,
regset  cond_set,
regset  used,
regset  set 
) [static]

static int contributes_to_priority ( rtx next  ATTRIBUTE_UNUSED,
rtx insn  ATTRIBUTE_UNUSED 
) [static]

Definition at line 222 of file sched-ebb.c.

static int contributes_to_priority ( rtx  ,
rtx   
) [static]

static basic_block earliest_block_with_similiar_load ( basic_block  last_block,
rtx  load_insn 
) [static]

static const char* ebb_print_insn ( rtx  insn,
int aligned  ATTRIBUTE_UNUSED 
) [static]

Definition at line 190 of file sched-ebb.c.

References INSN_UID, sprintf(), and tmp.

static const char* ebb_print_insn ( rtx  ,
int   
) [static]

static void fix_recovery_cfg ( int bbi  ATTRIBUTE_UNUSED,
int  jump_bbi,
int  jump_bb_nexti 
) [static]

Definition at line 755 of file sched-ebb.c.

References BASIC_BLOCK, gcc_assert, and basic_block_def::index.

static void fix_recovery_cfg ( int  ,
int  ,
int   
) [static]

static void init_ready_list ( void   )  [static]

static int rank ( rtx  insn1,
rtx  insn2 
) [static]

Definition at line 203 of file sched-ebb.c.

References BLOCK_FOR_INSN, basic_block_def::count, and basic_block_def::frequency.

static basic_block schedule_ebb ( rtx  head,
rtx  tail 
) [static]

void schedule_ebbs ( void   ) 

static int schedule_more_p ( void   )  [static]

Definition at line 84 of file sched-ebb.c.

References n_insns, and sched_n_insns.


Variable Documentation

Definition at line 53 of file sched-ebb.c.

Referenced by add_block1(), schedule_ebb(), and schedule_ebbs().

Definition at line 55 of file sched-ebb.c.

Referenced by schedule_ebbs().

Definition at line 55 of file sched-ebb.c.

Referenced by schedule_ebbs().

basic_block last_bb [static]

Definition at line 58 of file sched-ebb.c.

int n_insns [static]

int sched_n_insns [static]

Definition at line 47 of file sched-ebb.c.


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