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) |
virtual void | virtfn () |
Definition at line 27 of file MachineFunctionPass.h.
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::X86ATTAsmPrinter, and llvm::X86IntelAsmPrinter.
Referenced by runOnFunction().
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 36 of file MachineFunctionPass.h.
References F, llvm::MachineFunction::get(), and runOnMachineFunction().
void MachineFunctionPass::virtfn | ( | ) | [virtual] |
Definition at line 42 of file MachineFunction.cpp.