LLVM API Documentation
A function analysis manager to coordinate and cache analyses run over a module. More...
#include <CGSCCPassManager.h>
Public Member Functions | |
CGSCCAnalysisManager () | |
CGSCCAnalysisManager (CGSCCAnalysisManager &&Arg) | |
CGSCCAnalysisManager & | operator= (CGSCCAnalysisManager &&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< CGSCCAnalysisManager, LazyCallGraph::SCC * > |
A function analysis manager to coordinate and cache analyses run over a module.
Definition at line 72 of file CGSCCPassManager.h.
llvm::CGSCCAnalysisManager::CGSCCAnalysisManager | ( | ) | [inline] |
Definition at line 86 of file CGSCCPassManager.h.
llvm::CGSCCAnalysisManager::CGSCCAnalysisManager | ( | CGSCCAnalysisManager && | Arg | ) | [inline] |
Definition at line 87 of file CGSCCPassManager.h.
void CGSCCAnalysisManager::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 50 of file CGSCCPassManager.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear().
Referenced by llvm::CGSCCAnalysisManagerModuleProxy::Result::invalidate(), and llvm::CGSCCAnalysisManagerModuleProxy::Result::~Result().
bool CGSCCAnalysisManager::empty | ( | ) | const |
Returns true if the analysis manager has an empty results cache.
Definition at line 43 of file CGSCCPassManager.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::empty().
Referenced by llvm::CGSCCAnalysisManagerModuleProxy::run().
CGSCCAnalysisManager& llvm::CGSCCAnalysisManager::operator= | ( | CGSCCAnalysisManager && | RHS | ) | [inline] |
Definition at line 90 of file CGSCCPassManager.h.
References llvm::CGSCCPassManager::operator=().
friend class detail::AnalysisManagerBase< CGSCCAnalysisManager,LazyCallGraph::SCC * > [friend] |
Definition at line 75 of file CGSCCPassManager.h.