LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::AnalysisResolver Class Reference

#include "llvm/PassAnalysisSupport.h"

Public Member Functions

 AnalysisResolver (PMDataManager &P)
 
PMDataManagergetPMDataManager ()
 
PassfindImplPass (AnalysisID PI)
 Find pass that is implementing PI. More...
 
PassfindImplPass (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 the analysis (PassInfo). More...
 
PassgetAnalysisIfAvailable (AnalysisID ID, bool Direction) const
 Return analysis result or null if it doesn't exist. More...
 

Detailed Description

Definition at line 144 of file PassAnalysisSupport.h.

Constructor & Destructor Documentation

◆ AnalysisResolver()

llvm::AnalysisResolver::AnalysisResolver ( PMDataManager P)
inlineexplicit

Definition at line 149 of file PassAnalysisSupport.h.

Member Function Documentation

◆ addAnalysisImplsPair()

void llvm::AnalysisResolver::addAnalysisImplsPair ( AnalysisID  PI,
Pass P 
)
inline

Definition at line 168 of file PassAnalysisSupport.h.

Referenced by llvm::PMDataManager::initializeAnalysisImpl().

◆ clearAnalysisImpls()

void llvm::AnalysisResolver::clearAnalysisImpls ( )
inline

Clear cache that is used to connect a pass to the the analysis (PassInfo).

Definition at line 176 of file PassAnalysisSupport.h.

Referenced by llvm::FPPassManager::cleanup().

◆ findImplPass() [1/2]

Pass* llvm::AnalysisResolver::findImplPass ( AnalysisID  PI)
inline

Find pass that is implementing PI.

Definition at line 154 of file PassAnalysisSupport.h.

References F, and P.

◆ findImplPass() [2/2]

Pass * AnalysisResolver::findImplPass ( Pass P,
AnalysisID  PI,
Function F 
)

◆ getAnalysisIfAvailable()

Pass * AnalysisResolver::getAnalysisIfAvailable ( AnalysisID  ID,
bool  Direction 
) const

Return analysis result or null if it doesn't exist.

Definition at line 1261 of file LegacyPassManager.cpp.

Referenced by llvm::Pass::mustPreserveAnalysisID().

◆ getPMDataManager()

PMDataManager& llvm::AnalysisResolver::getPMDataManager ( )
inline

Definition at line 151 of file PassAnalysisSupport.h.

Referenced by llvm::PMTopLevelManager::setLastUser().


The documentation for this class was generated from the following files: