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

The result proxy object for the FunctionAnalysisManagerModuleProxy. More...

#include <PassManager.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 (Module &M, const PreservedAnalyses &PA)
 Handler for invalidation of the module. More...
 

Detailed Description

The result proxy object for the FunctionAnalysisManagerModuleProxy.

See its documentation for more information.

Definition at line 644 of file PassManager.h.

Constructor & Destructor Documentation

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

Definition at line 646 of file PassManager.h.

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

Definition at line 649 of file PassManager.h.

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

Definition at line 650 of file PassManager.h.

FunctionAnalysisManagerModuleProxy::Result::~Result ( )

Definition at line 24 of file PassManager.cpp.

References llvm::AnalysisManager< IRUnitT >::clear().

Member Function Documentation

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

Accessor for the FunctionAnalysisManager.

Definition at line 658 of file PassManager.h.

bool FunctionAnalysisManagerModuleProxy::Result::invalidate ( Module M,
const PreservedAnalyses PA 
)

Handler for invalidation of the module.

If this analysis itself is preserved, then we assume that the set of Function objects in the Module 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 30 of file PassManager.cpp.

References llvm::AnalysisManager< IRUnitT >::clear(), llvm::FunctionAnalysisManagerModuleProxy::ID(), and llvm::PreservedAnalyses::preserved().

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

Definition at line 651 of file PassManager.h.

References std::swap().


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