LLVM
8.0.1
|
A proxy from a FunctionAnalysisManager
to an SCC
.
More...
#include "llvm/Analysis/CGSCCPassManager.h"
Classes | |
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 AnalysisKey * | ID () |
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... | |
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 532 of file CGSCCPassManager.h.
FunctionAnalysisManagerCGSCCProxy::Result llvm::FunctionAnalysisManagerCGSCCProxy::run | ( | LazyCallGraph::SCC & | C, |
CGSCCAnalysisManager & | AM, | ||
LazyCallGraph & | CG | ||
) |
Computes the FunctionAnalysisManager
and stores it in the result proxy.
Definition at line 213 of file CGSCCPassManager.cpp.
References assert(), C, llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::getManager(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::Result().