LLVM API Documentation
A function analysis manager to coordinate and cache analyses run over a module. More...
#include <PassManager.h>
Public Member Functions | |
FunctionAnalysisManager () | |
FunctionAnalysisManager (FunctionAnalysisManager &&Arg) | |
FunctionAnalysisManager & | operator= (FunctionAnalysisManager &&RHS) |
bool | empty () const |
Returns true if the analysis manager has an empty results cache. | |
void | clear () |
Clear the function analysis result cache. | |
Friends | |
class | detail::AnalysisManagerBase< FunctionAnalysisManager, Function * > |
A function analysis manager to coordinate and cache analyses run over a module.
Definition at line 729 of file IR/PassManager.h.
Definition at line 742 of file IR/PassManager.h.
llvm::FunctionAnalysisManager::FunctionAnalysisManager | ( | FunctionAnalysisManager && | Arg | ) | [inline] |
Definition at line 743 of file IR/PassManager.h.
void FunctionAnalysisManager::clear | ( | ) |
Clear the function analysis result cache.
This routine allows cleaning up when the set of functions itself has potentially changed, and thus we can't even look up a a result and invalidate it directly. Notably, this does *not* call invalidate functions as there is nothing to be done for them.
Definition at line 116 of file PassManager.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear().
Referenced by llvm::FunctionAnalysisManagerModuleProxy::Result::invalidate(), and llvm::FunctionAnalysisManagerModuleProxy::Result::~Result().
bool FunctionAnalysisManager::empty | ( | ) | const |
Returns true if the analysis manager has an empty results cache.
Definition at line 108 of file PassManager.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::empty().
Referenced by llvm::FunctionAnalysisManagerModuleProxy::run().
FunctionAnalysisManager& llvm::FunctionAnalysisManager::operator= | ( | FunctionAnalysisManager && | RHS | ) | [inline] |
Definition at line 746 of file IR/PassManager.h.
friend class detail::AnalysisManagerBase< FunctionAnalysisManager, Function * > [friend] |
Definition at line 731 of file IR/PassManager.h.