LLVM API Documentation

Public Member Functions
llvm::ImmutablePass Class Reference

#include <Pass.h>

Inheritance diagram for llvm::ImmutablePass:
Inheritance graph
[legend]
Collaboration diagram for llvm::ImmutablePass:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void initializePass ()
ImmutablePassgetAsImmutablePass () override
bool runOnModule (Module &) override
 ImmutablePass (char &pid)
virtual ~ImmutablePass ()

Detailed Description

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.

Definition at line 262 of file Pass.h.


Constructor & Destructor Documentation

llvm::ImmutablePass::ImmutablePass ( char &  pid) [inline, explicit]

Definition at line 278 of file Pass.h.

Definition at line 124 of file Pass.cpp.


Member Function Documentation

ImmutablePass* llvm::ImmutablePass::getAsImmutablePass ( ) [inline, override, virtual]

Reimplemented from llvm::Pass.

Definition at line 272 of file Pass.h.

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]

ImmutablePasses are never run.

Implements llvm::ModulePass.

Definition at line 276 of file Pass.h.


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