Wrapper to unify "old style" CallGraph and "new style" LazyCallGraph.
Synopsis
Declared in <llvm/Transforms/Utils/CallGraphUpdater.h>
class CallGraphUpdater;
Description
This simplifies the interface and the call sites, e.g., new and old pass manager passes can share the same code.
Member Functions
Name |
Description |
|
Default‐construct a CallGraphUpdater with no attached call graph. |
|
Destroy the updater and finalize pending call‐graph updates. |
Finalizer that will trigger actions like function removal from the CG. |
|
Initialize the updater for use inside a new‐PM CGSCC pass. |
|
After an CGSCC pass changes a function in ways that affect the call graph, this method can be called to update it. |
|
Update the call graph for a function created by outlining. |
|
Remove |
|
Replace |
Created with MrDocs