Make the LiveRegMatrix analysis available to targets.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 28 Nov 2012 19:13:06 +0000 (19:13 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 28 Nov 2012 19:13:06 +0000 (19:13 +0000)
commit26c9d70d28e7d9d3896f4f1bc84520985d260e78
treec4244446522c1c1b4711e5354d4f7195d5cd72a4
parent85ff8f281e857da3e7cd8dd0a79ad0d3f2eb94d6
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
20 files changed:
llvm/include/llvm/CodeGen/LiveIntervalUnion.h [moved from llvm/lib/CodeGen/LiveIntervalUnion.h with 100% similarity]
llvm/include/llvm/CodeGen/LiveRegMatrix.h [moved from llvm/lib/CodeGen/LiveRegMatrix.h with 99% similarity]
llvm/include/llvm/CodeGen/VirtRegMap.h [moved from llvm/lib/CodeGen/VirtRegMap.h with 100% similarity]
llvm/lib/CodeGen/AllocationOrder.cpp
llvm/lib/CodeGen/InlineSpiller.cpp
llvm/lib/CodeGen/InterferenceCache.h
llvm/lib/CodeGen/LiveDebugVariables.cpp
llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
llvm/lib/CodeGen/LiveIntervalUnion.cpp
llvm/lib/CodeGen/LiveRangeEdit.cpp
llvm/lib/CodeGen/LiveRegMatrix.cpp
llvm/lib/CodeGen/RegAllocBase.cpp
llvm/lib/CodeGen/RegAllocBase.h
llvm/lib/CodeGen/RegAllocBasic.cpp
llvm/lib/CodeGen/RegAllocGreedy.cpp
llvm/lib/CodeGen/RegAllocPBQP.cpp
llvm/lib/CodeGen/RegisterCoalescer.cpp
llvm/lib/CodeGen/Spiller.cpp
llvm/lib/CodeGen/SplitKit.cpp
llvm/lib/CodeGen/VirtRegMap.cpp