Helper to update the call graph after running a CGSCC pass.
Declared in <llvm/Analysis/CGSCCPassManager.h>
LazyCallGraph::SCC&
updateCGAndAnalysisManagerForCGSCCPass(
LazyCallGraph& G,
LazyCallGraph::SCC& C,
LazyCallGraph::Node& N,
CGSCCAnalysisManager& AM,
CGSCCUpdateResult& UR,
FunctionAnalysisManager& FAM);
CGSCC passes can only mutate the call graph in specific ways. This routine provides a helper that updates the call graph in those ways including returning whether any changes were made and populating a CG update result struct for the overall CGSCC walk.
The SCC that should be considered current after the update.
| Name | Description |
|---|---|
| G | Lazy call graph to update. |
| C | SCC currently being processed. |
| N | Call graph node involved in the update. |
| AM | CGSCC analysis manager. |
| UR | Structure for communicating call graph updates. |
| FAM | Function analysis manager. |