summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveRegMatrix.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-11-28 19:13:06 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-11-28 19:13:06 +0000
commit26c9d70d28e7d9d3896f4f1bc84520985d260e78 (patch)
treec4244446522c1c1b4711e5354d4f7195d5cd72a4 /llvm/lib/CodeGen/LiveRegMatrix.cpp
parent85ff8f281e857da3e7cd8dd0a79ad0d3f2eb94d6 (diff)
downloadbcm5719-llvm-26c9d70d28e7d9d3896f4f1bc84520985d260e78.tar.gz
bcm5719-llvm-26c9d70d28e7d9d3896f4f1bc84520985d260e78.zip
Make the LiveRegMatrix analysis available to targets.
No functional change, just moved header files. Targets can inject custom passes between register allocation and rewriting. This makes it possible to tweak the register allocation before rewriting, using the full global interference checking available from LiveRegMatrix. llvm-svn: 168806
Diffstat (limited to 'llvm/lib/CodeGen/LiveRegMatrix.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveRegMatrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveRegMatrix.cpp b/llvm/lib/CodeGen/LiveRegMatrix.cpp
index 7f22478d01c..f0989b6b1a9 100644
--- a/llvm/lib/CodeGen/LiveRegMatrix.cpp
+++ b/llvm/lib/CodeGen/LiveRegMatrix.cpp
@@ -12,12 +12,12 @@
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "regalloc"
-#include "LiveRegMatrix.h"
#include "RegisterCoalescer.h"
-#include "VirtRegMap.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
+#include "llvm/CodeGen/LiveRegMatrix.h"
+#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Support/Debug.h"
OpenPOWER on IntegriCloud