diff options
| author | 2018-04-06 14:26:03 +0000 | |
|---|---|---|
| committer | 2018-04-06 14:26:03 +0000 | |
| commit | bdabc2f19ffb9e20600dad6e8a300842a7bda50e (patch) | |
| tree | c50e7b2e5449b074651bb82a58517a8ebc4a8cf7 /gnu/llvm/lib/CodeGen/Spiller.h | |
| parent | Print a 'p' flag for file descriptors that were opened after pledge(2). (diff) | |
| download | wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.tar.xz wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.zip | |
Import LLVM 6.0.1 release including clang, lld and lldb.
"where is the kaboom?" deraadt@
Diffstat (limited to 'gnu/llvm/lib/CodeGen/Spiller.h')
| -rw-r--r-- | gnu/llvm/lib/CodeGen/Spiller.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/llvm/lib/CodeGen/Spiller.h b/gnu/llvm/lib/CodeGen/Spiller.h index 61ee508c839..330ee81342b 100644 --- a/gnu/llvm/lib/CodeGen/Spiller.h +++ b/gnu/llvm/lib/CodeGen/Spiller.h @@ -1,4 +1,4 @@ -//===-- llvm/CodeGen/Spiller.h - Spiller -*- C++ -*------------------------===// +//===- llvm/CodeGen/Spiller.h - Spiller -------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -12,11 +12,10 @@ namespace llvm { - class LiveRangeEdit; - class MachineFunction; - class MachineFunctionPass; - class VirtRegMap; - class LiveIntervals; +class LiveRangeEdit; +class MachineFunction; +class MachineFunctionPass; +class VirtRegMap; /// Spiller interface. /// @@ -24,12 +23,14 @@ namespace llvm { /// 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(){}; + + virtual void postOptimization() {} }; /// Create and return a spiller that will insert spill code directly instead @@ -37,6 +38,7 @@ namespace llvm { Spiller *createInlineSpiller(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm); -} -#endif +} // end namespace llvm + +#endif // LLVM_LIB_CODEGEN_SPILLER_H |
