ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CollectAliasRelations Class Reference

Helper class to collect Alias Relations. More...

#include <IntraProcAliasAnalysis.h>

Collaboration diagram for CollectAliasRelations:

Public Types

enum  COLOR {
  WHITE =0,
  GREY,
  BLACK
}
 
enum  TRAVERSAL_TYPE {
  TOPOLOGICAL =0,
  NON_TOPOLOGICAL
}
 

Public Member Functions

 CollectAliasRelations (StaticCFG::CFG *_cfg, AliasInfoGenerator *_g)
 
void run ()
 

Private Member Functions

void processNode (SgGraphNode *)
 Process a Node and collect the alias relations. More...
 
void recursiveCollect (SgGraphNode *, unordered_map< SgGraphNode *, CollectAliasRelations::COLOR > &)
 recursively Collect Alias Information from the CFG Nodes More...
 

Private Attributes

StaticCFG::CFGcfg
 CFG for a Function. More...
 
AliasInfoGeneratorg
 AliasInfoGenerator to hold the Alias Relations. More...
 

Detailed Description

Helper class to collect Alias Relations.

Definition at line 268 of file IntraProcAliasAnalysis.h.

Member Enumeration Documentation

Enumerator
WHITE 
GREY 
BLACK 

Definition at line 278 of file IntraProcAliasAnalysis.h.

Enumerator
TOPOLOGICAL 
NON_TOPOLOGICAL 

Definition at line 279 of file IntraProcAliasAnalysis.h.

Constructor & Destructor Documentation

CollectAliasRelations::CollectAliasRelations ( StaticCFG::CFG _cfg,
AliasInfoGenerator _g 
)
inline

Definition at line 281 of file IntraProcAliasAnalysis.h.

Member Function Documentation

void CollectAliasRelations::processNode ( SgGraphNode )
private

Process a Node and collect the alias relations.

void CollectAliasRelations::run ( )
void CollectAliasRelations::recursiveCollect ( SgGraphNode ,
unordered_map< SgGraphNode *, CollectAliasRelations::COLOR > &   
)
private

recursively Collect Alias Information from the CFG Nodes

Member Data Documentation

StaticCFG::CFG* CollectAliasRelations::cfg
private

CFG for a Function.

Definition at line 270 of file IntraProcAliasAnalysis.h.

AliasInfoGenerator* CollectAliasRelations::g
private

AliasInfoGenerator to hold the Alias Relations.

Definition at line 273 of file IntraProcAliasAnalysis.h.


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