LLVM API Documentation
#include <MachineFunctionPass.h>
Public Member Functions | |
| MachineFunctionPass (intptr_t ID) | |
| MachineFunctionPass (void *ID) | |
| bool | runOnFunction (Function &F) |
Protected Member Functions | |
| virtual bool | runOnMachineFunction (MachineFunction &MF)=0 |
Definition at line 27 of file MachineFunctionPass.h.
| llvm::MachineFunctionPass::MachineFunctionPass | ( | intptr_t | ID | ) | [inline, explicit] |
Definition at line 29 of file MachineFunctionPass.h.
| llvm::MachineFunctionPass::MachineFunctionPass | ( | void * | ID | ) | [inline, explicit] |
Definition at line 30 of file MachineFunctionPass.h.
| virtual bool llvm::MachineFunctionPass::runOnMachineFunction | ( | MachineFunction & | MF | ) | [protected, pure virtual] |
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
Implemented in llvm::LiveIntervals, llvm::LiveStacks, llvm::LiveVariables, llvm::MachineDominatorTree, llvm::MachineLoopInfo, llvm::ELFWriter, llvm::DebugLabelFolder, llvm::MachOWriter, llvm::SimpleRegisterCoalescing, llvm::X86ATTAsmPrinter, and llvm::X86IntelAsmPrinter.
Referenced by runOnFunction().
| 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 41 of file MachineFunctionPass.h.
References llvm::MachineFunction::get(), and runOnMachineFunction().