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

#include <IntraProcAliasAnalysis.h>

Inheritance diagram for CompReprBase:
Collaboration diagram for CompReprBase:

Public Member Functions

 CompReprBase ()
 
virtual void computeAliases (SgVariableSymbol *var, int derefLevel, vector< SgGraphNode * > &)=0
 Given a VariableSymbol and Dereference level compute the Aliases. More...
 
virtual void computeAliases (SgGraphNode *node, int derefLevel, vector< SgGraphNode * > &)=0
 Given a GraphNode and Dereference level compute the Aliases. More...
 
virtual void addMustAliasRelation (const AliasRelationNode &left, const AliasRelationNode &right)=0
 Add a must alias relation. More...
 
virtual void addMayAliasRelation (const AliasRelationNode &left, const AliasRelationNode &right)=0
 Add a may alias relation eg. conditionals. More...
 
virtual unsigned long getHash () const =0
 compute hash of the graph More...
 
virtual SgIncidenceDirectedGraphgetGraph () const =0
 Get the Graph. More...
 
virtual void merge (const CompReprBase &)=0
 Merge two CompRepr. More...
 
virtual void toDot (const std::string &file_name)=0
 Print to Dot file. More...
 

Protected Member Functions

 ~CompReprBase ()
 Protected Destructor to make sure the client code can't delete it. More...
 

Protected Attributes

SgIncidenceDirectedGraphgraph
 
unsigned long hash
 

Detailed Description

Definition at line 71 of file IntraProcAliasAnalysis.h.

Constructor & Destructor Documentation

CompReprBase::CompReprBase ( )
inline

Definition at line 75 of file IntraProcAliasAnalysis.h.

CompReprBase::~CompReprBase ( )
inlineprotected

Protected Destructor to make sure the client code can't delete it.

Definition at line 106 of file IntraProcAliasAnalysis.h.

Member Function Documentation

virtual void CompReprBase::computeAliases ( SgVariableSymbol var,
int  derefLevel,
vector< SgGraphNode * > &   
)
pure virtual

Given a VariableSymbol and Dereference level compute the Aliases.

Implemented in CompactRepresentation.

virtual void CompReprBase::computeAliases ( SgGraphNode node,
int  derefLevel,
vector< SgGraphNode * > &   
)
pure virtual

Given a GraphNode and Dereference level compute the Aliases.

Implemented in CompactRepresentation.

virtual void CompReprBase::addMustAliasRelation ( const AliasRelationNode left,
const AliasRelationNode right 
)
pure virtual

Add a must alias relation.

Implemented in CompactRepresentation.

virtual void CompReprBase::addMayAliasRelation ( const AliasRelationNode left,
const AliasRelationNode right 
)
pure virtual

Add a may alias relation eg. conditionals.

Implemented in CompactRepresentation.

virtual unsigned long CompReprBase::getHash ( ) const
pure virtual

compute hash of the graph

Implemented in CompactRepresentation.

virtual SgIncidenceDirectedGraph* CompReprBase::getGraph ( ) const
pure virtual

Get the Graph.

Implemented in CompactRepresentation.

virtual void CompReprBase::merge ( const CompReprBase )
pure virtual

Merge two CompRepr.

Implemented in CompactRepresentation.

virtual void CompReprBase::toDot ( const std::string &  file_name)
pure virtual

Print to Dot file.

Implemented in CompactRepresentation.

Member Data Documentation

SgIncidenceDirectedGraph* CompReprBase::graph
protected

Definition at line 101 of file IntraProcAliasAnalysis.h.

unsigned long CompReprBase::hash
protected

Definition at line 102 of file IntraProcAliasAnalysis.h.


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