GCC Middle and Back End API Reference
sel-sched-dump.h File Reference

Go to the source code of this file.

Enumerations

enum  sel_dump_cfg_def {
  SEL_DUMP_CFG_CURRENT_REGION = 2, SEL_DUMP_CFG_BB_NOTES_LIST = 4, SEL_DUMP_CFG_AV_SET = 8, SEL_DUMP_CFG_LV_SET = 16,
  SEL_DUMP_CFG_BB_INSNS = 32, SEL_DUMP_CFG_FENCES = 64, SEL_DUMP_CFG_INSN_SEQNO = 128, SEL_DUMP_CFG_FUNCTION_NAME = 256,
  SEL_DUMP_CFG_BB_LOOP = 512, SEL_DUMP_CFG_FLAGS
}
enum  dump_insn_rtx_def { DUMP_INSN_RTX_UID = 2, DUMP_INSN_RTX_PATTERN = 4, DUMP_INSN_RTX_BBN = 8, DUMP_INSN_RTX_ALL }
enum  dump_vinsn_def {
  DUMP_VINSN_INSN_RTX = 2, DUMP_VINSN_TYPE = 4, DUMP_VINSN_COUNT = 8, DUMP_VINSN_COST = 16,
  DUMP_VINSN_ALL
}
enum  dump_expr_def {
  DUMP_EXPR_VINSN = 2, DUMP_EXPR_SPEC = 4, DUMP_EXPR_PRIORITY = 8, DUMP_EXPR_SCHED_TIMES = 16,
  DUMP_EXPR_SPEC_DONE_DS = 32, DUMP_EXPR_ORIG_BB = 64, DUMP_EXPR_USEFULNESS = 128, DUMP_EXPR_ALL
}
enum  dump_insn_def {
  DUMP_INSN_EXPR = 2, DUMP_INSN_SEQNO = 4, DUMP_INSN_SCHED_CYCLE = 8, DUMP_INSN_UID = 16,
  DUMP_INSN_PATTERN = 32, DUMP_INSN_BBN = 64, DUMP_INSN_ALL
}

Functions

void dump_insn_rtx_1 (rtx, int)
void dump_insn_rtx (rtx)
void debug_insn_rtx (rtx)
void dump_vinsn_1 (vinsn_t, int)
void dump_vinsn (vinsn_t)
void debug_vinsn (vinsn_t)
void debug (vinsn_def &ref)
void debug (vinsn_def *ptr)
void debug_verbose (vinsn_def &ref)
void debug_verbose (vinsn_def *ptr)
void dump_expr_1 (expr_t, int)
void dump_expr (expr_t)
void debug_expr (expr_t)
void debug (expr_def &ref)
void debug (expr_def *ptr)
void debug_verbose (expr_def &ref)
void debug_verbose (expr_def *ptr)
void dump_insn_1 (insn_t, int)
void dump_insn (insn_t)
void debug_insn (insn_t)
void sel_print (const char *fmt,...) ATTRIBUTE_PRINTF_1
const char * sel_print_insn (const_rtx, int)
void free_sel_dump_data (void)
void block_start (void)
void block_finish (void)
int get_print_blocks_num (void)
void line_start (void)
void line_finish (void)
void sel_print_rtl (rtx x)
void dump_insn_vector (rtx_vec_t)
void dump_used_regs (bitmap)
void dump_av_set (av_set_t)
void dump_lv_set (regset)
void dump_blist (blist_t)
void dump_flist (flist_t)
void dump_hard_reg_set (const char *, HARD_REG_SET)
void sel_debug_cfg_1 (int)
void sel_debug_cfg (void)
void setup_dump_cfg_params (void)
void debug_av_set (av_set_t)
void debug_lv_set (regset)
void debug_ilist (ilist_t)
void debug_blist (blist_t)
void debug (vec< rtx > &ref)
void debug (vec< rtx > *ptr)
void debug_insn_vector (rtx_vec_t)
void debug_hard_reg_set (HARD_REG_SET)
rtx debug_mem_addr_value (rtx)

Variables

bool sched_dump_to_dot_p

Enumeration Type Documentation

These values control dumping of expressions.  The meaning of the fields
   is explained in sel-sched-ir.h.   
Enumerator:
DUMP_EXPR_VINSN 
DUMP_EXPR_SPEC 
DUMP_EXPR_PRIORITY 
DUMP_EXPR_SCHED_TIMES 
DUMP_EXPR_SPEC_DONE_DS 
DUMP_EXPR_ORIG_BB 
DUMP_EXPR_USEFULNESS 
DUMP_EXPR_ALL 
A enumeration for dumping flags of an insn.  The difference from
   dump_insn_rtx_def is that these fields are for insns in stream only.   
Enumerator:
DUMP_INSN_EXPR 
DUMP_INSN_SEQNO 
DUMP_INSN_SCHED_CYCLE 
DUMP_INSN_UID 
DUMP_INSN_PATTERN 
DUMP_INSN_BBN 
DUMP_INSN_ALL 
These values control the dumping of insns containing in expressions.   
Enumerator:
DUMP_INSN_RTX_UID 
DUMP_INSN_RTX_PATTERN 
DUMP_INSN_RTX_BBN 
DUMP_INSN_RTX_ALL 
These values control dumping of vinsns.  The meaning of different fields
   of a vinsn is explained in sel-sched-ir.h.   
Enumerator:
DUMP_VINSN_INSN_RTX 
DUMP_VINSN_TYPE 
DUMP_VINSN_COUNT 
DUMP_VINSN_COST 
DUMP_VINSN_ALL 
These values control the dumping of control flow graph to the .dot file.   
Enumerator:
SEL_DUMP_CFG_CURRENT_REGION 
SEL_DUMP_CFG_BB_NOTES_LIST 
SEL_DUMP_CFG_AV_SET 
SEL_DUMP_CFG_LV_SET 
SEL_DUMP_CFG_BB_INSNS 
SEL_DUMP_CFG_FENCES 
SEL_DUMP_CFG_INSN_SEQNO 
SEL_DUMP_CFG_FUNCTION_NAME 
SEL_DUMP_CFG_BB_LOOP 
SEL_DUMP_CFG_FLAGS 

Function Documentation

void block_finish ( void  )
void block_start ( void  )
void debug ( vinsn_def ref)
void debug ( vinsn_def ptr)
void debug ( expr_def ref)
void debug ( expr_def ptr)
void debug ( vec< rtx > &  ref)
void debug ( vec< rtx > *  ptr)
void debug_av_set ( av_set_t  )
void debug_blist ( blist_t  )
void debug_expr ( expr_t  )
Debug functions.   
void debug_hard_reg_set ( HARD_REG_SET  )
void debug_ilist ( ilist_t  )
void debug_insn ( insn_t  )
void debug_insn_rtx ( rtx  )
void debug_insn_vector ( rtx_vec_t  )
void debug_lv_set ( regset  )
rtx debug_mem_addr_value ( rtx  )
void debug_verbose ( vinsn_def ref)
void debug_verbose ( vinsn_def ptr)
void debug_verbose ( expr_def ref)
void debug_verbose ( expr_def ptr)
void debug_vinsn ( vinsn_t  )
void dump_av_set ( av_set_t  )
void dump_blist ( blist_t  )
void dump_expr ( expr_t  )
void dump_expr_1 ( expr_t  ,
int   
)
void dump_flist ( flist_t  )
void dump_hard_reg_set ( const char *  ,
HARD_REG_SET   
)
void dump_insn ( insn_t  )
void dump_insn_1 ( insn_t  ,
int   
)
void dump_insn_rtx ( rtx  )
void dump_insn_rtx_1 ( rtx  ,
int   
)
void dump_insn_vector ( rtx_vec_t  )
void dump_lv_set ( regset  )
void dump_used_regs ( bitmap  )
void dump_vinsn ( vinsn_t  )
void dump_vinsn_1 ( vinsn_t  ,
int   
)
void free_sel_dump_data ( void  )
int get_print_blocks_num ( void  )
void line_finish ( void  )
void line_start ( void  )
void sel_debug_cfg ( void  )
Debug a cfg region with default flags.   

References sel_debug_cfg_1(), and sel_debug_cfg_flags.

void sel_debug_cfg_1 ( int  )
void sel_print ( const char *  fmt,
  ... 
)
Functions from sel-sched-dump.c.   
const char* sel_print_insn ( const_rtx  ,
int   
)
void sel_print_rtl ( rtx  x)
void setup_dump_cfg_params ( void  )

Variable Documentation

bool sched_dump_to_dot_p
When this flag is on, we are dumping to the .dot file.
   When it is off, we are dumping to log.   
When this flag is on, we are dumping to the .dot file.
   When it is off, we are dumping to log.
   This is useful to differentiate formatting between log and .dot
   files.   

Referenced by dump_av_set(), dump_insn_1(), dump_lv_set(), sel_dump_cfg_2(), and sel_print().