libFirm

This interface exists to enable some custom vcg formatting/slicing used to produce example images for the homepage. More...

Functions

void dump_vcg_header (FILE *out, const char *name, const char *layout, const char *orientation)
 Prints the typical header used in libfirm .vcg files to file out. More...
 
void dump_vcg_footer (FILE *out)
 Prints the typical footer used in libfirm .vcg files to file out. More...
 
void dump_node (FILE *out, const ir_node *node)
 Prints vcg node for a single firm graph node node to out. More...
 
void dump_ir_data_edges (FILE *out, const ir_node *node)
 Prints vcg edges for firm graph node node to out. More...
 
void print_nodeid (FILE *out, const ir_node *node)
 Prints the vcg identifier for firm graph node node to out. More...
 
void dump_begin_block_subgraph (FILE *out, const ir_node *block)
 Prints the commands to begin of a new vcg subgraph intended for firm block block to out. More...
 
void dump_end_block_subgraph (FILE *out, const ir_node *block)
 Prints the commands to end a vcg subgraph of firm block block to out. More...
 
void dump_block_edges (FILE *out, const ir_node *block)
 Prints vcg edges for predecessors of firm block block to out. More...
 
void dump_blocks_as_subgraphs (FILE *out, ir_graph *irg)
 Prints vcg nodes+edges for all node in firm graph irg to out. More...
 

Detailed Description

This interface exists to enable some custom vcg formatting/slicing used to produce example images for the homepage.

Function Documentation

void dump_begin_block_subgraph ( FILE *  out,
const ir_node block 
)

Prints the commands to begin of a new vcg subgraph intended for firm block block to out.

void dump_block_edges ( FILE *  out,
const ir_node block 
)

Prints vcg edges for predecessors of firm block block to out.

void dump_blocks_as_subgraphs ( FILE *  out,
ir_graph irg 
)

Prints vcg nodes+edges for all node in firm graph irg to out.

Block nodes are turned into subgraphs containing all nodes using them as a parent.

void dump_end_block_subgraph ( FILE *  out,
const ir_node block 
)

Prints the commands to end a vcg subgraph of firm block block to out.

void dump_ir_data_edges ( FILE *  out,
const ir_node node 
)

Prints vcg edges for firm graph node node to out.

void dump_node ( FILE *  out,
const ir_node node 
)

Prints vcg node for a single firm graph node node to out.

void dump_vcg_footer ( FILE *  out)

Prints the typical footer used in libfirm .vcg files to file out.

void dump_vcg_header ( FILE *  out,
const char *  name,
const char *  layout,
const char *  orientation 
)

Prints the typical header used in libfirm .vcg files to file out.

void print_nodeid ( FILE *  out,
const ir_node node 
)

Prints the vcg identifier for firm graph node node to out.