LLVM  7.0.0svn
Classes | Public Member Functions | List of all members
llvm::FunctionAnalysisManagerCGSCCProxy Class Reference

A proxy from a FunctionAnalysisManager to an SCC. More...

#include "llvm/Analysis/CGSCCPassManager.h"

Inheritance diagram for llvm::FunctionAnalysisManagerCGSCCProxy:
Inheritance graph
Collaboration diagram for llvm::FunctionAnalysisManagerCGSCCProxy:
Collaboration graph


class  Result

Public Member Functions

Result run (LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, LazyCallGraph &)
 Computes the FunctionAnalysisManager and stores it in the result proxy. More...

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AnalysisInfoMixin< FunctionAnalysisManagerCGSCCProxy >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type. More...
- Static Public Member Functions inherited from llvm::PassInfoMixin< FunctionAnalysisManagerCGSCCProxy >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...

Detailed Description

A proxy from a FunctionAnalysisManager to an 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.

Definition at line 516 of file CGSCCPassManager.h.

Member Function Documentation

◆ run()

FunctionAnalysisManagerCGSCCProxy::Result llvm::FunctionAnalysisManagerCGSCCProxy::run ( LazyCallGraph::SCC C,
CGSCCAnalysisManager AM,
LazyCallGraph CG 

The documentation for this class was generated from the following files: