LLVM API Documentation

llvm::PEI Class Reference

#include <PrologEpilogInserter.h>

Inheritance diagram for llvm::PEI:
[legend]
Collaboration diagram for llvm::PEI:
[legend]

List of all members.

Public Member Functions

 PEI ()
const char * getPassName () const
virtual void getAnalysisUsage (AnalysisUsage &AU) const
bool runOnMachineFunction (MachineFunction &Fn)

Static Public Attributes

static char ID = 0


Detailed Description

Definition at line 35 of file PrologEpilogInserter.h.


Constructor & Destructor Documentation

llvm::PEI::PEI (  )  [inline]

Definition at line 38 of file PrologEpilogInserter.h.


Member Function Documentation

const char* llvm::PEI::getPassName (  )  const [inline, virtual]

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

Reimplemented from llvm::Pass.

Definition at line 40 of file PrologEpilogInserter.h.

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 88 of file ShrinkWrapping.cpp.

References llvm::AnalysisUsage::addPreserved(), llvm::AnalysisUsage::addRequired(), llvm::MachineFunctionPass::getAnalysisUsage(), llvm::AnalysisUsage::setPreservesCFG(), ShrinkWrapFunc, and ShrinkWrapping.

bool PEI::runOnMachineFunction ( MachineFunction &  Fn  )  [virtual]


Member Data Documentation

char PEI::ID = 0 [static]

Definition at line 37 of file PrologEpilogInserter.h.


The documentation for this class was generated from the following files: