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 the vinsn behind this expression.  
DUMP_EXPR_SPEC 
       Dump expression's SPEC parameter.  
DUMP_EXPR_PRIORITY 
       Dump expression's priority.  
DUMP_EXPR_SCHED_TIMES 
       Dump the number of times this expression was scheduled.  
DUMP_EXPR_SPEC_DONE_DS 
       Dump speculative status of the expression.  
DUMP_EXPR_ORIG_BB 
       Dump the basic block number which originated this expression.  
DUMP_EXPR_USEFULNESS 
       Dump expression's usefulness.  
DUMP_EXPR_ALL 
       Dump all of the above.  
   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 expression of this insn.  
DUMP_INSN_SEQNO 
     Dump insn's seqno.  
DUMP_INSN_SCHED_CYCLE 
     Dump the cycle on which insn was scheduled.  
DUMP_INSN_UID 
     Dump insn's UID.  
DUMP_INSN_PATTERN 
     Dump insn's pattern.  
DUMP_INSN_BBN 
     Dump insn's basic block number.  
DUMP_INSN_ALL 
     Dump all of the above.  
   These values control the dumping of insns containing in expressions.  
Enumerator:
DUMP_INSN_RTX_UID 
       Dump insn's UID.  
DUMP_INSN_RTX_PATTERN 
       Dump insn's pattern.  
DUMP_INSN_RTX_BBN 
       Dump insn's basic block number.  
DUMP_INSN_RTX_ALL 
       Dump all of the above.  
   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 the insn behind this vinsn.  
DUMP_VINSN_TYPE 
       Dump vinsn's type.  
DUMP_VINSN_COUNT 
       Dump vinsn's count.  
DUMP_VINSN_COST 
       Dump the cost (default latency) of the insn behind this vinsn.  
DUMP_VINSN_ALL 
       Dump all of the above.  
   These values control the dumping of control flow graph to the .dot file.  
Enumerator:
SEL_DUMP_CFG_CURRENT_REGION 
       Dump only current region.  
SEL_DUMP_CFG_BB_NOTES_LIST 
       Dump note_list for this bb.  
SEL_DUMP_CFG_AV_SET 
       Dump availability set from the bb header.  
SEL_DUMP_CFG_LV_SET 
       Dump liveness set from the bb header.  
SEL_DUMP_CFG_BB_INSNS 
       Dump insns of the given block.  
SEL_DUMP_CFG_FENCES 
       Show current fences when dumping cfg.  
SEL_DUMP_CFG_INSN_SEQNO 
       Show insn's seqnos when dumping cfg.  
SEL_DUMP_CFG_FUNCTION_NAME 
       Dump function name when dumping cfg.  
SEL_DUMP_CFG_BB_LOOP 
       Dump loop father number of the given bb.  
SEL_DUMP_CFG_FLAGS 
       The default flags for cfg dumping.  

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.  
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  )
   Setup cfg dumping flags.  Used for debugging.  

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(), and sel_dump_cfg_insn().