SimpleDirectedGraph
This provides some simple support mechanisms to create a graph of SimpleDirectedGraphNodes.
Synopsis
Declared in <src/midend/programAnalysis/staticInterproceduralSlicing/SimpleDirectedGraph.h>
class SimpleDirectedGraph;
Enums
Name |
Description |
This enum determines which direction to travel during a reachability pass. |
Member Functions
Name |
Description |
|
Default constructor |
|
Destructor |
|
Add a link to the graph between "from" and to "to" |
|
Add a node to the graph |
get all the nodes in the graph |
|
Check if a dependence is in the graph |
|
Check if a node containing data is in the graph |
|
|
Remove a linkt between "from" and "to" |
|
|
|
Protected Member Functions
Name |
Description |
|
This virtual function can be overriden to control how data is presented by printGraph(). It defaults to simply outputting the data onto os. |
Protected Data Members
Name |
Derived Classes
Name |
Description |
This class constructs a control flow graph for a given function definition. It builds off of information provided by CFGImpl.h, and adds some additional bookkeeping information (such as entry and exit points, as well as having a separate node for each statement in the graph). |
|
Created with MrDocs