summaryrefslogtreecommitdiff
path: root/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-06-17 21:01:20 +0000
committerLang Hames <lhames@gmail.com>2009-06-17 21:01:20 +0000
commit857c4e01f85601cf2084adb860616256ee47c177 (patch)
treea5208397ae299b8b8742bf4cfaca34e3db192601 /lib/CodeGen/Spiller.h
parent559254b69774d751742038309e15aa8b14a8797d (diff)
downloadllvm-857c4e01f85601cf2084adb860616256ee47c177.tar.gz
llvm-857c4e01f85601cf2084adb860616256ee47c177.tar.bz2
llvm-857c4e01f85601cf2084adb860616256ee47c177.tar.xz
VNInfo cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.h')
-rw-r--r--lib/CodeGen/Spiller.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h
index cad054d744..86d7db23c7 100644
--- a/lib/CodeGen/Spiller.h
+++ b/lib/CodeGen/Spiller.h
@@ -18,6 +18,7 @@ namespace llvm {
class LiveStacks;
class MachineFunction;
class VirtRegMap;
+ class MachineInstr;
/// Spiller interface.
///
@@ -26,7 +27,11 @@ namespace llvm {
class Spiller {
public:
virtual ~Spiller() = 0;
+
+ /// Spill the given live range. The method used will depend on the Spiller
+ /// implementation selected.
virtual std::vector<LiveInterval*> spill(LiveInterval *li) = 0;
+
};
/// Create and return a spiller object, as specified on the command line.