OpenADFortTk (including Open64 and OpenAnalysis references)
|
#include <DUGStandard.hpp>
Private Member Functions | |
void | Ctor () |
void | Ctor () |
Private Attributes | |
unsigned int | mId |
OA_ptr< DUGStandard > | mDUG |
ProcHandle | mProc |
NodeType | mType |
OA_ptr< DGraph::NodeImplement > | mDGNode |
OA_ptr< Location > | mLoc |
SymHandle | mSym |
bool | mVaried |
bool | mUseful |
bool | mSelfDependent |
std::set< CallHandle > | mVariedContexts |
IRHandle | mDef |
Friends | |
class | DUGStandard |
class | Edge |
Additional Inherited Members | |
Static Public Member Functions inherited from OA::Annotation | |
static void | configOutput (OA_ptr< OutputBuilder > ob) |
Static Protected Attributes inherited from OA::Annotation | |
static OA_ptr< OutputBuilder > | sOutBuild |
Definition at line 56 of file DUGStandard.hpp.
|
inline |
Definition at line 58 of file DUGStandard.hpp.
References Ctor().
|
inline |
Definition at line 60 of file DUGStandard.hpp.
References Ctor().
|
inline |
Definition at line 63 of file DUGStandard.hpp.
References Ctor().
|
inline |
Definition at line 67 of file DUGStandard.hpp.
|
inline |
Definition at line 59 of file DUGStandard.hpp.
References Ctor().
|
inline |
Definition at line 64 of file DUGStandard.hpp.
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 192 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::addIncomingEdge(), and mDGNode.
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 197 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::addIncomingEdge(), and mDGNode.
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 197 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::addOutgoingEdge(), and mDGNode.
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 202 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::addOutgoingEdge(), and mDGNode.
|
private |
|
private |
called by all Node constructors
Definition at line 54 of file DUGStandard.cpp.
References getId(), mDGNode, mSelfDependent, mUseful, and mVaried.
Referenced by Node().
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 156 of file DUGStandard.hpp.
|
virtual |
Implements OA::DUG::NodeInterface.
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 161 of file DUGStandard.hpp.
Referenced by longdump(), markUseful(), and markVaried().
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 84 of file DUGStandard.cpp.
References getSym().
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 157 of file DUGStandard.hpp.
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 162 of file DUGStandard.hpp.
|
virtual |
Implements OA::DUG::NodeInterface.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 144 of file DUGStandard.cpp.
References getId(), getSym(), OA::Location::isLocal(), mDUG, mProc, and OA::OA_ptr< T >::ptrEqual().
Referenced by markUseful(), and markVaried().
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1236 of file DUGStandard.cpp.
References OA::DUG::CFLOW_EDGE.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1191 of file DUGStandard.cpp.
References OA::DUG::CFLOW_EDGE.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1407 of file DUGStandard.cpp.
References OA::DUG::CFLOW_EDGE, getDUGOutgoingEdgesIterator(), and getSym().
|
inlinevirtual |
|
virtual |
Implements OA::DUG::NodeInterface.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 197 of file DUGStandard.cpp.
References getIncomingEdgesIterator().
Referenced by hasEdgesFromOtherProc(), isPathFrom(), markUseful(), and markVaried().
|
virtual |
Implements OA::DUG::NodeInterface.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 206 of file DUGStandard.cpp.
References getOutgoingEdgesIterator().
Referenced by findOutgoingNodes(), hasEdgesToOtherProc(), markUseful(), and markVaried().
|
virtual |
Implements OA::DUG::NodeInterface.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 224 of file DUGStandard.cpp.
References getSinkNodesIterator().
Referenced by longdump().
|
virtual |
Implements OA::DUG::NodeInterface.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 215 of file DUGStandard.cpp.
References getSourceNodesIterator().
Referenced by longdump().
|
inlinevirtual |
getId: An id unique within instances of DUG::Node
Implements OA::DGraph::NodeInterface.
Definition at line 132 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::getId(), and mDGNode.
|
inlinevirtual |
getId: An id unique within instances of DUG::Node
Implements OA::DGraph::NodeInterface.
Definition at line 137 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::getId(), and mDGNode.
Referenced by Ctor(), dumpdot(), markUseful(), and markVaried().
|
virtual |
Implements OA::DGraph::NodeInterface.
|
virtual |
Implements OA::DGraph::NodeInterface.
Definition at line 173 of file DUGStandard.cpp.
References OA::DGraph::NodeImplement::getIncomingEdgesIterator(), and mDGNode.
Referenced by getDUGIncomingEdgesIterator().
|
inline |
Definition at line 76 of file DUGStandard.hpp.
|
virtual |
Implements OA::DGraph::NodeInterface.
|
virtual |
Implements OA::DGraph::NodeInterface.
Definition at line 179 of file DUGStandard.cpp.
References OA::DGraph::NodeImplement::getOutgoingEdgesIterator(), and mDGNode.
Referenced by getDUGOutgoingEdgesIterator().
|
inlinevirtual |
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 76 of file DUGStandard.hpp.
References mProc.
Referenced by markUseful(), markVaried(), and setActive().
|
virtual |
Implements OA::DGraph::NodeInterface.
|
virtual |
Implements OA::DGraph::NodeInterface.
Definition at line 191 of file DUGStandard.cpp.
References OA::DGraph::NodeImplement::getSourceNodesIterator(), and mDGNode.
Referenced by getDUGSinkNodesIterator().
|
virtual |
Implements OA::DGraph::NodeInterface.
|
virtual |
Implements OA::DGraph::NodeInterface.
Definition at line 185 of file DUGStandard.cpp.
References OA::DGraph::NodeImplement::getSourceNodesIterator(), and mDGNode.
Referenced by getDUGSourceNodesIterator().
|
inlinevirtual |
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 78 of file DUGStandard.hpp.
References mSym.
Referenced by dump(), dumpdot(), findOutgoingNodes(), hasEdgesFromOtherProc(), hasEdgesToOtherProc(), markUseful(), and markVaried().
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1288 of file DUGStandard.cpp.
References OA::DUG::CFLOW_EDGE.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1465 of file DUGStandard.cpp.
References OA::DUG::CFLOW_EDGE, getDUGIncomingEdgesIterator(), and getSym().
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1263 of file DUGStandard.cpp.
References OA::DUG::CALL_EDGE, and OA::DUG::CFLOW_EDGE.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1440 of file DUGStandard.cpp.
References OA::DUG::CALL_EDGE, OA::DUG::CFLOW_EDGE, getDUGOutgoingEdgesIterator(), and getSym().
bool OA::DUG::Node::hasIncomingEdgesFromOtherProcs | ( | ProcHandle | proc) |
Definition at line 1220 of file DUGStandard.cpp.
References OA::DUG::CFLOW_EDGE.
bool OA::DUG::Node::hasOutgoingEdgesToOtherProcs | ( | ProcHandle | proc) |
Definition at line 1174 of file DUGStandard.cpp.
References OA::DUG::CFLOW_EDGE.
|
inline |
Definition at line 105 of file DUGStandard.hpp.
References mVariedContexts.
Referenced by markVaried().
|
inlinevirtual |
returns true if node is an entry node, IOW has no incoming edges
Implements OA::DGraph::NodeInterface.
Definition at line 145 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::isAnEntry(), and mDGNode.
|
inlinevirtual |
returns true if node is an entry node, IOW has no incoming edges
Implements OA::DGraph::NodeInterface.
Definition at line 150 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::isAnEntry(), and mDGNode.
Referenced by longdump().
|
inlinevirtual |
returns true if node is an exit node, IOW has no outgoing edges
Implements OA::DGraph::NodeInterface.
Definition at line 148 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::isAnExit(), and mDGNode.
|
inlinevirtual |
returns true if node is an exit node, IOW has no outgoing edges
Implements OA::DGraph::NodeInterface.
Definition at line 153 of file DUGStandard.hpp.
References OA::DGraph::NodeImplement::isAnExit(), and mDGNode.
Referenced by longdump().
|
inline |
Definition at line 74 of file DUGStandard.hpp.
References OA::DUG::FORMALPARAM_NODE, and mType.
|
virtual |
Implements OA::DUG::NodeInterface.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1383 of file DUGStandard.cpp.
References getDUGIncomingEdgesIterator(), and OA::OA_ptr< T >::ptrEqual().
|
inline |
Definition at line 108 of file DUGStandard.hpp.
References mSelfDependent.
|
inline |
Definition at line 115 of file DUGStandard.hpp.
References mSelfDependent.
Referenced by markUseful(), and markVaried().
|
inline |
Definition at line 101 of file DUGStandard.hpp.
References mUseful.
|
inline |
|
inline |
Definition at line 91 of file DUGStandard.hpp.
References mVaried.
|
inline |
Definition at line 94 of file DUGStandard.hpp.
References mVaried.
Referenced by markUseful(), and markVaried().
|
inline |
Definition at line 103 of file DUGStandard.hpp.
References mVariedContexts.
Referenced by markUseful().
|
virtual |
Implements OA::DUG::NodeInterface.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 105 of file DUGStandard.cpp.
References dump(), OA::OA_ptr< T >::dump(), getDUGSinkNodesIterator(), getDUGSourceNodesIterator(), isAnEntry(), and isAnExit().
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 968 of file DUGStandard.cpp.
References OA::DUG::CALL_EDGE, OA::DUG::CFLOW_EDGE, OA::IRHandle::hval(), OA::DUG::PARAM_EDGE, OA::OA_ptr< T >::ptrEqual(), and OA::CFG::RETURN_EDGE.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 1103 of file DUGStandard.cpp.
References OA::DUG::CALL_EDGE, OA::DUG::CFLOW_EDGE, OA::OA_ptr< T >::convert(), dump(), dumpdot(), getDUGIncomingEdgesIterator(), getDUGOutgoingEdgesIterator(), getId(), getProc(), getSym(), OA::IRHandle::hval(), isSelfDependent(), isUseful(), isVaried(), isVariedContext(), mDUG, OA::DUG::PARAM_EDGE, OA::OA_ptr< T >::ptrEqual(), OA::DUG::RETURN_EDGE, setActive(), setUseful(), and unsetUseful().
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 812 of file DUGStandard.cpp.
References OA::DUG::CALL_EDGE, OA::DUG::CFLOW_EDGE, OA::DUG::PARAM_EDGE, OA::OA_ptr< T >::ptrEqual(), and OA::CFG::RETURN_EDGE.
|
virtual |
Implements OA::DUG::NodeInterface.
Definition at line 793 of file DUGStandard.cpp.
References OA::DUG::CALL_EDGE, OA::DUG::CFLOW_EDGE, OA::OA_ptr< T >::convert(), dump(), dumpdot(), getDUGIncomingEdgesIterator(), getDUGOutgoingEdgesIterator(), getId(), getProc(), getSym(), insertVariedContext(), isSelfDependent(), isVaried(), mDUG, OA::DUG::PARAM_EDGE, OA::OA_ptr< T >::ptrEqual(), OA::DUG::RETURN_EDGE, setActive(), setVaried(), and unsetVaried().
|
inlinevirtual |
number of incoming edges
Implements OA::DGraph::NodeInterface.
Definition at line 139 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::num_incoming().
|
inlinevirtual |
number of incoming edges
Implements OA::DGraph::NodeInterface.
Definition at line 144 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::num_incoming().
|
inlinevirtual |
number of outgoing edges
Implements OA::DGraph::NodeInterface.
Definition at line 142 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::num_outgoing().
|
inlinevirtual |
number of outgoing edges
Implements OA::DGraph::NodeInterface.
Definition at line 147 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::num_outgoing().
|
virtual |
Implements OA::DGraph::NodeInterface.
|
virtual |
Implements OA::DGraph::NodeInterface.
Definition at line 97 of file DUGStandard.cpp.
References mDGNode.
|
virtual |
Implements OA::DGraph::NodeInterface.
|
virtual |
Implements OA::DGraph::NodeInterface.
Definition at line 91 of file DUGStandard.cpp.
References mDGNode.
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 161 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::output().
|
inlinevirtual |
Implements OA::DUG::NodeInterface.
Definition at line 166 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::output().
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 202 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::removeIncomingEdge().
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 207 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::removeIncomingEdge().
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 208 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::removeOutgoingEdge().
|
inlinevirtual |
Implements OA::DGraph::NodeInterface.
Definition at line 213 of file DUGStandard.hpp.
References mDGNode, and OA::DGraph::NodeImplement::removeOutgoingEdge().
void OA::DUG::Node::setActive | ( | ) |
void OA::DUG::Node::setActive | ( | SymHandle | ) |
void OA::DUG::Node::setActive | ( | ) |
Definition at line 766 of file DUGStandard.cpp.
References OA::OA_ptr< T >::convert(), getProc(), mDUG, mSym, and OA::OA_ptr< T >::ptrEqual().
Referenced by markUseful(), and markVaried().
void OA::DUG::Node::setActive | ( | SymHandle | sym) |
Definition at line 733 of file DUGStandard.cpp.
|
inline |
Definition at line 109 of file DUGStandard.hpp.
References mSelfDependent.
|
inline |
Definition at line 116 of file DUGStandard.hpp.
References mSelfDependent.
|
inline |
Definition at line 102 of file DUGStandard.hpp.
References mUseful.
|
inline |
|
inline |
Definition at line 92 of file DUGStandard.hpp.
References mVaried.
|
inline |
|
inlinevirtual |
number of statements in node
Implements OA::DUG::NodeInterface.
Definition at line 121 of file DUGStandard.hpp.
|
inlinevirtual |
number of statements in node
Implements OA::DUG::NodeInterface.
Definition at line 126 of file DUGStandard.hpp.
|
inline |
Definition at line 103 of file DUGStandard.hpp.
References mUseful.
|
inline |
|
inline |
Definition at line 96 of file DUGStandard.hpp.
References mVaried.
|
inline |
|
friend |
Definition at line 241 of file DUGStandard.hpp.
|
friend |
Definition at line 242 of file DUGStandard.hpp.
|
private |
Definition at line 227 of file DUGStandard.hpp.
Referenced by getDef(), and getIRSymHandle().
|
private |
Definition at line 227 of file DUGStandard.hpp.
Referenced by addIncomingEdge(), addOutgoingEdge(), Ctor(), getId(), getIncomingEdgesIterator(), getOutgoingEdgesIterator(), getSinkNodesIterator(), getSourceNodesIterator(), isAnEntry(), isAnExit(), num_incoming(), num_outgoing(), operator<(), operator==(), output(), removeIncomingEdge(), and removeOutgoingEdge().
|
private |
Definition at line 223 of file DUGStandard.hpp.
Referenced by dumpdot(), markUseful(), markVaried(), and setActive().
|
private |
Definition at line 222 of file DUGStandard.hpp.
Definition at line 231 of file DUGStandard.hpp.
Referenced by getLoc().
|
private |
Definition at line 224 of file DUGStandard.hpp.
Referenced by dumpdot(), getProc(), and setActive().
|
private |
Definition at line 235 of file DUGStandard.hpp.
Referenced by Ctor(), isSelfDependent(), and setSelfDependent().
|
private |
Definition at line 232 of file DUGStandard.hpp.
Referenced by getIRSymHandle(), getSym(), and setActive().
|
private |
Definition at line 225 of file DUGStandard.hpp.
Referenced by getType(), and isFormalParamNode().
|
private |
Definition at line 234 of file DUGStandard.hpp.
Referenced by Ctor(), isUseful(), setUseful(), and unsetUseful().
|
private |
Definition at line 233 of file DUGStandard.hpp.
Referenced by Ctor(), isVaried(), setVaried(), and unsetVaried().
|
private |
Definition at line 239 of file DUGStandard.hpp.
Referenced by insertVariedContext(), and isVariedContext().