diff --git a/llvm/include/llvm/CodeGen/Spiller.h b/llvm/include/llvm/CodeGen/Spiller.h index 66dabf78f87335..a693d64858f9e1 100644 --- a/llvm/include/llvm/CodeGen/Spiller.h +++ b/llvm/include/llvm/CodeGen/Spiller.h @@ -16,27 +16,26 @@ class MachineFunction; class MachineFunctionPass; class VirtRegMap; - /// Spiller interface. - /// - /// Implementations are utility classes which insert spill or remat code on - /// demand. - class Spiller { - virtual void anchor(); - - public: - virtual ~Spiller() = 0; - - /// spill - Spill the LRE.getParent() live interval. - virtual void spill(LiveRangeEdit &LRE) = 0; - - virtual void postOptimization() {} - }; - - /// Create and return a spiller that will insert spill code directly instead - /// of deferring though VirtRegMap. - Spiller *createInlineSpiller(MachineFunctionPass &pass, - MachineFunction &mf, - VirtRegMap &vrm); +/// Spiller interface. +/// +/// Implementations are utility classes which insert spill or remat code on +/// demand. +class Spiller { + virtual void anchor(); + +public: + virtual ~Spiller() = 0; + + /// spill - Spill the LRE.getParent() live interval. + virtual void spill(LiveRangeEdit &LRE) = 0; + + virtual void postOptimization() {} +}; + +/// Create and return a spiller that will insert spill code directly instead +/// of deferring though VirtRegMap. +Spiller *createInlineSpiller(MachineFunctionPass &pass, MachineFunction &mf, + VirtRegMap &vrm); } // end namespace llvm