|
LLVM
4.0.0
|
A node in the call graph. More...
#include <LazyCallGraph.h>
Public Member Functions | |
| LazyCallGraph & | getGraph () const |
| Function & | getFunction () const |
| edge_iterator | begin () const |
| edge_iterator | end () const |
| const Edge & | operator[] (int i) const |
| const Edge & | operator[] (Function &F) const |
| const Edge & | operator[] (Node &N) const |
| const Edge * | lookup (Function &F) const |
| call_edge_iterator | call_begin () const |
| call_edge_iterator | call_end () const |
| iterator_range < call_edge_iterator > | calls () const |
| bool | operator== (const Node &N) const |
| Equality is defined as address equality. More... | |
| bool | operator!= (const Node &N) const |
Friends | |
| class | LazyCallGraph |
| class | LazyCallGraph::SCC |
| class | LazyCallGraph::RefSCC |
| raw_ostream & | operator<< (raw_ostream &OS, const Node &N) |
| Print the name of this node's function. More... | |
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 199 of file LazyCallGraph.h.
|
inline |
Definition at line 250 of file LazyCallGraph.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), and llvm::SmallVectorTemplateCommon< T, typename >::end().
Referenced by llvm::GraphTraits< LazyCallGraph::Node * >::child_begin(), llvm::GraphTraits< LazyCallGraph * >::child_begin(), and llvm::LazyCallGraph::RefSCC::removeInternalRefEdge().
|
inline |
Definition at line 267 of file LazyCallGraph.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), and llvm::SmallVectorTemplateCommon< T, typename >::end().
Referenced by calls(), and llvm::LazyCallGraph::RefSCC::switchInternalEdgeToRef().
|
inline |
Definition at line 270 of file LazyCallGraph.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
Referenced by calls(), and llvm::LazyCallGraph::RefSCC::switchInternalEdgeToRef().
|
inline |
Definition at line 274 of file LazyCallGraph.h.
References call_begin(), call_end(), and llvm::make_range().
Referenced by llvm::LazyCallGraph::SCC::isParentOf().
|
inline |
Definition at line 253 of file LazyCallGraph.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
Referenced by llvm::GraphTraits< LazyCallGraph::Node * >::child_end(), llvm::GraphTraits< LazyCallGraph * >::child_end(), and llvm::LazyCallGraph::RefSCC::removeInternalRefEdge().
|
inline |
Definition at line 248 of file LazyCallGraph.h.
References F.
Referenced by llvm::LazyCallGraph::RefSCC::insertTrivialCallEdge(), llvm::LazyCallGraph::RefSCC::insertTrivialRefEdge(), operator[](), printNode(), printNodeDOT(), llvm::LazyCallGraph::RefSCC::removeInternalRefEdge(), llvm::LazyCallGraph::RefSCC::removeOutgoingEdge(), llvm::LazyCallGraph::RefSCC::switchInternalEdgeToCall(), llvm::LazyCallGraph::RefSCC::switchInternalEdgeToRef(), llvm::LazyCallGraph::RefSCC::switchOutgoingEdgeToCall(), llvm::LazyCallGraph::RefSCC::switchOutgoingEdgeToRef(), llvm::LazyCallGraph::RefSCC::switchTrivialInternalEdgeToRef(), and llvm::updateCGAndAnalysisManagerForFunctionPass().
|
inline |
Definition at line 246 of file LazyCallGraph.h.
References G.
Definition at line 262 of file LazyCallGraph.h.
Referenced by llvm::updateCGAndAnalysisManagerForFunctionPass().
Definition at line 280 of file LazyCallGraph.h.
References operator==().
Equality is defined as address equality.
Definition at line 279 of file LazyCallGraph.h.
References N.
Referenced by operator!=().
Definition at line 255 of file LazyCallGraph.h.
References i.
Definition at line 256 of file LazyCallGraph.h.
References assert().
Definition at line 260 of file LazyCallGraph.h.
References getFunction().
|
friend |
Definition at line 200 of file LazyCallGraph.h.
|
friend |
Definition at line 202 of file LazyCallGraph.h.
|
friend |
Definition at line 201 of file LazyCallGraph.h.
|
friend |
Print the name of this node's function.
Definition at line 238 of file LazyCallGraph.h.
1.8.6