LLVM API Documentation
#include <IntervalPartition.h>


Public Member Functions | |
| IntervalPartition () | |
| virtual bool | runOnFunction (Function &F) |
| IntervalPartition (IntervalPartition &I, bool) | |
| virtual void | print (std::ostream &O, const Module *=0) const |
| void | print (std::ostream *O, const Module *M=0) const |
| Interval * | getRootInterval () |
| bool | isDegeneratePartition () |
| Interval * | getBlockInterval (BasicBlock *BB) |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
| const std::vector< Interval * > & | getIntervals () const |
| void | releaseMemory () |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 40 of file IntervalPartition.h.
| llvm::IntervalPartition::IntervalPartition | ( | ) | [inline] |
Definition at line 51 of file IntervalPartition.h.
| IntervalPartition::IntervalPartition | ( | IntervalPartition & | I, | |
| bool | ||||
| ) |
Definition at line 93 of file IntervalPartition.cpp.
References E, getRootInterval(), llvm::intervals_begin(), and llvm::intervals_end().
| bool IntervalPartition::runOnFunction | ( | Function & | F | ) | [virtual] |
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
Implements llvm::FunctionPass.
Definition at line 68 of file IntervalPartition.cpp.
References E, llvm::intervals_begin(), and llvm::intervals_end().
| void IntervalPartition::print | ( | std::ostream & | O, | |
| const Module * | M = 0 | |||
| ) | const [virtual] |
print - Print out the internal state of the pass. This is called by Analyze to print out the contents of an analysis. Otherwise it is not necessary to implement this method. Beware that the module pointer MAY be null. This automatically forwards to a virtual function that does not provide the Module* in case the analysis doesn't need it it can just be ignored.
Reimplemented from llvm::Pass.
Definition at line 35 of file IntervalPartition.cpp.
Referenced by print().
| void llvm::IntervalPartition::print | ( | std::ostream * | O, | |
| const Module * | M = 0 | |||
| ) | const [inline] |
| Interval* llvm::IntervalPartition::getRootInterval | ( | ) | [inline] |
Definition at line 70 of file IntervalPartition.h.
Referenced by llvm::IntervalIterator< NodeTy, OrigContainer_t, GT, IGT >::IntervalIterator(), and IntervalPartition().
| bool llvm::IntervalPartition::isDegeneratePartition | ( | ) | [inline] |
Definition at line 74 of file IntervalPartition.h.
| Interval* llvm::IntervalPartition::getBlockInterval | ( | BasicBlock * | BB | ) | [inline] |
Definition at line 79 of file IntervalPartition.h.
References I.
Referenced by llvm::getSourceGraphNode().
| virtual void llvm::IntervalPartition::getAnalysisUsage | ( | AnalysisUsage & | ) | const [inline, 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 85 of file IntervalPartition.h.
References llvm::AnalysisUsage::setPreservesAll().
| const std::vector<Interval*>& llvm::IntervalPartition::getIntervals | ( | ) | const [inline] |
Definition at line 90 of file IntervalPartition.h.
| void IntervalPartition::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 27 of file IntervalPartition.cpp.
char IntervalPartition::ID = 0 [static] |
Definition at line 49 of file IntervalPartition.h.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.