summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit04e6b3bd21fee39649f50e3c871689a1a3fe7583 (patch)
tree6f5731dee05b03a41579a209f5bf79f488a5e5ef /llvm/lib/CodeGen/SplitKit.h
parentaf5fe69860adbfa5dccf3d96552ce200d51e7f5d (diff)
downloadbcm5719-llvm-04e6b3bd21fee39649f50e3c871689a1a3fe7583.tar.gz
bcm5719-llvm-04e6b3bd21fee39649f50e3c871689a1a3fe7583.zip
Add LiveIntervalMap::dumpCache() to print out the cache used by the ssa update algorithm.
llvm-svn: 123925
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
-rw-r--r--llvm/lib/CodeGen/SplitKit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h
index 3e14dcf43d7..3616baa6ced 100644
--- a/llvm/lib/CodeGen/SplitKit.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud