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:392

Inherits from: AnalysisInfoMixin

Member Variables

private static llvm::AnalysisKey Key

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:415

Parameters

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