LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 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::LiveVariables, llvm::LiveIntervals, and llvm::SparcV9CodeEmitter.

Referenced by runOnFunction().


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