LLVM
8.0.1
|
AnalysisResolver - Simple interface used by Pass objects to pull all analysis information out of pass manager that is responsible to manage the pass. More...
#include "llvm/PassAnalysisSupport.h"
Public Member Functions | |
AnalysisResolver ()=delete | |
AnalysisResolver (PMDataManager &P) | |
PMDataManager & | getPMDataManager () |
Pass * | findImplPass (AnalysisID PI) |
Find pass that is implementing PI. More... | |
Pass * | findImplPass (Pass *P, AnalysisID PI, Function &F) |
Find pass that is implementing PI. Initialize pass for Function F. More... | |
void | addAnalysisImplsPair (AnalysisID PI, Pass *P) |
void | clearAnalysisImpls () |
Clear cache that is used to connect a pass to the analysis (PassInfo). More... | |
Pass * | getAnalysisIfAvailable (AnalysisID ID, bool Direction) const |
Return analysis result or null if it doesn't exist. More... | |
AnalysisResolver - Simple interface used by Pass objects to pull all analysis information out of pass manager that is responsible to manage the pass.
Definition at line 148 of file PassAnalysisSupport.h.
|
delete |
|
inlineexplicit |
Definition at line 151 of file PassAnalysisSupport.h.
|
inline |
Definition at line 170 of file PassAnalysisSupport.h.
Referenced by llvm::PMDataManager::initializeAnalysisImpl().
|
inline |
Clear cache that is used to connect a pass to the analysis (PassInfo).
Definition at line 178 of file PassAnalysisSupport.h.
Referenced by llvm::FPPassManager::cleanup().
|
inline |
Find pass that is implementing PI.
Definition at line 156 of file PassAnalysisSupport.h.
Pass * AnalysisResolver::findImplPass | ( | Pass * | P, |
AnalysisID | PI, | ||
Function & | F | ||
) |
Find pass that is implementing PI. Initialize pass for Function F.
Definition at line 1365 of file LegacyPassManager.cpp.
References llvm::BasicBlockPass::doFinalization(), llvm::BasicBlockPass::doInitialization(), llvm::EXECUTION_MSG, F(), llvm::GlobalValue::getParent(), llvm::getPassTimer(), InstrCount, llvm::GlobalValue::isDeclaration(), llvm::MODIFICATION_MSG, llvm::ON_BASICBLOCK_MSG, llvm::BasicBlockPass::runOnBasicBlock(), runOnFunction(), llvm::Module::shouldEmitInstrCountChangedRemark(), and X.
Pass * AnalysisResolver::getAnalysisIfAvailable | ( | AnalysisID | ID, |
bool | Direction | ||
) | const |
Return analysis result or null if it doesn't exist.
Definition at line 1361 of file LegacyPassManager.cpp.
|
inline |
Definition at line 153 of file PassAnalysisSupport.h.
Referenced by llvm::PMTopLevelManager::setLastUser().