| LLVM 22.0.0git
    | 
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. | |
| LLVM_ABI std::tuple< Pass *, bool > | findImplPass (Pass *P, AnalysisID PI, Function &F) | 
| Find pass that is implementing PI. Initialize pass for Function F. | |
| void | addAnalysisImplsPair (AnalysisID PI, Pass *P) | 
| void | clearAnalysisImpls () | 
| Clear cache that is used to connect a pass to the analysis (PassInfo). | |
| LLVM_ABI Pass * | getAnalysisIfAvailable (AnalysisID ID) const | 
| Return analysis result or null if it doesn't exist. | |
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 158 of file PassAnalysisSupport.h.
| 
 | delete | 
| 
 | inlineexplicit | 
Definition at line 161 of file PassAnalysisSupport.h.
References P.
| 
 | inline | 
Definition at line 181 of file PassAnalysisSupport.h.
References findImplPass(), and P.
Referenced by llvm::PMDataManager::initializeAnalysisImpl().
| 
 | inline | 
Clear cache that is used to connect a pass to the analysis (PassInfo).
Definition at line 189 of file PassAnalysisSupport.h.
Referenced by llvm::FPPassManager::cleanup().
| 
 | inline | 
Find pass that is implementing PI.
Definition at line 166 of file PassAnalysisSupport.h.
Referenced by addAnalysisImplsPair().
| std::tuple< Pass *, bool > AnalysisResolver::findImplPass | ( | Pass * | P, | 
| AnalysisID | PI, | ||
| Function & | F ) | 
Find pass that is implementing PI. Initialize pass for Function F.
Definition at line 1274 of file LegacyPassManager.cpp.
| Pass * AnalysisResolver::getAnalysisIfAvailable | ( | AnalysisID | ID | ) | const | 
Return analysis result or null if it doesn't exist.
Definition at line 1269 of file LegacyPassManager.cpp.
| 
 | inline | 
Definition at line 163 of file PassAnalysisSupport.h.
Referenced by llvm::PMTopLevelManager::setLastUser().