#include <CFG.hpp>


Public Member Functions | |
| Edge (OA_ptr< DGraph::NodeInterface > source, OA_ptr< DGraph::NodeInterface > sink, EdgeType _type, OA::ExprHandle _expr) | |
| ~Edge () | |
| OA_ptr< NodeInterface > | getCFGSource () const |
| CFG Specific Iterators. | |
| OA_ptr< NodeInterface > | getCFGSink () const |
| void | dumpdot (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir) |
| void | dump (std::ostream &os) |
| void | output (IRHandlesIRInterface &ir) |
| EdgeType | getType () const |
| get an id unique within instances of CFG::Edge taken from DGraph::EdgeImplement | |
| ExprHandle | getExpr () const |
| get expression associated with edge, specifies branching val | |
| const char * | edgeTypeToString (EdgeType et) const |
| used to be in cfg debugging section | |
Protected Member Functions | |
| void | setType (EdgeType type) |
| used by inheriters to gain write access to mType | |
| void | setExpr (ExprHandle expr) |
| used by inheriters to gain write access to mExpr | |
Private Attributes | |
| EdgeType | mType |
| ExprHandle | mExpr |
Static Private Attributes | |
| static const char * | sEdgeTypeToString [] |
Friends | |
| class | CFG |
Definition at line 259 of file CFG.hpp.
| OA::CFG::Edge::Edge | ( | OA_ptr< DGraph::NodeInterface > | source, | |
| OA_ptr< DGraph::NodeInterface > | sink, | |||
| EdgeType | _type, | |||
| OA::ExprHandle | _expr | |||
| ) |
| void OA::CFG::Edge::dump | ( | std::ostream & | os | ) | [virtual] |
Reimplemented from OA::DGraph::EdgeImplement.
| void OA::CFG::Edge::dumpdot | ( | std::ostream & | os, | |
| OA_ptr< IRHandlesIRInterface > | ir | |||
| ) |
| const char * OA::CFG::Edge::edgeTypeToString | ( | EdgeType | et | ) | const |
used to be in cfg debugging section
Definition at line 679 of file CFG.cpp.
References sEdgeTypeToString.
Referenced by output().
| OA_ptr< NodeInterface > OA::CFG::Edge::getCFGSink | ( | ) | const [virtual] |
Implements OA::CFG::EdgeInterface.
Definition at line 345 of file CFG.cpp.
References OA::DGraph::EdgeImplement::getSink().

| OA_ptr< NodeInterface > OA::CFG::Edge::getCFGSource | ( | ) | const [virtual] |
CFG Specific Iterators.
Implements OA::CFG::EdgeInterface.
Definition at line 340 of file CFG.cpp.
References OA::DGraph::EdgeImplement::getSource().

| ExprHandle OA::CFG::Edge::getExpr | ( | ) | const [virtual] |
get expression associated with edge, specifies branching val
Implements OA::CFG::EdgeInterface.
Definition at line 372 of file CFG.cpp.
References mExpr.
| EdgeType OA::CFG::Edge::getType | ( | ) | const [virtual] |
get an id unique within instances of CFG::Edge taken from DGraph::EdgeImplement
get type of edge: FALLTHROUGH, etc.
Implements OA::CFG::EdgeInterface.
Definition at line 367 of file CFG.cpp.
References mType.
| void OA::CFG::Edge::output | ( | IRHandlesIRInterface & | ir | ) | [virtual] |
Reimplemented from OA::DGraph::EdgeImplement.
Definition at line 694 of file CFG.cpp.
References edgeTypeToString(), mExpr, mType, and OA::Annotation::sOutBuild.

| void OA::CFG::Edge::setExpr | ( | ExprHandle | expr | ) | [protected] |
| void OA::CFG::Edge::setType | ( | EdgeType | type | ) | [protected] |
ExprHandle OA::CFG::Edge::mExpr [private] |
EdgeType OA::CFG::Edge::mType [private] |
const char * OA::CFG::Edge::sEdgeTypeToString [static, private] |
Initial value:
{
"TRUE_EDGE", "FALLTHROUGH_EDGE", "FALSE_EDGE",
"BACK_EDGE", "MULTIWAY_EDGE", "BREAK_EDGE",
"CONTINUE_EDGE", "RETURN_EDGE"
}
Definition at line 341 of file CFG.hpp.
Referenced by edgeTypeToString().
1.5.7.1