GCC Middle and Back End API Reference
block_info Class Reference
Collaboration diagram for block_info:

Public Member Functions

 block_info ()
 

Data Fields

arc_infosucc
 
arc_infopred
 
gcov_type num_succ
 
gcov_type num_pred
 
unsigned id
 
gcov_type count
 
unsigned count_valid: 1
 
unsigned valid_chain: 1
 
unsigned invalid_chain: 1
 
unsigned exceptional: 1
 
unsigned is_call_site: 1
 
unsigned is_call_return: 1
 
unsigned is_nonlocal_return: 1
 
condition_info conditions
 
vector< block_location_infolocations
 
struct { 
 
   arc_info *   arc 
 
   unsigned   ident 
 
cycle 
 
class block_infochain
 
sreal frequency
 
basic_block next
 
int npredecessors
 

Detailed Description

Describes a basic block. Contains lists of arcs to successor and
predecessor blocks.   
This is used to carry information about basic blocks.  It is
attached to the AUX field of the standard CFG block.   

Constructor & Destructor Documentation

◆ block_info()

block_info::block_info ( )

References cycle, and NULL.

Field Documentation

◆ arc

arc_info* block_info::arc

Referenced by add_line_counts().

◆ chain

class block_info* block_info::chain

Referenced by solve_flow_graph().

◆ conditions

condition_info block_info::conditions

◆ count

gcov_type block_info::count

◆ count_valid

unsigned block_info::count_valid

Referenced by solve_flow_graph().

◆ [struct]

struct { ... } block_info::cycle

Referenced by add_line_counts(), and block_info().

◆ exceptional

unsigned block_info::exceptional

Referenced by add_line_counts().

◆ frequency

sreal block_info::frequency

◆ id

unsigned block_info::id

◆ ident

unsigned block_info::ident

Referenced by add_line_counts().

◆ invalid_chain

unsigned block_info::invalid_chain

Referenced by solve_flow_graph().

◆ is_call_return

unsigned block_info::is_call_return

◆ is_call_site

unsigned block_info::is_call_site

Referenced by solve_flow_graph().

◆ is_nonlocal_return

unsigned block_info::is_nonlocal_return

◆ locations

vector<block_location_info> block_info::locations

◆ next

basic_block block_info::next

◆ npredecessors

int block_info::npredecessors

◆ num_pred

gcov_type block_info::num_pred

Referenced by solve_flow_graph().

◆ num_succ

gcov_type block_info::num_succ

◆ pred

arc_info* block_info::pred

Referenced by solve_flow_graph().

◆ succ

◆ valid_chain

unsigned block_info::valid_chain

Referenced by solve_flow_graph().


The documentation for this class was generated from the following files: