LLVM API Documentation

llvm::MachineFunctionPass Struct Reference

#include <MachineFunctionPass.h>

Inheritance diagram for llvm::MachineFunctionPass:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual bool runOnMachineFunction (MachineFunction &MF)=0
virtual bool runOnFunction (Function &F)

Detailed Description

Definition at line 27 of file MachineFunctionPass.h.


Member Function Documentation

virtual bool llvm::MachineFunctionPass::runOnFunction ( Function F  )  [inline, virtual]

runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.

Implements llvm::FunctionPass.

Definition at line 37 of file MachineFunctionPass.h.

References F, llvm::MachineFunction::get(), and runOnMachineFunction().

virtual bool llvm::MachineFunctionPass::runOnMachineFunction ( MachineFunction MF  )  [pure virtual]

runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.

Implemented in llvm::ELFWriter, llvm::LiveIntervals, llvm::LiveVariables, llvm::SparcV9CodeEmitter, llvm::X86ATTAsmPrinter, and llvm::X86IntelAsmPrinter.

Referenced by runOnFunction().


The documentation for this struct was generated from the following file: