diff options
author | Lang Hames <lhames@gmail.com> | 2009-06-19 02:17:53 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2009-06-19 02:17:53 +0000 |
commit | 10382fb71d8306f320ecbeb7049d25354c0e5457 (patch) | |
tree | 23053311fd8c11cf7ac7c7003e8b241eb3db8486 /lib/CodeGen/Spiller.h | |
parent | 974fe5d69187bdf33b0e111ff72e965431df4191 (diff) |
More VNInfo tweaking, plus a little progress on intra-block splitting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.h')
-rw-r--r-- | lib/CodeGen/Spiller.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h index 86d7db23c7..9c3900df0b 100644 --- a/lib/CodeGen/Spiller.h +++ b/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. |