LLVM API Documentation
#include <MachineFunctionPass.h>
Inheritance diagram for llvm::MachineFunctionPass:
Public Member Functions | |
virtual bool | runOnMachineFunction (MachineFunction &MF)=0 |
virtual bool | runOnFunction (Function &F) |
Definition at line 27 of file MachineFunctionPass.h.
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().