| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX86BaseImpl.h - x86 lowering -*- C++ -*-==// | 1 //===- subzero/src/IceTargetLoweringX86BaseImpl.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 // This file implements the TargetLoweringX86Base class, which | 10 // This file implements the TargetLoweringX86Base class, which |
| 11 // consists almost entirely of the lowering sequence for each | 11 // consists almost entirely of the lowering sequence for each |
| 12 // high-level instruction. | 12 // high-level instruction. |
| 13 // | 13 // |
| 14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 15 | 15 |
| 16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H | 16 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H |
| 17 #define SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H | 17 #define SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H |
| 18 | 18 |
| 19 #include "llvm/Support/MathExtras.h" | |
| 20 | |
| 21 #include "IceCfg.h" | 19 #include "IceCfg.h" |
| 22 #include "IceCfgNode.h" | 20 #include "IceCfgNode.h" |
| 23 #include "IceClFlags.h" | 21 #include "IceClFlags.h" |
| 24 #include "IceDefs.h" | 22 #include "IceDefs.h" |
| 25 #include "IceELFObjectWriter.h" | 23 #include "IceELFObjectWriter.h" |
| 26 #include "IceGlobalInits.h" | 24 #include "IceGlobalInits.h" |
| 27 #include "IceInstX8632.h" | 25 #include "IceInstX8632.h" |
| 28 #include "IceLiveness.h" | 26 #include "IceLiveness.h" |
| 29 #include "IceOperand.h" | 27 #include "IceOperand.h" |
| 30 #include "IceRegistersX8632.h" | 28 #include "IceRegistersX8632.h" |
| 31 #include "IceTargetLoweringX8632.def" | 29 #include "IceTargetLoweringX8632.def" |
| 32 #include "IceTargetLoweringX8632.h" | 30 #include "IceTargetLoweringX8632.h" |
| 33 #include "IceUtils.h" | 31 #include "IceUtils.h" |
| 32 #include "llvm/Support/MathExtras.h" |
| 34 | 33 |
| 35 namespace Ice { | 34 namespace Ice { |
| 36 namespace X86Internal { | 35 namespace X86Internal { |
| 37 | 36 |
| 38 // A helper class to ease the settings of RandomizationPoolingPause | 37 // A helper class to ease the settings of RandomizationPoolingPause |
| 39 // to disable constant blinding or pooling for some translation phases. | 38 // to disable constant blinding or pooling for some translation phases. |
| 40 class BoolFlagSaver { | 39 class BoolFlagSaver { |
| 41 BoolFlagSaver() = delete; | 40 BoolFlagSaver() = delete; |
| 42 BoolFlagSaver(const BoolFlagSaver &) = delete; | 41 BoolFlagSaver(const BoolFlagSaver &) = delete; |
| 43 BoolFlagSaver &operator=(const BoolFlagSaver &) = delete; | 42 BoolFlagSaver &operator=(const BoolFlagSaver &) = delete; |
| (...skipping 5450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5494 } | 5493 } |
| 5495 // the offset is not eligible for blinding or pooling, return the original | 5494 // the offset is not eligible for blinding or pooling, return the original |
| 5496 // mem operand | 5495 // mem operand |
| 5497 return MemOperand; | 5496 return MemOperand; |
| 5498 } | 5497 } |
| 5499 | 5498 |
| 5500 } // end of namespace X86Internal | 5499 } // end of namespace X86Internal |
| 5501 } // end of namespace Ice | 5500 } // end of namespace Ice |
| 5502 | 5501 |
| 5503 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H | 5502 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H |
| OLD | NEW |