Helper to update the call graph after running a function pass.

Synopsis

Declared in <llvm/Analysis/CGSCCPassManager.h>

Description

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.

Return Value

The SCC that should be considered current after the update.

Parameters

Name

Description

G

Lazy call graph to update.

C

SCC currently being processed.

N

Call graph node for the function that was transformed.

AM

CGSCC analysis manager.

UR

Structure for communicating call graph updates.

FAM

Function analysis manager.

Created with MrDocs