LLVM API Documentation
#include <PassAnalysisSupport.h>
Public Member Functions | |
AnalysisResolver (PMDataManager &P) | |
PMDataManager & | getPMDataManager () |
Pass * | findImplPass (AnalysisID PI) |
Pass * | findImplPass (Pass *P, AnalysisID PI, Function &F) |
void | addAnalysisImplsPair (AnalysisID PI, Pass *P) |
void | clearAnalysisImpls () |
Pass * | getAnalysisIfAvailable (AnalysisID ID, bool Direction) const |
Definition at line 121 of file PassAnalysisSupport.h.
llvm::AnalysisResolver::AnalysisResolver | ( | PMDataManager & | P | ) | [inline, explicit] |
Definition at line 126 of file PassAnalysisSupport.h.
void llvm::AnalysisResolver::addAnalysisImplsPair | ( | AnalysisID | PI, |
Pass * | P | ||
) | [inline] |
Definition at line 145 of file PassAnalysisSupport.h.
References findImplPass().
Referenced by llvm::PMDataManager::initializeAnalysisImpl().
void llvm::AnalysisResolver::clearAnalysisImpls | ( | ) | [inline] |
clearAnalysisImpls - Clear cache that is used to connect a pass to the the analysis (PassInfo).
Definition at line 154 of file PassAnalysisSupport.h.
Referenced by llvm::FPPassManager::cleanup().
Pass* llvm::AnalysisResolver::findImplPass | ( | AnalysisID | PI | ) | [inline] |
Definition at line 131 of file PassAnalysisSupport.h.
Referenced by addAnalysisImplsPair(), and llvm::Pass::getAnalysisID().
Pass * AnalysisResolver::findImplPass | ( | Pass * | P, |
AnalysisID | PI, | ||
Function & | F | ||
) |
Definition at line 1283 of file LegacyPassManager.cpp.
References llvm::PMDataManager::getOnTheFlyPass().
Pass * AnalysisResolver::getAnalysisIfAvailable | ( | AnalysisID | ID, |
bool | Direction | ||
) | const |
Definition at line 1279 of file LegacyPassManager.cpp.
References llvm::PMDataManager::findAnalysisPass().
Referenced by llvm::Pass::getAnalysisIfAvailable(), and llvm::Pass::mustPreserveAnalysisID().
PMDataManager& llvm::AnalysisResolver::getPMDataManager | ( | ) | [inline] |
Definition at line 128 of file PassAnalysisSupport.h.
Referenced by llvm::PMDataManager::add(), and llvm::PMTopLevelManager::setLastUser().