aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Interval.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/Interval.h')
-rw-r--r--include/llvm/Analysis/Interval.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Interval.h b/include/llvm/Analysis/Interval.h
index b297441..13a6f45 100644
--- a/include/llvm/Analysis/Interval.h
+++ b/include/llvm/Analysis/Interval.h
@@ -14,6 +14,7 @@
#define LLVM_INTERVAL_H
#include <vector>
+#include <iosfwd>
class BasicBlock;
@@ -85,6 +86,9 @@ public:
// isLoop - Find out if there is a back edge in this interval...
bool isLoop() const;
+
+ // print - Show contents in human readable format...
+ void print(std::ostream &O) const;
};
// succ_begin/succ_end - define methods so that Intervals may be used