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 | 6b2c960cc4ccf93821937c0c28405dbcb3487bd2 (patch) | |
| tree | f0e6939e5036cd058668c32928da0654c2176c57 /llvm/lib/CodeGen/Spiller.h | |
| parent | 5d8df7ff34197ba10545a1fe1dcbd6729f53dc4a (diff) | |
| download | bcm5719-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.h | 8 |
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. |

