summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SplitKit.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-01-20 17:45:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-01-20 17:45:20 +0000
commitd7ca57705e7ccc19245b8b3d6fc271562366bf92 (patch)
treeebb9969d6adce6e050b85548f36c69302b7817e2 /lib/CodeGen/SplitKit.h
parent6b3a999f227139a3be7df6b5aea7a7d01ce94851 (diff)
downloadllvm-d7ca57705e7ccc19245b8b3d6fc271562366bf92.tar.gz
llvm-d7ca57705e7ccc19245b8b3d6fc271562366bf92.tar.bz2
llvm-d7ca57705e7ccc19245b8b3d6fc271562366bf92.tar.xz
Add LiveIntervalMap::dumpCache() to print out the cache used by the ssa update algorithm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r--lib/CodeGen/SplitKit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h
index 3e14dcf43d..3616baa6ce 100644
--- a/lib/CodeGen/SplitKit.h
+++ b/lib/CodeGen/SplitKit.h
@@ -216,6 +216,9 @@ class LiveIntervalMap {
// The cache is also used as a visiteed set by mapValue().
LiveOutMap liveOutCache_;
+ // Dump the live-out cache to dbgs().
+ void dumpCache();
+
public:
LiveIntervalMap(LiveIntervals &lis,
MachineDominatorTree &mdt,