summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-06-19 02:17:53 +0000
committerLang Hames <lhames@gmail.com>2009-06-19 02:17:53 +0000
commit6b2c960cc4ccf93821937c0c28405dbcb3487bd2 (patch)
treef0e6939e5036cd058668c32928da0654c2176c57 /llvm/lib/CodeGen/Spiller.h
parent5d8df7ff34197ba10545a1fe1dcbd6729f53dc4a (diff)
downloadbcm5719-llvm-6b2c960cc4ccf93821937c0c28405dbcb3487bd2.tar.gz
bcm5719-llvm-6b2c960cc4ccf93821937c0c28405dbcb3487bd2.zip
More VNInfo tweaking, plus a little progress on intra-block splitting.
llvm-svn: 73750
Diffstat (limited to 'llvm/lib/CodeGen/Spiller.h')
-rw-r--r--llvm/lib/CodeGen/Spiller.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Spiller.h b/llvm/lib/CodeGen/Spiller.h
index 86d7db23c7b..9c3900df0b5 100644
--- a/llvm/lib/CodeGen/Spiller.h
+++ b/llvm/lib/CodeGen/Spiller.h
@@ -13,12 +13,14 @@
#include <vector>
namespace llvm {
+
class LiveInterval;
class LiveIntervals;
class LiveStacks;
class MachineFunction;
- class VirtRegMap;
class MachineInstr;
+ class VirtRegMap;
+ class VNInfo;
/// Spiller interface.
///
@@ -32,6 +34,10 @@ namespace llvm {
/// implementation selected.
virtual std::vector<LiveInterval*> spill(LiveInterval *li) = 0;
+ /// Intra-block split.
+ virtual std::vector<LiveInterval*> intraBlockSplit(LiveInterval *li,
+ VNInfo *valno) = 0;
+
};
/// Create and return a spiller object, as specified on the command line.
OpenPOWER on IntegriCloud