A node in the call graph for a module.
Synopsis
Declared in <llvm/Analysis/CallGraph.h>
class CallGraphNode;
Description
Typically represents a function in the call graph. There are also special "null" nodes used to represent theoretical entries in the call graph.
Type Aliases
Name |
Description |
A call‐site edge from this node to a callee. |
|
Vector of call records representing outgoing edges from this node. |
|
Const iterator over outgoing call records. |
|
Mutable iterator over outgoing call records. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this node; asserts that no references remain. |
|
Deleted copy assignment; nodes are owned by the call graph. |
Adds a function to the list of functions called by this one. |
|
|
|
Print out this call graph node. |
|
Return true if this node has no outgoing call edges. |
|
|
|
Returns the function that this call graph node represents. |
|
Returns the number of other CallGraphNodes in this CallGraph that reference this node in their callee list. |
|
Returns the i'th called function. |
|
Print this call graph node to |
|
Removes all edges from this CallGraphNode to any functions it calls. |
|
Remove the call edge at iterator |
|
Removes one edge associated with a null callsite from this node to the specified callee function. |
|
Replaces the edge in the node for the specified call site with a new one. |
|
Return the number of outgoing call edges. |
|
Moves all the callee information from N to this node. |
Friends
Name |
Description |
The basic data container for the call graph of a |
Created with MrDocs