OpenASIP  2.0
Public Member Functions | List of all members
ControlFlowGraph::DFSBackEdgeVisitor Class Reference

DFS visitor which when finding back edge marks such edge as back edge. More...

Inheritance diagram for ControlFlowGraph::DFSBackEdgeVisitor:
Inheritance graph
Collaboration diagram for ControlFlowGraph::DFSBackEdgeVisitor:
Collaboration graph

Public Member Functions

 DFSBackEdgeVisitor ()
 
template<typename EdgeDescriptor , typename Graph >
void back_edge (EdgeDescriptor e, const Graph &g) const
 

Detailed Description

DFS visitor which when finding back edge marks such edge as back edge.

Definition at line 205 of file ControlFlowGraph.hh.

Constructor & Destructor Documentation

◆ DFSBackEdgeVisitor()

ControlFlowGraph::DFSBackEdgeVisitor::DFSBackEdgeVisitor ( )
inline

Definition at line 207 of file ControlFlowGraph.hh.

207 {}

Member Function Documentation

◆ back_edge()

template<typename EdgeDescriptor , typename Graph >
void ControlFlowGraph::DFSBackEdgeVisitor::back_edge ( EdgeDescriptor  e,
const Graph g 
) const
inline

Definition at line 209 of file ControlFlowGraph.hh.

209  {
210  g[e]->setBackEdge();
211  }

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