CACAO
Functions
graph.cpp File Reference

Go to the source code of this file.

Functions

void graph_add_cfg (jitdata *jd, graphdata *gd, basicblock *, basicblock *)
 
void graph_add_exceptions (jitdata *jd, graphdata *gd)
 
void graph_add_edge (graphdata *gd, int from, int to)
 
int graph_get_first_ (graph_element *ge, graphiterator *i)
 
void transform_CFG (jitdata *, graphdata *)
 
void graph_phi_moves (jitdata *jd, basicblock *bptr, basicblock *dst_goto)
 
void graph_print (lsradata *ls, graphdata *gd)
 
graphdatagraph_init (int basicblockcount)
 
int graph_get_num_predecessor (graphdata *gd, int b_index)
 
int graph_get_num_successor (graphdata *gd, int b_index)
 
int graph_get_first_successor (graphdata *gd, int b_index, graphiterator *i)
 
int graph_get_first_predecessor (graphdata *gd, int b_index, graphiterator *i)
 
int graph_get_next (graphiterator *i)
 
bool graph_has_multiple_predecessors (graphdata *gd, int b_index)
 
bool graph_has_multiple_successors (graphdata *gd, int b_index)
 
void graph_split_edge (graphdata *gd, int from, graphiterator *i, int new_block)
 
void graph_make_cfg (jitdata *jd, graphdata *gd)
 
void graph_DFS (lsradata *ls, graphdata *gd)
 
void graph_init_basicblock (jitdata *jd, basicblock *bptr, int b_index)
 
void transform_BB (jitdata *jd, graphdata *gd)
 

Function Documentation

void graph_add_cfg ( jitdata jd,
graphdata gd,
basicblock from,
basicblock to 
)

Definition at line 391 of file graph.cpp.

void graph_add_edge ( graphdata gd,
int  from,
int  to 
)

Definition at line 131 of file graph.cpp.

void graph_add_exceptions ( jitdata jd,
graphdata gd 
)

Definition at line 341 of file graph.cpp.

void graph_DFS ( lsradata ls,
graphdata gd 
)

Definition at line 416 of file graph.cpp.

int graph_get_first_ ( graph_element ge,
graphiterator i 
)

Definition at line 114 of file graph.cpp.

int graph_get_first_predecessor ( graphdata gd,
int  b_index,
graphiterator i 
)

Definition at line 99 of file graph.cpp.

int graph_get_first_successor ( graphdata gd,
int  b_index,
graphiterator i 
)

Definition at line 94 of file graph.cpp.

int graph_get_next ( graphiterator i)

Definition at line 104 of file graph.cpp.

int graph_get_num_predecessor ( graphdata gd,
int  b_index 
)

Definition at line 84 of file graph.cpp.

int graph_get_num_successor ( graphdata gd,
int  b_index 
)

Definition at line 89 of file graph.cpp.

bool graph_has_multiple_predecessors ( graphdata gd,
int  b_index 
)

Definition at line 121 of file graph.cpp.

bool graph_has_multiple_successors ( graphdata gd,
int  b_index 
)

Definition at line 126 of file graph.cpp.

graphdata* graph_init ( int  basicblockcount)

Definition at line 60 of file graph.cpp.

void graph_init_basicblock ( jitdata jd,
basicblock bptr,
int  b_index 
)

Definition at line 479 of file graph.cpp.

void graph_make_cfg ( jitdata jd,
graphdata gd 
)

Definition at line 206 of file graph.cpp.

void graph_phi_moves ( jitdata jd,
basicblock bptr,
basicblock dst_goto 
)

Definition at line 861 of file graph.cpp.

void graph_print ( lsradata ls,
graphdata gd 
)

Definition at line 913 of file graph.cpp.

void graph_split_edge ( graphdata gd,
int  from,
graphiterator i,
int  new_block 
)

Definition at line 160 of file graph.cpp.

void transform_BB ( jitdata jd,
graphdata gd 
)

Definition at line 658 of file graph.cpp.

void transform_CFG ( jitdata jd,
graphdata gd 
)

Definition at line 500 of file graph.cpp.