aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/VirtRegMap.h
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-24 08:58:30 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-24 08:58:30 +0000
commit0d6c5b6489b9abb634a1506d183ba47f1bf4d1f0 (patch)
tree1b0c959c168ba286cd7302cd35d28f5d5a694f9e /lib/CodeGen/VirtRegMap.h
parentd52c261cf801331bebda9711acd54c7c5377a6bd (diff)
downloadexternal_llvm-0d6c5b6489b9abb634a1506d183ba47f1bf4d1f0.zip
external_llvm-0d6c5b6489b9abb634a1506d183ba47f1bf4d1f0.tar.gz
external_llvm-0d6c5b6489b9abb634a1506d183ba47f1bf4d1f0.tar.bz2
Move machine code rewriter and spiller outside the register
allocator. The implementation is completely rewritten and now employs several optimizations not exercised before. For example for 164.gzip we have 997 loads and 699 stores vs the 1221 loads and 880 stores we have before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.h')
-rw-r--r--lib/CodeGen/VirtRegMap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/VirtRegMap.h b/lib/CodeGen/VirtRegMap.h
index f6a1cec..b5a819f 100644
--- a/lib/CodeGen/VirtRegMap.h
+++ b/lib/CodeGen/VirtRegMap.h
@@ -98,6 +98,8 @@ namespace llvm {
std::ostream& operator<<(std::ostream& os, const VirtRegMap& li);
+ void eliminateVirtRegs(MachineFunction& mf, const VirtRegMap& vrm);
+
} // End llvm namespace
#endif