class FunctionPassManagerImpl

Declaration

class FunctionPassManagerImpl : public Pass,
                                public PMDataManager,
                                public PMTopLevelManager { /* full declaration omitted */ };

Description

FunctionPassManagerImpl manages FPPassManagers

Declared at: llvm/lib/IR/LegacyPassManager.cpp:246

Inherits from: Pass, PMDataManager, PMTopLevelManager

Member Variables

private bool wasRun
public static char ID

Inherited from PMTopLevelManager:

public activeStack
protected PassManagers

Inherited from PMDataManager:

protected TPM = nullptr
protected PassVector
protected InheritedAnalysis

Method Overview

Inherited from PMTopLevelManager:

Inherited from PMDataManager:

Inherited from Pass:

Methods

FunctionPassManagerImpl()

Declared at: llvm/lib/IR/LegacyPassManager.cpp:254

void add(llvm::Pass* P)

Description

\copydoc FunctionPassManager::add()

Declared at: llvm/lib/IR/LegacyPassManager.cpp:259

Parameters

llvm::Pass* P

virtual void anchor()

Declared at: llvm/lib/IR/LegacyPassManager.cpp:249

llvm::Pass* createPrinterPass(
    llvm::raw_ostream& O,
    const std::string& Banner) const

Description

createPrinterPass - Get a function printer pass.

Declared at: llvm/lib/IR/LegacyPassManager.cpp:264

Parameters

llvm::raw_ostream& O
const std::string& Banner

bool doFinalization(llvm::Module& M)

Description

doFinalization - Run all of the finalizers for the function passes.

Declared at: llvm/lib/IR/LegacyPassManager.cpp:283

Parameters

llvm::Module& M

bool doInitialization(llvm::Module& M)

Description

doInitialization - Run all of the initializers for the function passes.

Declared at: llvm/lib/IR/LegacyPassManager.cpp:279

Parameters

llvm::Module& M

void dumpPassStructure(unsigned int Offset)

Declared at: llvm/lib/IR/LegacyPassManager.cpp:303

Parameters

unsigned int Offset

void getAnalysisUsage(
    llvm::AnalysisUsage& Info) const

Description

Pass Manager itself does not invalidate any analysis info.

Declared at: llvm/lib/IR/LegacyPassManager.cpp:293

Parameters

llvm::AnalysisUsage& Info

llvm::PMDataManager* getAsPMDataManager()

Declared at: llvm/lib/IR/LegacyPassManager.cpp:286

llvm::Pass* getAsPass()

Declared at: llvm/lib/IR/LegacyPassManager.cpp:287

llvm::FPPassManager* getContainedManager(
    unsigned int N)

Declared at: llvm/lib/IR/LegacyPassManager.cpp:297

Parameters

unsigned int N

llvm::PassManagerType getTopLevelPassManagerType()

Declared at: llvm/lib/IR/LegacyPassManager.cpp:288

void releaseMemoryOnTheFly()

Declared at: llvm/lib/IR/LegacyPassManager.cpp:271

bool run(llvm::Function& F)

Description

run - Execute all of the passes scheduled for execution. Keep track of whether any of the passes modifies the module, and if so, return true.

Declared at: llvm/lib/IR/LegacyPassManager.cpp:275

Parameters

llvm::Function& F