Class CallGraph#
Defined in File CallGraph.h
Nested Relationships#
Nested Types#
Inheritance Relationships#
Base Type#
public DGraph(Class DGraph)
Class Documentation#
-
class CallGraph : public DGraph#
CallGraph is a DGraph (directed graph) with enhanced nodes and edges.
Each node corresponds to a function definition or reference (or both). Each node contains a list of places where it is defined or referenced.
Public Functions
-
CallGraph(IRInterface &_ir, IRProcIterator *fi, const SymHandle &name)#
-
virtual ~CallGraph()#
-
inline IRInterface &GetIRInterface()#
-
void dump(std::ostream &os)#
-
class CallGraphException : public Exception#
Public Functions
-
inline void report(std::ostream &os) const#
-
inline void report(std::ostream &os) const#
-
class Node : public DGraph::Node#
Public Functions
-
inline Node()#
-
inline virtual ~Node()#
-
inline unsigned int getID()#
-
inline bool IsDefined()#
-
inline bool IsUsed()#
-
inline ProcHandle GetDef()#
-
virtual void dump(std::ostream &os)#
-
inline void add_def(ProcHandle h)#
-
inline void add_use(ExprHandle h)#
Friends
- friend class CallGraph::NodeUsesIterator
-
inline Node()#
-
CallGraph(IRInterface &_ir, IRProcIterator *fi, const SymHandle &name)#