clang 20.0.0git
|
#include "clang/Analysis/CallGraph.h"
Classes | |
struct | CallRecord |
Public Types | |
using | iterator = SmallVectorImpl< CallRecord >::iterator |
using | const_iterator = SmallVectorImpl< CallRecord >::const_iterator |
Public Member Functions | |
CallGraphNode (Decl *D) | |
iterator | begin () |
Iterators through all the callees/children of the node. | |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
llvm::iterator_range< iterator > | callees () |
Iterator access to callees/children of the node. | |
llvm::iterator_range< const_iterator > | callees () const |
bool | empty () const |
unsigned | size () const |
void | addCallee (CallRecord Call) |
Decl * | getDecl () const |
FunctionDecl * | getDefinition () const |
void | print (raw_ostream &os) const |
void | dump () const |
Definition at line 144 of file CallGraph.h.
using clang::CallGraphNode::const_iterator = SmallVectorImpl<CallRecord>::const_iterator |
Definition at line 171 of file CallGraph.h.
using clang::CallGraphNode::iterator = SmallVectorImpl<CallRecord>::iterator |
Definition at line 170 of file CallGraph.h.
|
inline |
Definition at line 168 of file CallGraph.h.
|
inline |
Definition at line 190 of file CallGraph.h.
References clang::Call.
Referenced by clang::CallGraph::getOrInsertNode().
|
inline |
Iterators through all the callees/children of the node.
Definition at line 174 of file CallGraph.h.
Referenced by callees(), llvm::GraphTraits< clang::CallGraphNode * >::child_begin(), llvm::GraphTraits< const clang::CallGraphNode * >::child_begin(), and clang::CallGraph::print().
|
inline |
Definition at line 176 of file CallGraph.h.
|
inline |
Iterator access to callees/children of the node.
Definition at line 180 of file CallGraph.h.
|
inline |
Definition at line 183 of file CallGraph.h.
LLVM_DUMP_METHOD void CallGraphNode::dump | ( | ) | const |
Definition at line 263 of file CallGraph.cpp.
References print().
|
inline |
Definition at line 187 of file CallGraph.h.
|
inline |
Definition at line 175 of file CallGraph.h.
Referenced by callees(), llvm::GraphTraits< clang::CallGraphNode * >::child_end(), llvm::GraphTraits< const clang::CallGraphNode * >::child_end(), and clang::CallGraph::print().
|
inline |
Definition at line 177 of file CallGraph.h.
|
inline |
Definition at line 192 of file CallGraph.h.
Referenced by getDefinition().
|
inline |
Definition at line 194 of file CallGraph.h.
References clang::Decl::getAsFunction(), getDecl(), and clang::FunctionDecl::getDefinition().
void CallGraphNode::print | ( | raw_ostream & | os | ) | const |
Definition at line 257 of file CallGraph.cpp.
Referenced by dump(), and clang::CallGraph::print().
|
inline |
Definition at line 188 of file CallGraph.h.