ARRAY_DIRECTED_GRAPH16 Class Reference

#include <dep_graph.h>

Inheritance diagram for ARRAY_DIRECTED_GRAPH16:
Inheritance graph
[legend]
Collaboration diagram for ARRAY_DIRECTED_GRAPH16:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Print (FILE *fp)
 ARRAY_DIRECTED_GRAPH16 (mUINT16 num_v, mUINT16 num_e, WN_MAP map, DEP_GRAPH_TYPE type)
MEM_POOLPool ()
void Erase_Graph ()
EINDEX16 Add_Edge (VINDEX16 from, VINDEX16 to, DEP dep, BOOL is_must=FALSE)
DEP Dep (EINDEX16 edge)
BOOL Is_Must (EINDEX16 edge)
void Set_Dep (EINDEX16 edge, DEP dep, BOOL is_must=FALSE)
VINDEX16 Add_Vertex (WN *wn)
void Remove_Edge (EINDEX16 e)
VINDEX16 Get_Vertex (WN *wn)
VINDEX16 Get_Vertex ()
void Delete_Vertex (VINDEX16 v)
WNGet_Wn (VINDEX16 v)
void Set_Wn (VINDEX16 v, WN *wn)
void Delete_Vertex (WN *wn)
void Clear_Map_For_Vertex (VINDEX16 v)
void Clear_Map ()
mBOOL Copy_Vertex (VINDEX16 v1, VINDEX16 v2)
void PreserveMapPair (WN *orig, WN *wn1, WN *wn2)
void PruneMapsUsingParity (void)

Private Attributes

WN_MAP _map
DEP_GRAPH_TYPE _type
MEM_POOL_pool

Friends

void Depgraph_Write (void *depgraph, struct output_file *fl, WN_MAP off_map)
void * Depgraph_Read (char *cur_addr, char *end_addr, char *wn_base)

Detailed Description

Definition at line 446 of file dep_graph.h.


Constructor & Destructor Documentation

ARRAY_DIRECTED_GRAPH16::ARRAY_DIRECTED_GRAPH16 ( mUINT16  num_v,
mUINT16  num_e,
WN_MAP  map,
DEP_GRAPH_TYPE  type 
) [inline]

Definition at line 453 of file dep_graph.h.

References _map, _pool, _type, and NULL.


Member Function Documentation

EINDEX16 ARRAY_DIRECTED_GRAPH16::Add_Edge ( VINDEX16  from,
VINDEX16  to,
DEP  dep,
BOOL  is_must = FALSE 
) [inline]
VINDEX16 ARRAY_DIRECTED_GRAPH16::Add_Vertex ( WN wn  )  [inline]
void ARRAY_DIRECTED_GRAPH16::Clear_Map (  )  [inline]

Definition at line 537 of file dep_graph.h.

References Clear_Map_For_Vertex(), DIRECTED_GRAPH16< ARRAY_EDGE16, ARRAY_VERTEX16 >::Get_Next_Vertex(), and Get_Vertex().

Here is the call graph for this function:

void ARRAY_DIRECTED_GRAPH16::Clear_Map_For_Vertex ( VINDEX16  v  )  [inline]

Definition at line 532 of file dep_graph.h.

References _map, DIRECTED_GRAPH16< ARRAY_EDGE16, ARRAY_VERTEX16 >::_v, NULL, and WN_MAP_Set.

Referenced by Clear_Map().

mBOOL ARRAY_DIRECTED_GRAPH16::Copy_Vertex ( VINDEX16  v1,
VINDEX16  v2 
) [inline]
void ARRAY_DIRECTED_GRAPH16::Delete_Vertex ( WN wn  )  [inline]

Definition at line 528 of file dep_graph.h.

References Delete_Vertex(), and Get_Vertex().

Here is the call graph for this function:

void ARRAY_DIRECTED_GRAPH16::Delete_Vertex ( VINDEX16  v  )  [inline]
DEP ARRAY_DIRECTED_GRAPH16::Dep ( EINDEX16  edge  )  [inline]
void ARRAY_DIRECTED_GRAPH16::Erase_Graph (  ) 
VINDEX16 ARRAY_DIRECTED_GRAPH16::Get_Vertex (  )  [inline]

Definition at line 510 of file dep_graph.h.

Referenced by Clear_Map(), Delete_Vertex(), and PreserveMapPair().

VINDEX16 ARRAY_DIRECTED_GRAPH16::Get_Vertex ( WN wn  )  [inline]

Definition at line 506 of file dep_graph.h.

References _map, and WN_MAP_Get.

Referenced by WB_BROWSER::Deps_Loop(), and WB_BROWSER::Deps_Ref().

WN* ARRAY_DIRECTED_GRAPH16::Get_Wn ( VINDEX16  v  )  [inline]

Definition at line 519 of file dep_graph.h.

References DIRECTED_GRAPH16< ARRAY_EDGE16, ARRAY_VERTEX16 >::_v.

Referenced by WB_BROWSER::Vertices().

BOOL ARRAY_DIRECTED_GRAPH16::Is_Must ( EINDEX16  edge  )  [inline]
MEM_POOL* ARRAY_DIRECTED_GRAPH16::Pool (  )  [inline]

Definition at line 461 of file dep_graph.h.

References _pool.

void ARRAY_DIRECTED_GRAPH16::PreserveMapPair ( WN orig,
WN wn1,
WN wn2 
) [inline]

Definition at line 582 of file dep_graph.h.

References DIRECTED_GRAPH16< ARRAY_EDGE16, ARRAY_VERTEX16 >::Add_Vertex(), Copy_Vertex(), Get_Vertex(), and Is_True.

Here is the call graph for this function:

void ARRAY_DIRECTED_GRAPH16::Print ( FILE *  fp  ) 
void ARRAY_DIRECTED_GRAPH16::PruneMapsUsingParity ( void   ) 
void ARRAY_DIRECTED_GRAPH16::Remove_Edge ( EINDEX16  e  )  [inline]

Definition at line 502 of file dep_graph.h.

References DIRECTED_GRAPH16< ARRAY_EDGE16, ARRAY_VERTEX16 >::Delete_Edge().

Referenced by Copy_Vertex().

Here is the call graph for this function:

void ARRAY_DIRECTED_GRAPH16::Set_Dep ( EINDEX16  edge,
DEP  dep,
BOOL  is_must = FALSE 
) [inline]
void ARRAY_DIRECTED_GRAPH16::Set_Wn ( VINDEX16  v,
WN wn 
) [inline]

Friends And Related Function Documentation

void* Depgraph_Read ( char *  cur_addr,
char *  end_addr,
char *  wn_base 
) [friend]
void Depgraph_Write ( void *  depgraph,
struct output_file fl,
WN_MAP  off_map 
) [friend]

Member Data Documentation

Definition at line 450 of file dep_graph.h.

Referenced by ARRAY_DIRECTED_GRAPH16(), and Pool().

Definition at line 449 of file dep_graph.h.

Referenced by Add_Edge(), ARRAY_DIRECTED_GRAPH16(), Copy_Vertex(), Dep(), Is_Must(), and Set_Dep().


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

Generated on Tue Nov 17 06:38:02 2009 for Open64 (mfef90, whirl2f, and IR tools) by  doxygen 1.6.1