LLVM API Documentation
#include <Pass.h>
Public Member Functions | |
virtual void | initializePass () |
ImmutablePass * | getAsImmutablePass () override |
bool | runOnModule (Module &) override |
ImmutablePass (char &pid) | |
virtual | ~ImmutablePass () |
ImmutablePass class - This class is used to provide information that does not need to be run. This is useful for things like target information and "basic" versions of AnalysisGroups.
llvm::ImmutablePass::ImmutablePass | ( | char & | pid | ) | [inline, explicit] |
ImmutablePass::~ImmutablePass | ( | ) | [virtual] |
ImmutablePass* llvm::ImmutablePass::getAsImmutablePass | ( | ) | [inline, override, virtual] |
Reimplemented from llvm::Pass.
void ImmutablePass::initializePass | ( | ) | [virtual] |
initializePass - This method may be overriden by immutable passes to allow them to perform various initialization actions they require. This is primarily because an ImmutablePass can "require" another ImmutablePass, and if it does, the overloaded version of initializePass may get access to these passes with getAnalysis<>.
Definition at line 126 of file Pass.cpp.
Referenced by llvm::PMTopLevelManager::addImmutablePass().
bool llvm::ImmutablePass::runOnModule | ( | Module & | ) | [inline, override, virtual] |