class ImmutablePass

Declaration

class ImmutablePass : public ModulePass { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/Pass.h:279

Inherits from: ModulePass

Member Variables

Method Overview

Inherited from ModulePass:

Inherited from Pass:

Methods

ImmutablePass(char& pid)

Declared at: llvm/include/llvm/Pass.h:281

Parameters

char& pid

llvm::ImmutablePass* getAsImmutablePass()

Declared at: llvm/include/llvm/Pass.h:293

virtual void initializePass()

Description

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 < >.

Declared at: llvm/include/llvm/Pass.h:291

bool runOnModule(llvm::Module&)

Description

ImmutablePasses are never run.

Declared at: llvm/include/llvm/Pass.h:296

Parameters

llvm::Module&

~ImmutablePass()

Declared at: llvm/include/llvm/Pass.h:284