class MachineModuleInfoWrapperPass

Declaration

class MachineModuleInfoWrapperPass : public ImmutablePass { /* 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/CodeGen/MachineModuleInfo.h:214

Inherits from: ImmutablePass

Member Variables

private llvm::MachineModuleInfo MMI
public static char ID

Method Overview

Inherited from ImmutablePass:

Inherited from ModulePass:

Inherited from Pass:

Methods

MachineModuleInfoWrapperPass(
    const llvm::LLVMTargetMachine* TM = nullptr)

Declared at: llvm/include/llvm/CodeGen/MachineModuleInfo.h:219

Parameters

const llvm::LLVMTargetMachine* TM = nullptr

MachineModuleInfoWrapperPass(
    const llvm::LLVMTargetMachine* TM,
    llvm::MCContext* ExtContext)

Declared at: llvm/include/llvm/CodeGen/MachineModuleInfo.h:221

Parameters

const llvm::LLVMTargetMachine* TM
llvm::MCContext* ExtContext

bool doFinalization(llvm::Module&)

Description

doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes have run.

Declared at: llvm/include/llvm/CodeGen/MachineModuleInfo.h:226

Parameters

llvm::Module&

bool doInitialization(llvm::Module&)

Description

doInitialization - Virtual method overridden by subclasses to do any necessary initialization before any pass is run.

Declared at: llvm/include/llvm/CodeGen/MachineModuleInfo.h:225

Parameters

llvm::Module&

llvm::MachineModuleInfo& getMMI()

Declared at: llvm/include/llvm/CodeGen/MachineModuleInfo.h:228

const llvm::MachineModuleInfo& getMMI() const

Declared at: llvm/include/llvm/CodeGen/MachineModuleInfo.h:229