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_insn *, 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

◆ dump_expr_def

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 

◆ dump_insn_def

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 

◆ dump_insn_rtx_def

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 

◆ dump_vinsn_def

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 

◆ sel_dump_cfg_def

Instruction scheduling pass.  Log dumping infrastructure.
   Copyright (C) 2006-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
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

◆ block_finish()

void block_finish ( void )
extern

◆ block_start()

void block_start ( void )
extern

◆ debug() [1/6]

void debug ( expr_def & ref)
extern

◆ debug() [2/6]

void debug ( expr_def * ptr)
extern

◆ debug() [3/6]

void debug ( vec< rtx > & ref)
extern

◆ debug() [4/6]

void debug ( vec< rtx > * ptr)
extern

◆ debug() [5/6]

void debug ( vinsn_def & ref)
extern

◆ debug() [6/6]

void debug ( vinsn_def * ptr)
extern

◆ debug_av_set()

void debug_av_set ( av_set_t )
extern

◆ debug_blist()

void debug_blist ( blist_t )
extern

◆ debug_expr()

void debug_expr ( expr_t )
extern
Debug functions.   

Referenced by create_access_replacement().

◆ debug_hard_reg_set()

void debug_hard_reg_set ( HARD_REG_SET set)
extern
Dump a hard reg set SET to stderr.   

References print_hard_reg_set().

◆ debug_ilist()

void debug_ilist ( ilist_t )
extern

◆ debug_insn()

void debug_insn ( insn_t )
extern

◆ debug_insn_rtx()

void debug_insn_rtx ( rtx )
extern

◆ debug_insn_vector()

void debug_insn_vector ( rtx_vec_t )
extern

◆ debug_lv_set()

void debug_lv_set ( regset )
extern

◆ debug_mem_addr_value()

rtx debug_mem_addr_value ( rtx )
extern

◆ debug_verbose() [1/4]

void debug_verbose ( expr_def & ref)
extern

◆ debug_verbose() [2/4]

void debug_verbose ( expr_def * ptr)
extern

◆ debug_verbose() [3/4]

void debug_verbose ( vinsn_def & ref)
extern

◆ debug_verbose() [4/4]

void debug_verbose ( vinsn_def * ptr)
extern

◆ debug_vinsn()

void debug_vinsn ( vinsn_t )
extern

◆ dump_av_set()

void dump_av_set ( av_set_t )
extern

◆ dump_blist()

void dump_blist ( blist_t )
extern

◆ dump_expr()

void dump_expr ( expr_t )
extern

◆ dump_expr_1()

void dump_expr_1 ( expr_t ,
int  )
extern

◆ dump_flist()

void dump_flist ( flist_t )
extern

◆ dump_hard_reg_set()

void dump_hard_reg_set ( const char * ,
HARD_REG_SET  )
extern

◆ dump_insn()

void dump_insn ( insn_t )
extern

◆ dump_insn_1()

void dump_insn_1 ( insn_t ,
int  )
extern

◆ dump_insn_rtx()

void dump_insn_rtx ( rtx )
extern

◆ dump_insn_rtx_1()

void dump_insn_rtx_1 ( rtx ,
int  )
extern

◆ dump_insn_vector()

void dump_insn_vector ( rtx_vec_t )
extern

◆ dump_lv_set()

void dump_lv_set ( regset )
extern

◆ dump_used_regs()

void dump_used_regs ( bitmap )
extern

◆ dump_vinsn()

void dump_vinsn ( vinsn_t )
extern

◆ dump_vinsn_1()

void dump_vinsn_1 ( vinsn_t ,
int  )
extern

◆ free_sel_dump_data()

void free_sel_dump_data ( void )
extern

◆ get_print_blocks_num()

int get_print_blocks_num ( void )
extern

◆ line_finish()

void line_finish ( void )
extern

◆ line_start()

void line_start ( void )
extern

◆ sel_debug_cfg()

void sel_debug_cfg ( void )
extern

◆ sel_debug_cfg_1()

void sel_debug_cfg_1 ( int )
extern

◆ sel_print()

void sel_print ( const char * fmt,
... )
extern
Functions from sel-sched-dump.cc.   

◆ sel_print_insn()

const char * sel_print_insn ( const rtx_insn * ,
int  )
extern

◆ sel_print_rtl()

void sel_print_rtl ( rtx x)
extern

◆ setup_dump_cfg_params()

void setup_dump_cfg_params ( void )
extern

Variable Documentation

◆ sched_dump_to_dot_p

bool sched_dump_to_dot_p
extern
When this flag is on, we are dumping to the .dot file.
When it is off, we are dumping to log.