| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 void lowerPhi(const InstPhi *Inst) override; | 173 void lowerPhi(const InstPhi *Inst) override; |
| 174 void lowerSelect(const InstSelect *Inst) override; | 174 void lowerSelect(const InstSelect *Inst) override; |
| 175 void lowerStore(const InstStore *Inst) override; | 175 void lowerStore(const InstStore *Inst) override; |
| 176 void lowerSwitch(const InstSwitch *Inst) override; | 176 void lowerSwitch(const InstSwitch *Inst) override; |
| 177 void lowerUnreachable(const InstUnreachable *Inst) override; | 177 void lowerUnreachable(const InstUnreachable *Inst) override; |
| 178 void lowerOther(const Inst *Instr) override; | 178 void lowerOther(const Inst *Instr) override; |
| 179 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); | 179 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); |
| 180 void prelowerPhis() override; | 180 void prelowerPhis() override; |
| 181 void doAddressOptLoad() override; | 181 void doAddressOptLoad() override; |
| 182 void doAddressOptStore() override; | 182 void doAddressOptStore() override; |
| 183 void randomlyInsertNop(float Probability) override; | 183 void randomlyInsertNop(float Probability, |
| 184 RandomNumberGenerator &RNG) override; |
| 184 | 185 |
| 185 /// Naive lowering of cmpxchg. | 186 /// Naive lowering of cmpxchg. |
| 186 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, | 187 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, |
| 187 Operand *Desired); | 188 Operand *Desired); |
| 188 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. | 189 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. |
| 189 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr, | 190 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr, |
| 190 Operand *Expected, Operand *Desired); | 191 Operand *Expected, Operand *Desired); |
| 191 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr, | 192 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr, |
| 192 Operand *Val); | 193 Operand *Val); |
| 193 void lowerCountZeros(bool Cttz, Type Ty, Variable *Dest, Operand *FirstVal, | 194 void lowerCountZeros(bool Cttz, Type Ty, Variable *Dest, Operand *FirstVal, |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 } | 695 } |
| 695 | 696 |
| 696 BoolFolding FoldingInfo; | 697 BoolFolding FoldingInfo; |
| 697 }; | 698 }; |
| 698 } // end of namespace X86Internal | 699 } // end of namespace X86Internal |
| 699 } // end of namespace Ice | 700 } // end of namespace Ice |
| 700 | 701 |
| 701 #include "IceTargetLoweringX86BaseImpl.h" | 702 #include "IceTargetLoweringX86BaseImpl.h" |
| 702 | 703 |
| 703 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 704 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
| OLD | NEW |