LLVM API Documentation
#include <LiveStackAnalysis.h>


Public Types | |
| typedef SS2IntervalMap::iterator | iterator |
| typedef SS2IntervalMap::const_iterator | const_iterator |
Public Member Functions | |
| LiveStacks () | |
| const_iterator | begin () const |
| const_iterator | end () const |
| iterator | begin () |
| iterator | end () |
| unsigned | getNumIntervals () const |
| LiveInterval & | getOrCreateInterval (int Slot) |
| BumpPtrAllocator & | getVNInfoAllocator () |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
| virtual void | releaseMemory () |
| virtual bool | runOnMachineFunction (MachineFunction &) |
| runOnMachineFunction - pass entry point | |
| virtual void | print (std::ostream &O, const Module *=0) const |
| print - Implement the dump method. | |
| void | print (std::ostream *O, const Module *M=0) const |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 26 of file LiveStackAnalysis.h.
| typedef SS2IntervalMap::iterator llvm::LiveStacks::iterator |
Definition at line 40 of file LiveStackAnalysis.h.
| typedef SS2IntervalMap::const_iterator llvm::LiveStacks::const_iterator |
Definition at line 41 of file LiveStackAnalysis.h.
| llvm::LiveStacks::LiveStacks | ( | ) | [inline] |
Definition at line 38 of file LiveStackAnalysis.h.
| const_iterator llvm::LiveStacks::begin | ( | ) | const [inline] |
| const_iterator llvm::LiveStacks::end | ( | ) | const [inline] |
| iterator llvm::LiveStacks::begin | ( | ) | [inline] |
Definition at line 44 of file LiveStackAnalysis.h.
| iterator llvm::LiveStacks::end | ( | ) | [inline] |
Definition at line 45 of file LiveStackAnalysis.h.
| unsigned llvm::LiveStacks::getNumIntervals | ( | ) | const [inline] |
Definition at line 46 of file LiveStackAnalysis.h.
| LiveInterval& llvm::LiveStacks::getOrCreateInterval | ( | int | Slot | ) | [inline] |
| BumpPtrAllocator& llvm::LiveStacks::getVNInfoAllocator | ( | ) | [inline] |
| void LiveStacks::getAnalysisUsage | ( | AnalysisUsage & | ) | const [virtual] |
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.
Reimplemented from llvm::Pass.
Definition at line 27 of file LiveStackAnalysis.cpp.
References llvm::Pass::getAnalysisUsage(), and llvm::AnalysisUsage::setPreservesAll().
| void LiveStacks::releaseMemory | ( | ) | [virtual] |
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memory when it is no longer needed. The default behavior of passes is to hold onto memory for the entire duration of their lifetime (which is the entire compile time). For pipelined passes, this is not a big deal because that memory gets recycled every time the pass is invoked on another program unit. For IP passes, it is more important to free memory when it is unused.
Optionally implement this function to release pass memory when it is no longer used.
Reimplemented from llvm::Pass.
Definition at line 32 of file LiveStackAnalysis.cpp.
References llvm::BumpPtrAllocator::Reset().
| bool LiveStacks::runOnMachineFunction | ( | MachineFunction & | ) | [virtual] |
runOnMachineFunction - pass entry point
Implements llvm::MachineFunctionPass.
Definition at line 38 of file LiveStackAnalysis.cpp.
| void LiveStacks::print | ( | std::ostream & | O, | |
| const Module * | = 0 | |||
| ) | const [virtual] |
print - Implement the dump method.
Reimplemented from llvm::Pass.
Definition at line 45 of file LiveStackAnalysis.cpp.
References begin(), E, end(), and I.
Referenced by print().
| void llvm::LiveStacks::print | ( | std::ostream * | O, | |
| const Module * | M = 0 | |||
| ) | const [inline] |
char LiveStacks::ID = 0 [static] |
Definition at line 37 of file LiveStackAnalysis.h.