LLVM API Documentation
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 . | |
bool | invalidate (Module *M, const PreservedAnalyses &PA) |
Handler for invalidation of the module. |
The result proxy object for the FunctionAnalysisManagerModuleProxy
.
See its documentation for more information.
Definition at line 861 of file IR/PassManager.h.
llvm::FunctionAnalysisManagerModuleProxy::Result::Result | ( | FunctionAnalysisManager & | FAM | ) | [inline, explicit] |
Definition at line 863 of file IR/PassManager.h.
llvm::FunctionAnalysisManagerModuleProxy::Result::Result | ( | const Result & | Arg | ) | [inline] |
Definition at line 866 of file IR/PassManager.h.
llvm::FunctionAnalysisManagerModuleProxy::Result::Result | ( | Result && | Arg | ) | [inline] |
Definition at line 867 of file IR/PassManager.h.
Definition at line 185 of file PassManager.cpp.
References llvm::FunctionAnalysisManager::clear().
Accessor for the FunctionAnalysisManager
.
Definition at line 875 of file IR/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 191 of file PassManager.cpp.
References llvm::FunctionAnalysisManager::clear(), llvm::FunctionAnalysisManagerModuleProxy::ID(), and llvm::PreservedAnalyses::preserved().
Definition at line 868 of file IR/PassManager.h.
References std::swap().