Skip to content

TransDepGraphCreate

Synopsis

Declared in <src/midend/programTransformation/loopProcessing/depGraph/TransDepGraph.h>

template<class Node>
class TransDepGraphCreate
    : public VirtualGraphCreateTemplate<Node, DepInfoSetEdge>
    , public TransInfoGraph<DepInfoSet>

Base Classes

Name Description
VirtualGraphCreateTemplate<Node, DepInfoSetEdge>
TransInfoGraph<DepInfoSet> ** This is the graph to store the result of transitive analysis. An object of this class is passed as argument to construct a GraphTransAnalysis operator, and as we invoke GraphTransAnalysis::ComputeTransInfo to compute transitive info between nodes of the input graph, the transitive info is stored into TransInfoGraph by calling TransInfoGraph::SetTransInfo. Users of GraphTransAnalysis must implement all three virtual functions defined TransInfoGraph, to record and return transitive information already computed. The template paramter T is the type of transitive information (the result of transitive analysis). It models information regarding transitive paths in the input graph

Member Functions

Name Description
TransDepGraphCreate
TransDepGraphCreate( GraphAccessTemplate<Node, DepInfoEdge>* g, int splitlimit = 20, BaseGraphCreate* bc = 0); [constructor]
~TransDepGraphCreate
virtual ~TransDepGraphCreate(); [destructor] [virtual]
Destructor
GetTransDep
DepInfoSetEdge* GetTransDep( Node* n1, Node* n2);

Private Member Functions

Name
GetTransInfo
virtual DepInfoSet GetTransInfo( GraphAccessInterface::Node const* src, GraphAccessInterface::Node const* snk); [virtual]
SetTransInfo
virtual void SetTransInfo( GraphAccessInterface::Node* src, GraphAccessInterface::Node* snk, DepInfoSet info); [virtual]
TransInfoComputed
virtual bool TransInfoComputed( GraphAccessInterface::Node const* src, GraphAccessInterface::Node const* snk); [virtual]

Private Data Members

Name
access
anal
analop

Created with MrDocs