| 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 /// \file | 10 /// \file |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 template <class MachineTraits> class BoolFolding { | 76 template <class MachineTraits> class BoolFolding { |
| 77 public: | 77 public: |
| 78 enum BoolFoldingProducerKind { | 78 enum BoolFoldingProducerKind { |
| 79 PK_None, | 79 PK_None, |
| 80 // TODO(jpp): PK_Icmp32 is no longer meaningful. Rename to PK_IcmpNative. | 80 // TODO(jpp): PK_Icmp32 is no longer meaningful. Rename to PK_IcmpNative. |
| 81 PK_Icmp32, | 81 PK_Icmp32, |
| 82 PK_Icmp64, | 82 PK_Icmp64, |
| 83 PK_Fcmp, | 83 PK_Fcmp, |
| 84 PK_Trunc, | 84 PK_Trunc, |
| 85 PK_Arith // A flag-setting arithmetic instruction. | 85 PK_Arith // A flag-setting arithmetic instruction. |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 /// Currently the actual enum values are not used (other than CK_None), but we | 88 /// Currently the actual enum values are not used (other than CK_None), but we |
| 89 /// go ahead and produce them anyway for symmetry with the | 89 /// go ahead and produce them anyway for symmetry with the |
| 90 /// BoolFoldingProducerKind. | 90 /// BoolFoldingProducerKind. |
| 91 enum BoolFoldingConsumerKind { CK_None, CK_Br, CK_Select, CK_Sext, CK_Zext }; | 91 enum BoolFoldingConsumerKind { CK_None, CK_Br, CK_Select, CK_Sext, CK_Zext }; |
| 92 | 92 |
| 93 private: | 93 private: |
| 94 BoolFolding(const BoolFolding &) = delete; | 94 BoolFolding(const BoolFolding &) = delete; |
| 95 BoolFolding &operator=(const BoolFolding &) = delete; | 95 BoolFolding &operator=(const BoolFolding &) = delete; |
| (...skipping 5856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5952 } | 5952 } |
| 5953 // the offset is not eligible for blinding or pooling, return the original | 5953 // the offset is not eligible for blinding or pooling, return the original |
| 5954 // mem operand | 5954 // mem operand |
| 5955 return MemOperand; | 5955 return MemOperand; |
| 5956 } | 5956 } |
| 5957 | 5957 |
| 5958 } // end of namespace X86Internal | 5958 } // end of namespace X86Internal |
| 5959 } // end of namespace Ice | 5959 } // end of namespace Ice |
| 5960 | 5960 |
| 5961 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H | 5961 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H |
| OLD | NEW |