| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 typename std::enable_if<!std::is_void<Ret>::value, Ret>::type | 708 typename std::enable_if<!std::is_void<Ret>::value, Ret>::type |
| 709 dispatchToConcrete(Ret (Machine::*Method)(Args...), Args &&... args) { | 709 dispatchToConcrete(Ret (Machine::*Method)(Args...), Args &&... args) { |
| 710 return (static_cast<Machine *>(this)->*Method)(std::forward<Args>(args)...); | 710 return (static_cast<Machine *>(this)->*Method)(std::forward<Args>(args)...); |
| 711 } | 711 } |
| 712 | 712 |
| 713 template <typename... Args> | 713 template <typename... Args> |
| 714 void dispatchToConcrete(void (Machine::*Method)(Args...), Args &&... args) { | 714 void dispatchToConcrete(void (Machine::*Method)(Args...), Args &&... args) { |
| 715 (static_cast<Machine *>(this)->*Method)(std::forward<Args>(args)...); | 715 (static_cast<Machine *>(this)->*Method)(std::forward<Args>(args)...); |
| 716 } | 716 } |
| 717 | 717 |
| 718 void lowerShift64(InstArithmetic::OpKind Op, Operand *Src0Lo, Operand *Src0Hi, |
| 719 Operand *Src1Lo, Variable *DestLo, Variable *DestHi); |
| 720 |
| 718 BoolFolding FoldingInfo; | 721 BoolFolding FoldingInfo; |
| 719 }; | 722 }; |
| 720 } // end of namespace X86Internal | 723 } // end of namespace X86Internal |
| 721 } // end of namespace Ice | 724 } // end of namespace Ice |
| 722 | 725 |
| 723 #include "IceTargetLoweringX86BaseImpl.h" | 726 #include "IceTargetLoweringX86BaseImpl.h" |
| 724 | 727 |
| 725 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 728 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
| OLD | NEW |