osprey/be/com/dep_graph.h File Reference

#include "cxx_graph.h"
#include "cxx_memory.h"
#include "dvector.h"

Include dependency graph for dep_graph.h:

Go to the source code of this file.

Data Types

module  ARRAY_VERTEX16
type  LEVEL_STRUCT
type  DEP_STRUCT
module  ARRAY_EDGE16
module  ARRAY_DIRECTED_GRAPH16

Defines

#define dep_graph_INCLUDED   "dep_graph.h"
#define HAS_ALL_ZERO   0x0001
#define HAS_SCALAR_FLOW   0x0002
#define HAS_SCALAR_ANTI   0x0004
#define HAS_SCALAR_OUTPUT   0x0008
#define HAS_ARRAY_FLOW   0x0010
#define HAS_ARRAY_ANTI   0x0020
#define HAS_ARRAY_OUTPUT   0x0040

Enumerations

enum  DEP_GRAPH_TYPE { DEPV_ARRAY_ARRAY_GRAPH, LEVEL_ARRAY_GRAPH, DEP_ARRAY_GRAPH }

Functions/Subroutines

voidC_Dep_Graph (void)
void Init_Dep_Graph (void *g)
void Dealloc_Dep_Graph (void)
void Depgraph_Write (void *depgraph, struct output_file *fl, WN_MAP off_map)
voidDepgraph_Read (char *cur_addr, char *end_addr, char *wn_base)
void LNOPreserveMapPair (WN *orig, WN *wn1, WN *wn2)
void LNOPruneMapsUsingParity (void)
void LNOPrintDepGraph (FILE *fp)
VINDEX16 LNOGetVertex (WN *wn)
BOOL WN_parity_independent (WN *wn1, WN *wn2)
BOOL LnoDependenceEdge (WN *wn1, WN *wn2, EINDEX16 *distance, DIRECTION *direction, BOOL *is_must, BOOL *status)
void LNO_Erase_Dg_From_Here_In (WN *wn, ARRAY_DIRECTED_GRAPH16 *dg)
void Unmapped_Vertices_Here_Out (WN *wn)

Variables

ARRAY_DIRECTED_GRAPH16Current_Dep_Graph


Define Documentation

#define dep_graph_INCLUDED   "dep_graph.h"

Revision
1.2
Date
02/11/07 23:41:35-00:00
Author
fchow@keyresearch.com
Source
/scratch/mee/2.4-65/kpro64-pending/be/com/SCCS/s.dep_graph.h

Definition at line 350 of file dep_graph.h.

#define HAS_ALL_ZERO   0x0001

#define HAS_ARRAY_ANTI   0x0020

Definition at line 413 of file dep_graph.h.

#define HAS_ARRAY_FLOW   0x0010

Definition at line 412 of file dep_graph.h.

#define HAS_ARRAY_OUTPUT   0x0040

Definition at line 414 of file dep_graph.h.

#define HAS_SCALAR_ANTI   0x0004

Definition at line 410 of file dep_graph.h.

#define HAS_SCALAR_FLOW   0x0002

Definition at line 409 of file dep_graph.h.

#define HAS_SCALAR_OUTPUT   0x0008

Definition at line 411 of file dep_graph.h.


Enumeration Type Documentation

Enumerator:
DEPV_ARRAY_ARRAY_GRAPH 
LEVEL_ARRAY_GRAPH 
DEP_ARRAY_GRAPH 

Definition at line 399 of file dep_graph.h.


Function Documentation

void* C_Dep_Graph ( void   ) 

Definition at line 199 of file dep_graph.cxx.

void Dealloc_Dep_Graph ( void   ) 

Definition at line 216 of file dep_graph.cxx.

References CXX_DELETE, Malloc_Mem_Pool, and NULL.

Referenced by Free_Dep_Graph(), Free_Local_Info(), and Init_Dep_Graph().

void* Depgraph_Read ( char *  cur_addr,
char *  end_addr,
char *  wn_base 
)

void Depgraph_Write ( void depgraph,
struct output_file fl,
WN_MAP  off_map 
)

void Init_Dep_Graph ( void g  ) 

Definition at line 206 of file dep_graph.cxx.

References Dealloc_Dep_Graph(), and NULL.

void LNO_Erase_Dg_From_Here_In ( WN wn,
ARRAY_DIRECTED_GRAPH16 dg 
)

BOOL LnoDependenceEdge ( WN wn1,
WN wn2,
EINDEX16 distance,
DIRECTION direction,
BOOL is_must,
BOOL status 
)

VINDEX16 LNOGetVertex ( WN wn  ) 

Definition at line 279 of file dep_graph.cxx.

References ARRAY_DIRECTED_GRAPH16::Get_Vertex().

Referenced by ir_put_wn().

void LNOPreserveMapPair ( WN orig,
WN wn1,
WN wn2 
)

Definition at line 231 of file dep_graph.cxx.

void LNOPrintDepGraph ( FILE fp  ) 

Definition at line 237 of file dep_graph.cxx.

void LNOPruneMapsUsingParity ( void   ) 

Definition at line 225 of file dep_graph.cxx.

void Unmapped_Vertices_Here_Out ( WN wn  ) 

BOOL WN_parity_independent ( WN wn1,
WN wn2 
)

Definition at line 1511 of file wn_lower.cxx.

Referenced by ARRAY_DIRECTED_GRAPH16::PruneMapsUsingParity().


Variable Documentation

Definition at line 197 of file dep_graph.cxx.


Generated on Wed Apr 8 14:30:38 2009 for Open64 by  doxygen 1.5.6