aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocBase.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2010-11-09 19:01:17 +0000
committerAndrew Trick <atrick@apple.com>2010-11-09 19:01:17 +0000
commit39a5ce46a51c8e855a2f52c9f733d9d5dd8a65c4 (patch)
treede8d33781eae84fd49c167abd78e9d30e67276eb /lib/CodeGen/RegAllocBase.h
parent5df08d8f55f47aafc671c358d971dbcc10dfdeef (diff)
downloadexternal_llvm-39a5ce46a51c8e855a2f52c9f733d9d5dd8a65c4.zip
external_llvm-39a5ce46a51c8e855a2f52c9f733d9d5dd8a65c4.tar.gz
external_llvm-39a5ce46a51c8e855a2f52c9f733d9d5dd8a65c4.tar.bz2
Adds RABasic verification and tracing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r--lib/CodeGen/RegAllocBase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h
index f4ca972..fa595fe 100644
--- a/lib/CodeGen/RegAllocBase.h
+++ b/lib/CodeGen/RegAllocBase.h
@@ -128,6 +128,11 @@ protected:
// exists, return the interfering register, which may be preg or an alias.
unsigned checkPhysRegInterference(LiveInterval& lvr, unsigned preg);
+#ifndef NDEBUG
+ // Verify each LiveIntervalUnion.
+ void verify();
+#endif
+
// Helper that spills all live virtual registers currently unified under preg
// that interfere with the most recently queried lvr.
void spillInterferences(unsigned preg,