aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-06-02 16:53:25 +0000
committerLang Hames <lhames@gmail.com>2009-06-02 16:53:25 +0000
commitf41538d1b54f55e8900394929b50f7ce3e61125f (patch)
treec0c221c0825be930b71daca46db85593a9186a5b /lib/CodeGen/Spiller.h
parent874ae251c317788391f9c3f113957802d390a063 (diff)
Update to in-place spilling framework. Includes live interval scaling and trivial rewriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.h')
-rw-r--r--lib/CodeGen/Spiller.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h
index 730419b057..cad054d744 100644
--- a/lib/CodeGen/Spiller.h
+++ b/lib/CodeGen/Spiller.h
@@ -13,8 +13,9 @@
#include <vector>
namespace llvm {
- struct LiveInterval;
+ class LiveInterval;
class LiveIntervals;
+ class LiveStacks;
class MachineFunction;
class VirtRegMap;
@@ -30,7 +31,7 @@ namespace llvm {
/// Create and return a spiller object, as specified on the command line.
Spiller* createSpiller(MachineFunction *mf, LiveIntervals *li,
- VirtRegMap *vrm);
+ LiveStacks *ls, VirtRegMap *vrm);
}
#endif