summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit85064c17be0b47bf504532de5919c83ad5ce8ee0 (patch)
treec5ce56eeb3a1096b69afb492998467beb29919ee /llvm/lib/CodeGen/RegAllocBase.h
parent5fab27aa6c30dbfa0bc78eb6800dcbfd0c4c8df2 (diff)
downloadbcm5719-llvm-85064c17be0b47bf504532de5919c83ad5ce8ee0.tar.gz
bcm5719-llvm-85064c17be0b47bf504532de5919c83ad5ce8ee0.zip
Adds RABasic verification and tracing.
llvm-svn: 118604
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.h')
-rw-r--r--llvm/lib/CodeGen/RegAllocBase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.h b/llvm/lib/CodeGen/RegAllocBase.h
index f4ca9727384..fa595fed8b5 100644
--- a/llvm/lib/CodeGen/RegAllocBase.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud