osprey/kg++fe/gnu/sched-int.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  deps
type  deps::deps_reg
type  sched_info
type  haifa_insn_data

Defines

#define INSN_DEPEND(INSN)   (h_i_d[INSN_UID (INSN)].depend)
#define INSN_LUID(INSN)   (h_i_d[INSN_UID (INSN)].luid)
#define CANT_MOVE(insn)   (h_i_d[INSN_UID (insn)].cant_move)
#define INSN_DEP_COUNT(INSN)   (h_i_d[INSN_UID (INSN)].dep_count)
#define INSN_PRIORITY(INSN)   (h_i_d[INSN_UID (INSN)].priority)
#define INSN_PRIORITY_KNOWN(INSN)   (h_i_d[INSN_UID (INSN)].priority_known)
#define INSN_COST(INSN)   (h_i_d[INSN_UID (INSN)].cost)
#define INSN_UNIT(INSN)   (h_i_d[INSN_UID (INSN)].units)
#define INSN_REG_WEIGHT(INSN)   (h_i_d[INSN_UID (INSN)].reg_weight)
#define INSN_BLOCKAGE(INSN)   (h_i_d[INSN_UID (INSN)].blockage)
#define UNIT_BITS   5
#define BLOCKAGE_MASK   ((1 << BLOCKAGE_BITS) - 1)
#define ENCODE_BLOCKAGE(U, R)
#define UNIT_BLOCKED(B)   ((B) >> (2 * BLOCKAGE_BITS))
#define BLOCKAGE_RANGE(B)
#define MIN_BLOCKAGE_COST(R)   ((R) >> (HOST_BITS_PER_INT / 2))
#define MAX_BLOCKAGE_COST(R)   ((R) & ((1 << (HOST_BITS_PER_INT / 2)) - 1))
#define WORST_CLASS(class1, class2)   ((class1 > class2) ? class1 : class2)
#define __inline
#define HAIFA_INLINE   __inline

Enumerations

enum  INSN_TRAP_CLASS {
  TRAP_FREE = 0, IFREE = 1, PFREE_CANDIDATE = 2, PRISKY_CANDIDATE = 3,
  IRISKY = 4, TRAP_RISKY = 5, TRAP_FREE = 0, IFREE = 1,
  PFREE_CANDIDATE = 2, PRISKY_CANDIDATE = 3, IRISKY = 4, TRAP_RISKY = 5,
  TRAP_FREE = 0, IFREE = 1, PFREE_CANDIDATE = 2, PRISKY_CANDIDATE = 3,
  IRISKY = 4, TRAP_RISKY = 5, TRAP_FREE = 0, IFREE = 1,
  PFREE_CANDIDATE = 2, PRISKY_CANDIDATE = 3, IRISKY = 4, TRAP_RISKY = 5
}

Functions/Subroutines

void init_target_units PARAMS ((void))
void insn_print_units PARAMS ((rtx))
void print_block_visualization PARAMS ((const char *))
void visualize_scheduled_insns PARAMS ((int))
int add_dependence PARAMS ((rtx, rtx, enum reg_note))
void add_insn_mem_dependence PARAMS ((struct deps *, rtx *, rtx *, rtx, rtx))
void sched_analyze PARAMS ((struct deps *, rtx, rtx))
void init_deps PARAMS ((struct deps *))
void compute_forward_dependences PARAMS ((rtx, rtx))
void get_block_head_tail PARAMS ((int, rtx *, rtx *))
void save_line_notes PARAMS ((int, rtx, rtx))
void schedule_block PARAMS ((int, int))
void sched_init PARAMS ((FILE *))
void ready_add PARAMS ((struct ready_list *, rtx))
int insn_cost PARAMS ((rtx, rtx, rtx))
int actual_hazard_this_instance PARAMS ((int, int, rtx, int, int))
void print_insn PARAMS ((char *, rtx, int))

Variables

state_t curr_state
struct sched_infocurrent_sched_info
struct haifa_insn_datah_i_d
FILEsched_dump
int sched_verbose


Define Documentation

#define __inline

Definition at line 335 of file sched-int.h.

#define BLOCKAGE_MASK   ((1 << BLOCKAGE_BITS) - 1)

Definition at line 247 of file sched-int.h.

#define BLOCKAGE_RANGE ( B   ) 

Value:

(((((B) >> BLOCKAGE_BITS) & BLOCKAGE_MASK) << (HOST_BITS_PER_INT / 2)) \
   | ((B) & BLOCKAGE_MASK))

Definition at line 253 of file sched-int.h.

#define CANT_MOVE ( insn   )     (h_i_d[INSN_UID (insn)].cant_move)

Definition at line 237 of file sched-int.h.

Referenced by sched_analyze(), sched_analyze_2(), and sched_analyze_insn().

#define ENCODE_BLOCKAGE ( U,
R   ) 

Value:

Definition at line 248 of file sched-int.h.

#define HAIFA_INLINE   __inline

Definition at line 339 of file sched-int.h.

#define INSN_BLOCKAGE ( INSN   )     (h_i_d[INSN_UID (INSN)].blockage)

Definition at line 245 of file sched-int.h.

#define INSN_COST ( INSN   )     (h_i_d[INSN_UID (INSN)].cost)

Definition at line 241 of file sched-int.h.

#define INSN_DEP_COUNT ( INSN   )     (h_i_d[INSN_UID (INSN)].dep_count)

#define INSN_DEPEND ( INSN   )     (h_i_d[INSN_UID (INSN)].depend)

#define INSN_LUID ( INSN   )     (h_i_d[INSN_UID (INSN)].luid)

Definition at line 236 of file sched-int.h.

#define INSN_PRIORITY ( INSN   )     (h_i_d[INSN_UID (INSN)].priority)

Definition at line 239 of file sched-int.h.

Referenced by find_best_insn(), and vr4130_swap_insns_p().

#define INSN_PRIORITY_KNOWN ( INSN   )     (h_i_d[INSN_UID (INSN)].priority_known)

Definition at line 240 of file sched-int.h.

#define INSN_REG_WEIGHT ( INSN   )     (h_i_d[INSN_UID (INSN)].reg_weight)

Definition at line 243 of file sched-int.h.

#define INSN_UNIT ( INSN   )     (h_i_d[INSN_UID (INSN)].units)

Definition at line 242 of file sched-int.h.

#define MAX_BLOCKAGE_COST ( R   )     ((R) & ((1 << (HOST_BITS_PER_INT / 2)) - 1))

Definition at line 259 of file sched-int.h.

#define MIN_BLOCKAGE_COST ( R   )     ((R) >> (HOST_BITS_PER_INT / 2))

Definition at line 258 of file sched-int.h.

#define UNIT_BITS   5

Definition at line 246 of file sched-int.h.

#define UNIT_BLOCKED ( B   )     ((B) >> (2 * BLOCKAGE_BITS))

Definition at line 252 of file sched-int.h.

#define WORST_CLASS ( class1,
class2   )     ((class1 > class2) ? class1 : class2)

Definition at line 331 of file sched-int.h.


Enumeration Type Documentation

Enumerator:
TRAP_FREE 
IFREE 
PFREE_CANDIDATE 
PRISKY_CANDIDATE 
IRISKY 
TRAP_RISKY 
TRAP_FREE 
IFREE 
PFREE_CANDIDATE 
PRISKY_CANDIDATE 
IRISKY 
TRAP_RISKY 
TRAP_FREE 
IFREE 
PFREE_CANDIDATE 
PRISKY_CANDIDATE 
IRISKY 
TRAP_RISKY 
TRAP_FREE 
IFREE 
PFREE_CANDIDATE 
PRISKY_CANDIDATE 
IRISKY 
TRAP_RISKY 

Definition at line 325 of file sched-int.h.


Function Documentation

void print_insn PARAMS ( (char *, rtx, int)   ) 

int actual_hazard_this_instance PARAMS ( (int, int, rtx, int, int)   ) 

int insn_cost PARAMS ( (rtx, rtx, rtx  ) 

void ready_add PARAMS ( (struct ready_list *, rtx  ) 

void sched_init PARAMS ( (FILE *)   ) 

void schedule_block PARAMS ( (int, int)   ) 

void save_line_notes PARAMS ( (int, rtx, rtx  ) 

void get_block_head_tail PARAMS ( (int, rtx *, rtx *)   ) 

void compute_forward_dependences PARAMS ( (rtx, rtx  ) 

void init_deps PARAMS ( (struct deps *)   ) 

void sched_analyze PARAMS ( (struct deps *, rtx, rtx  ) 

void add_insn_mem_dependence PARAMS ( (struct deps *, rtx *, rtx *, rtx, rtx  ) 

int add_dependence PARAMS ( (rtx, rtx, enum reg_note  ) 

void visualize_scheduled_insns PARAMS ( (int)   ) 

void print_block_visualization PARAMS ( (const char *)   ) 

Definition at line 635 of file mips-tfile.c.

void insn_print_units PARAMS ( (rtx  ) 

void init_target_units PARAMS ( (void  )  [read]

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


Variable Documentation

Definition at line 538 of file haifa-sched.c.

Referenced by ia64_set_sched_flags().


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