class FPPassManager

Declaration

class FPPassManager : public ModulePass, public PMDataManager { /* full declaration omitted */ };

Description

FPPassManager manages BBPassManagers and FunctionPasses. It batches all function passes and basic block pass managers together and sequence them to process one function at a time before processing next function.

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:461

Inherits from: ModulePass, PMDataManager

Member Variables

public static char ID

Inherited from PMDataManager:

protected TPM
protected PassVector
protected InheritedAnalysis

Method Overview

Inherited from PMDataManager:

Inherited from ModulePass:

Inherited from Pass:

Methods

FPPassManager()

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:464

void cleanup()

Description

cleanup - After running all passes, clean up pass manager cache.

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:473

bool doFinalization(llvm::Module& M)

Description

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

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:491

Parameters

llvm::Module& M

bool doInitialization(llvm::Module& M)

Description

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

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:482

Parameters

llvm::Module& M

void dumpPassStructure(unsigned int Offset)

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:502

Parameters

unsigned int Offset

void getAnalysisUsage(
    llvm::AnalysisUsage& Info) const

Description

Pass Manager itself does not invalidate any analysis info.

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:497

Parameters

llvm::AnalysisUsage& Info

llvm::PMDataManager* getAsPMDataManager()

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:493

llvm::Pass* getAsPass()

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:494

llvm::FunctionPass* getContainedPass(
    unsigned int N)

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:506

Parameters

unsigned int N

llvm::PassManagerType getPassManagerType() const

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:512

llvm::StringRef getPassName() const

Description

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:504

bool runOnFunction(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/include/llvm/IR/LegacyPassManagers.h:469

Parameters

llvm::Function& F

bool runOnModule(llvm::Module& M)

Description

runOnModule - Virtual method overriden by subclasses to process the module being operated on.

Declared at: llvm/include/llvm/IR/LegacyPassManagers.h:470

Parameters

llvm::Module& M