LLVM API Documentation
A node in the call graph. More...
#include <LazyCallGraph.h>
Public Types | |
typedef LazyCallGraph::iterator | iterator |
Public Member Functions | |
Function & | getFunction () const |
iterator | begin () const |
iterator | end () const |
bool | operator== (const Node &N) const |
Equality is defined as address equality. | |
bool | operator!= (const Node &N) const |
Friends | |
class | LazyCallGraph |
class | LazyCallGraph::SCC |
A node in the call graph.
This represents a single node. It's primary roles are to cache the list of callees, de-duplicate and provide fast testing of whether a function is a callee, and facilitate iteration of child nodes in the graph.
Definition at line 160 of file LazyCallGraph.h.
Definition at line 189 of file LazyCallGraph.h.
iterator llvm::LazyCallGraph::Node::begin | ( | ) | const [inline] |
Definition at line 195 of file LazyCallGraph.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), and G.
Referenced by llvm::GraphTraits< LazyCallGraph::Node * >::child_begin(), and llvm::GraphTraits< LazyCallGraph * >::child_begin().
iterator llvm::LazyCallGraph::Node::end | ( | ) | const [inline] |
Definition at line 198 of file LazyCallGraph.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end(), and G.
Referenced by llvm::GraphTraits< LazyCallGraph::Node * >::child_end(), and llvm::GraphTraits< LazyCallGraph * >::child_end().
Function& llvm::LazyCallGraph::Node::getFunction | ( | ) | const [inline] |
Definition at line 191 of file LazyCallGraph.h.
References F().
Referenced by llvm::LazyCallGraph::LazyCallGraph(), llvm::LazyCallGraph::SCC::removeInterSCCEdge(), and llvm::LazyCallGraph::SCC::removeIntraSCCEdge().
Definition at line 202 of file LazyCallGraph.h.
References operator==().
Equality is defined as address equality.
Definition at line 201 of file LazyCallGraph.h.
Referenced by operator!=().
friend class LazyCallGraph [friend] |
Definition at line 161 of file LazyCallGraph.h.
friend class LazyCallGraph::SCC [friend] |
Definition at line 162 of file LazyCallGraph.h.