diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-11-28 19:13:06 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-11-28 19:13:06 +0000 |
commit | 26c9d70d28e7d9d3896f4f1bc84520985d260e78 (patch) | |
tree | c4244446522c1c1b4711e5354d4f7195d5cd72a4 /llvm/lib/CodeGen/RegAllocBase.cpp | |
parent | 85ff8f281e857da3e7cd8dd0a79ad0d3f2eb94d6 (diff) | |
download | bcm5719-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/RegAllocBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.cpp b/llvm/lib/CodeGen/RegAllocBase.cpp index 993dbc71ded..c0355903574 100644 --- a/llvm/lib/CodeGen/RegAllocBase.cpp +++ b/llvm/lib/CodeGen/RegAllocBase.cpp @@ -14,14 +14,14 @@ #define DEBUG_TYPE "regalloc" #include "RegAllocBase.h" -#include "LiveRegMatrix.h" #include "Spiller.h" -#include "VirtRegMap.h" #include "llvm/ADT/Statistic.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" #include "llvm/CodeGen/LiveRangeEdit.h" +#include "llvm/CodeGen/LiveRegMatrix.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineRegisterInfo.h" +#include "llvm/CodeGen/VirtRegMap.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetRegisterInfo.h" #ifndef NDEBUG |