LLVM  3.7.0
Public Member Functions | List of all members
llvm::FunctionAnalysisManagerCGSCCProxy::Result Class Reference

#include <CGSCCPassManager.h>

Public Member Functions

 Result (FunctionAnalysisManager &FAM)
 
 Result (const Result &Arg)
 
 Result (Result &&Arg)
 
Resultoperator= (Result RHS)
 
 ~Result ()
 
FunctionAnalysisManagergetManager ()
 Accessor for the FunctionAnalysisManager. More...
 
bool invalidate (LazyCallGraph::SCC &C, const PreservedAnalyses &PA)
 Handler for invalidation of the SCC. More...
 

Detailed Description

Definition at line 279 of file CGSCCPassManager.h.

Constructor & Destructor Documentation

llvm::FunctionAnalysisManagerCGSCCProxy::Result::Result ( FunctionAnalysisManager FAM)
inlineexplicit

Definition at line 281 of file CGSCCPassManager.h.

llvm::FunctionAnalysisManagerCGSCCProxy::Result::Result ( const Result Arg)
inline

Definition at line 284 of file CGSCCPassManager.h.

llvm::FunctionAnalysisManagerCGSCCProxy::Result::Result ( Result &&  Arg)
inline

Definition at line 285 of file CGSCCPassManager.h.

FunctionAnalysisManagerCGSCCProxy::Result::~Result ( )

Definition at line 53 of file CGSCCPassManager.cpp.

Member Function Documentation

FunctionAnalysisManager& llvm::FunctionAnalysisManagerCGSCCProxy::Result::getManager ( )
inline

Accessor for the FunctionAnalysisManager.

Definition at line 293 of file CGSCCPassManager.h.

bool FunctionAnalysisManagerCGSCCProxy::Result::invalidate ( LazyCallGraph::SCC C,
const PreservedAnalyses PA 
)

Handler for invalidation of the SCC.

If this analysis itself is preserved, then we assume that the set of Function objects in the SCC hasn't changed and thus we don't need to invalidate all cached data associated with a Function* in the FunctionAnalysisManager.

Regardless of whether this analysis is marked as preserved, all of the analyses in the FunctionAnalysisManager are potentially invalidated based on the set of preserved analyses.

Definition at line 59 of file CGSCCPassManager.cpp.

References llvm::CGSCCAnalysisManagerModuleProxy::ID(), and llvm::PreservedAnalyses::preserved().

Result& llvm::FunctionAnalysisManagerCGSCCProxy::Result::operator= ( Result  RHS)
inline

Definition at line 286 of file CGSCCPassManager.h.

References std::swap().


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