class FunctionAnalysisManagerCGSCCProxy

Declaration

class FunctionAnalysisManagerCGSCCProxy : public AnalysisInfoMixin { /* full declaration omitted */ };

Description

A proxy from a \c FunctionAnalysisManager to an \c SCC. When a module pass runs and triggers invalidation, both the CGSCC and Function analysis manager proxies on the module get an invalidation event. We don't want to fully duplicate responsibility for most of the invalidation logic. Instead, this layer is only responsible for SCC-local invalidation events. We work with the module's FunctionAnalysisManager to invalidate function analyses.

Declared at: llvm/include/llvm/Analysis/CGSCCPassManager.h:379

Inherits from: AnalysisInfoMixin

Method Overview

  • public llvm::FunctionAnalysisManagerCGSCCProxy::Result run(LazyCallGraph::SCC & C, llvm::CGSCCAnalysisManager & AM, llvm::LazyCallGraph &)

Methods

ΒΆllvm::FunctionAnalysisManagerCGSCCProxy::Result
run(LazyCallGraph::SCC& C,
    llvm::CGSCCAnalysisManager& AM,
    llvm::LazyCallGraph&)

Description

Computes the \c FunctionAnalysisManager and stores it in the result proxy.

Declared at: llvm/include/llvm/Analysis/CGSCCPassManager.h:397

Parameters

LazyCallGraph::SCC& C
llvm::CGSCCAnalysisManager& AM
llvm::LazyCallGraph&