summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/IntervalPartition.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-27 01:12:15 +0000
committerChris Lattner <sabre@nondot.org>2002-07-27 01:12:15 +0000
commit97f51a3024a72ef8500e95b90e6361e6783160fd (patch)
tree4fab9417a9dc40dd475d7503281ef4e1c3a545d9 /include/llvm/Analysis/IntervalPartition.h
parent9a740fdf2165e263da98480d9c24f1803f94ef0c (diff)
downloadllvm-97f51a3024a72ef8500e95b90e6361e6783160fd.tar.gz
llvm-97f51a3024a72ef8500e95b90e6361e6783160fd.tar.bz2
llvm-97f51a3024a72ef8500e95b90e6361e6783160fd.tar.xz
* Standardize how analysis results/passes as printed with the print() virtual
methods * Eliminate AnalysisID: Now it is just a typedef for const PassInfo* * Simplify how AnalysisID's are initialized * Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into the analyses themselves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/IntervalPartition.h')
-rw-r--r--include/llvm/Analysis/IntervalPartition.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/IntervalPartition.h b/include/llvm/Analysis/IntervalPartition.h
index f21083f3bb..4fd388e7c8 100644
--- a/include/llvm/Analysis/IntervalPartition.h
+++ b/include/llvm/Analysis/IntervalPartition.h
@@ -51,6 +51,9 @@ public:
// Destructor - Free memory
~IntervalPartition() { destroy(); }
+ // print - Show contents in human readable format...
+ virtual void print(std::ostream &O) const;
+
// getRootInterval() - Return the root interval that contains the starting
// block of the function.
inline Interval *getRootInterval() { return RootInterval; }