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 pair of the calling instruction (a call or invoke) and the call graph node being called. Call graph node may have two types of call records which represent an edge in the call graph ‐ reference or a call edge. Reference edges are not associated with any call instruction and are created with the first field set to |
|
Member Functions
Name |
Description |
|
Creates a node for the specified function. |
|
Destructor |
|
Copy assignment operator |
Adds a function to the list of functions called by this one. |
|
Print out this call graph node. |
|
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. |
|
Removes all edges from this CallGraphNode to any functions it calls. |
|
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. |
|
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