ΒΆLazyCallGraph::SCC&
updateCGAndAnalysisManagerForFunctionPass(
llvm::LazyCallGraph& G,
LazyCallGraph::SCC& C,
LazyCallGraph::Node& N,
llvm::CGSCCAnalysisManager& AM,
llvm::CGSCCUpdateResult& UR)
LazyCallGraph::SCC&
updateCGAndAnalysisManagerForFunctionPass(
llvm::LazyCallGraph& G,
LazyCallGraph::SCC& C,
LazyCallGraph::Node& N,
llvm::CGSCCAnalysisManager& AM,
llvm::CGSCCUpdateResult& UR)
Description
Helper to update the call graph after running a function pass. Function 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.
Declared at: llvm/include/llvm/Analysis/CGSCCPassManager.h:417