OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
ProgramDependenceGraph::BackCFGFilter< GraphType > Struct Template Reference
Collaboration diagram for ProgramDependenceGraph::BackCFGFilter< GraphType >:
Collaboration graph

Public Member Functions

 BackCFGFilter ()
 
 BackCFGFilter (GraphType graph)
 
template<typename Edge >
bool operator() (const Edge &e) const
 

Public Attributes

GraphType graph_
 

Detailed Description

template<typename GraphType>
struct ProgramDependenceGraph::BackCFGFilter< GraphType >

Definition at line 152 of file ProgramDependenceGraph.hh.

Constructor & Destructor Documentation

◆ BackCFGFilter() [1/2]

template<typename GraphType >
ProgramDependenceGraph::BackCFGFilter< GraphType >::BackCFGFilter ( )
inline

Definition at line 153 of file ProgramDependenceGraph.hh.

153 { }

◆ BackCFGFilter() [2/2]

template<typename GraphType >
ProgramDependenceGraph::BackCFGFilter< GraphType >::BackCFGFilter ( GraphType  graph)
inline

Definition at line 154 of file ProgramDependenceGraph.hh.

154 : graph_(graph) { }

Member Function Documentation

◆ operator()()

template<typename GraphType >
template<typename Edge >
bool ProgramDependenceGraph::BackCFGFilter< GraphType >::operator() ( const Edge e) const
inline

Definition at line 156 of file ProgramDependenceGraph.hh.

156  {
157  return !(graph_[e]->isBackEdge());
158  }

References ProgramDependenceGraph::BackCFGFilter< GraphType >::graph_.

Member Data Documentation

◆ graph_

template<typename GraphType >
GraphType ProgramDependenceGraph::BackCFGFilter< GraphType >::graph_

The documentation for this struct was generated from the following file:
ProgramDependenceGraph::BackCFGFilter::graph_
GraphType graph_
Definition: ProgramDependenceGraph.hh:159