GCC Middle and Back End API Reference
ddg.h File Reference

Go to the source code of this file.

Data Structures

struct  ddg_node
struct  ddg_edge
struct  ddg
struct  ddg_scc
struct  ddg_all_sccs

Typedefs

typedef struct ddg_nodeddg_node_ptr
typedef struct ddg_edgeddg_edge_ptr
typedef struct ddgddg_ptr
typedef struct ddg_sccddg_scc_ptr
typedef struct ddg_all_sccsddg_all_sccs_ptr

Enumerations

enum  dep_type { TRUE_DEP, OUTPUT_DEP, ANTI_DEP }
enum  dep_data_type { REG_OR_MEM_DEP, REG_DEP, MEM_DEP, REG_AND_MEM_DEP }

Functions

ddg_ptr create_ddg (basic_block, int closing_branch_deps)
void free_ddg (ddg_ptr)
void print_ddg (FILE *, ddg_ptr)
void vcg_print_ddg (FILE *, ddg_ptr)
void print_ddg_edge (FILE *, ddg_edge_ptr)
void print_sccs (FILE *, ddg_all_sccs_ptr, ddg_ptr)
ddg_node_ptr get_node_of_insn (ddg_ptr, rtx)
void find_successors (sbitmap result, ddg_ptr, sbitmap)
void find_predecessors (sbitmap result, ddg_ptr, sbitmap)
ddg_all_sccs_ptr create_ddg_all_sccs (ddg_ptr)
void free_ddg_all_sccs (ddg_all_sccs_ptr)
int find_nodes_on_paths (sbitmap result, ddg_ptr, sbitmap from, sbitmap to)
int longest_simple_path (ddg_ptr, int from, int to, sbitmap via)
bool autoinc_var_is_used_p (rtx, rtx)

Typedef Documentation

typedef struct ddg_all_sccs* ddg_all_sccs_ptr
typedef struct ddg_edge* ddg_edge_ptr
typedef struct ddg_node* ddg_node_ptr
   For sbitmap.  
   For basic_block.  
typedef struct ddg* ddg_ptr
typedef struct ddg_scc* ddg_scc_ptr

Enumeration Type Documentation

Enumerator:
REG_OR_MEM_DEP 
REG_DEP 
MEM_DEP 
REG_AND_MEM_DEP 
enum dep_type
Enumerator:
TRUE_DEP 
OUTPUT_DEP 
ANTI_DEP 

Function Documentation

bool autoinc_var_is_used_p ( rtx  ,
rtx   
)
ddg_ptr create_ddg ( basic_block  ,
int  closing_branch_deps 
)
ddg_all_sccs_ptr create_ddg_all_sccs ( ddg_ptr  )
int find_nodes_on_paths ( sbitmap  result,
ddg_ptr  ,
sbitmap  from,
sbitmap  to 
)
void find_predecessors ( sbitmap  result,
ddg_ptr  ,
sbitmap   
)
void find_successors ( sbitmap  result,
ddg_ptr  ,
sbitmap   
)
void free_ddg ( ddg_ptr  )
void free_ddg_all_sccs ( ddg_all_sccs_ptr  )
ddg_node_ptr get_node_of_insn ( ddg_ptr  ,
rtx   
)
int longest_simple_path ( ddg_ptr  ,
int  from,
int  to,
sbitmap  via 
)
void print_ddg ( FILE *  ,
ddg_ptr   
)
void print_ddg_edge ( FILE *  ,
ddg_edge_ptr   
)
void print_sccs ( FILE *  ,
ddg_all_sccs_ptr  ,
ddg_ptr   
)
void vcg_print_ddg ( FILE *  ,
ddg_ptr   
)