|
Static Value-Flow Analysis
|
#include <SCC.h>
Classes | |
| class | GNodeSCCInfo |
Public Types | |
| typedef std::stack< NodeID > | GNodeStack |
| typedef Map< NodeID, GNodeSCCInfo > | GNODESCCInfoMap |
| typedef Map< NodeID, NodeID > | NodeToNodeMap |
Public Member Functions | |
| SCCDetection (const GraphType >) | |
| GNodeStack & | topoNodeStack () |
| const GNodeStack & | topoNodeStack () const |
| FIFOWorkList< NodeID > | revTopoNodeStack () const |
| const GNODESCCInfoMap & | GNodeSCCInfo () const |
| NodeID | repNode (NodeID n) const |
| get the rep node if not found return itself | |
| bool | isInCycle (NodeID n) const |
| whether the node is in a cycle | |
| const NodeBS & | subNodes (NodeID n) const |
| get all subnodes in one scc, if size is empty insert itself into the set | |
| const NodeBS & | getRepNodes () const |
| get all repNodeID | |
| const GraphType & | graph () |
| void | find (void) |
| void | find (NodeSet &candidates) |
Private Types | |
| typedef SVF::GenericGraphTraits< GraphType > | GTraits |
| Define the GTraits and node iterator for printing. | |
| typedef GTraits::NodeRef | GNODE |
| typedef GTraits::nodes_iterator | node_iterator |
| typedef GTraits::ChildIteratorType | child_iterator |
| typedef unsigned | NodeID |
Private Member Functions | |
| bool | visited (NodeID n) |
| bool | inSCC (NodeID n) |
| void | setVisited (NodeID n, bool v) |
| void | setInSCC (NodeID n, bool v) |
| void | rep (NodeID n, NodeID r) |
| NodeID | rep (NodeID n) |
| bool | isInSCC (NodeID n) |
| GNODE | Node (NodeID id) const |
| NodeID | Node_Index (GNODE node) const |
| void | visit (NodeID v) |
| void | clear () |
Private Attributes | |
| GNODESCCInfoMap | _NodeSCCAuxInfo |
| const GraphType & | _graph |
| NodeID | _I |
| NodeToNodeMap | _D |
| GNodeStack | _SS |
| GNodeStack | _T |
| NodeBS | repNodes |
|
private |
|
private |
| typedef Map<NodeID,GNodeSCCInfo > SVF::SCCDetection< GraphType >::GNODESCCInfoMap |
|
private |
|
private |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
Definition at line 329 of file SCC.h.
|
inline |
|
inline |
whether the node is in a cycle
Definition at line 170 of file SCC.h.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
get the rep node if not found return itself
|
inline |
Return a handle to the stack of nodes in reverse topological order. This will be used to seed the initial solution and improve efficiency.
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |