|
LLVM
3.7.0
|
The result proxy object for the FunctionAnalysisManagerModuleProxy.
More...
#include <PassManager.h>
Public Member Functions | |
| Result (FunctionAnalysisManager &FAM) | |
| Result (const Result &Arg) | |
| Result (Result &&Arg) | |
| Result & | operator= (Result RHS) |
| ~Result () | |
| FunctionAnalysisManager & | getManager () |
Accessor for the FunctionAnalysisManager. More... | |
| bool | invalidate (Module &M, const PreservedAnalyses &PA) |
| Handler for invalidation of the module. More... | |
The result proxy object for the FunctionAnalysisManagerModuleProxy.
See its documentation for more information.
Definition at line 644 of file PassManager.h.
|
inlineexplicit |
Definition at line 646 of file PassManager.h.
Definition at line 649 of file PassManager.h.
|
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().
|
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().
Definition at line 651 of file PassManager.h.
References std::swap().
1.8.6