summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/Spiller.h')
-rw-r--r--llvm/lib/CodeGen/Spiller.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/Spiller.h b/llvm/lib/CodeGen/Spiller.h
index cad054d744c..86d7db23c7b 100644
--- a/llvm/lib/CodeGen/Spiller.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud