#include <ShCtrlGraph.hpp>
Inheritance diagram for SH::ShCtrlGraph:
Public Member Functions | |
ShCtrlGraph (ShCtrlGraphNodePtr head, ShCtrlGraphNodePtr tail) | |
ShCtrlGraph (ShBlockListPtr blocks) | |
std::ostream & | print (std::ostream &out, int indent) const |
std::ostream & | graphvizDump (std::ostream &out) const |
ShCtrlGraphNodePtr | entry () const |
ShCtrlGraphNodePtr | exit () const |
ShCtrlGraphNodePtr | prependEntry () |
Adds an empty node before entry, gives old entry a block and returns it. | |
ShCtrlGraphNodePtr | appendExit () |
Adds an empty node after exit, gives old exit a block and returns it. | |
template<typename F> | |
void | dfs (F &functor) |
template<typename F> | |
void | dfs (F &functor) const |
void | computePredecessors () |
Determine the predecessors in this graph. | |
void | copy (ShCtrlGraphNodePtr &head, ShCtrlGraphNodePtr &tail) const |
This is the parsed form of a shader body.
Definition at line 140 of file ShCtrlGraph.hpp.