LLVM API Documentation
#include <PrologEpilogInserter.h>


Public Member Functions | |
| PEI () | |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
| bool | runOnMachineFunction (MachineFunction &Fn) |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 36 of file PrologEpilogInserter.h.
| llvm::PEI::PEI | ( | ) | [inline] |
Definition at line 39 of file PrologEpilogInserter.h.
References llvm::PassRegistry::getPassRegistry(), and llvm::initializePEIPass().
| void PEI::getAnalysisUsage | ( | AnalysisUsage & | AU | ) | const [virtual] |
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
For MachineFunctionPasses, calling AU.preservesCFG() indicates that the pass does not modify the MachineBasicBlock CFG.
Reimplemented from llvm::MachineFunctionPass.
Definition at line 87 of file ShrinkWrapping.cpp.
References llvm::AnalysisUsage::addPreserved(), llvm::AnalysisUsage::addRequired(), llvm::AnalysisUsage::setPreservesCFG(), ShrinkWrapFunc, and ShrinkWrapping.
| bool PEI::runOnMachineFunction | ( | MachineFunction & | Fn | ) | [virtual] |
runOnMachineFunction - Insert prolog/epilog code and replace abstract frame indexes with appropriate references.
Implements llvm::MachineFunctionPass.
Definition at line 65 of file PrologEpilogInserter.cpp.
References F(), llvm::AttributeSet::FunctionIndex, llvm::Function::getAttributes(), llvm::AttributeSet::hasAttribute(), llvm::Attribute::Naked, llvm::TargetFrameLowering::processFunctionBeforeCalleeSavedScan(), llvm::TargetFrameLowering::processFunctionBeforeFrameFinalized(), llvm::TargetRegisterInfo::requiresFrameIndexScavenging(), and llvm::TargetRegisterInfo::requiresRegisterScavenging().
char PEI::ID = 0 [static] |
Definition at line 38 of file PrologEpilogInserter.h.