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)
commit1ead68d769f27f6d68d4aaeffe4199fa2cacbc95
tree173f3e8204684105d3eebe8a1754e6b5a12c8105
parent6b731486d4460e5f1088a6066c0081af048c1e45
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168806 91177308-0d34-0410-b5e6-96231b3b80d8
23 files changed:
include/llvm/CodeGen/LiveIntervalUnion.h [new file with mode: 0644]
include/llvm/CodeGen/LiveRegMatrix.h [new file with mode: 0644]
include/llvm/CodeGen/VirtRegMap.h [new file with mode: 0644]
lib/CodeGen/AllocationOrder.cpp
lib/CodeGen/InlineSpiller.cpp
lib/CodeGen/InterferenceCache.h
lib/CodeGen/LiveDebugVariables.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LiveIntervalUnion.cpp
lib/CodeGen/LiveIntervalUnion.h [deleted file]
lib/CodeGen/LiveRangeEdit.cpp
lib/CodeGen/LiveRegMatrix.cpp
lib/CodeGen/LiveRegMatrix.h [deleted file]
lib/CodeGen/RegAllocBase.cpp
lib/CodeGen/RegAllocBase.h
lib/CodeGen/RegAllocBasic.cpp
lib/CodeGen/RegAllocGreedy.cpp
lib/CodeGen/RegAllocPBQP.cpp
lib/CodeGen/RegisterCoalescer.cpp
lib/CodeGen/Spiller.cpp
lib/CodeGen/SplitKit.cpp
lib/CodeGen/VirtRegMap.cpp
lib/CodeGen/VirtRegMap.h [deleted file]