| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 void lowerLoad(const InstLoad *Inst) override; | 137 void lowerLoad(const InstLoad *Inst) override; |
| 138 void lowerPhi(const InstPhi *Inst) override; | 138 void lowerPhi(const InstPhi *Inst) override; |
| 139 void lowerRet(const InstRet *Inst) override; | 139 void lowerRet(const InstRet *Inst) override; |
| 140 void lowerSelect(const InstSelect *Inst) override; | 140 void lowerSelect(const InstSelect *Inst) override; |
| 141 void lowerStore(const InstStore *Inst) override; | 141 void lowerStore(const InstStore *Inst) override; |
| 142 void lowerSwitch(const InstSwitch *Inst) override; | 142 void lowerSwitch(const InstSwitch *Inst) override; |
| 143 void lowerUnreachable(const InstUnreachable *Inst) override; | 143 void lowerUnreachable(const InstUnreachable *Inst) override; |
| 144 void lowerOther(const Inst *Instr) override; | 144 void lowerOther(const Inst *Instr) override; |
| 145 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); | 145 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); |
| 146 void prelowerPhis() override; | 146 void prelowerPhis() override; |
| 147 void lowerPhiAssignments(CfgNode *Node, | |
| 148 const AssignList &Assignments) override; | |
| 149 void doAddressOptLoad() override; | 147 void doAddressOptLoad() override; |
| 150 void doAddressOptStore() override; | 148 void doAddressOptStore() override; |
| 151 void randomlyInsertNop(float Probability) override; | 149 void randomlyInsertNop(float Probability) override; |
| 152 | 150 |
| 153 /// Naive lowering of cmpxchg. | 151 /// Naive lowering of cmpxchg. |
| 154 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, | 152 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, |
| 155 Operand *Desired); | 153 Operand *Desired); |
| 156 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. | 154 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. |
| 157 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr, | 155 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr, |
| 158 Operand *Expected, Operand *Desired); | 156 Operand *Expected, Operand *Desired); |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 } | 603 } |
| 606 | 604 |
| 607 BoolFolding FoldingInfo; | 605 BoolFolding FoldingInfo; |
| 608 }; | 606 }; |
| 609 } // end of namespace X86Internal | 607 } // end of namespace X86Internal |
| 610 } // end of namespace Ice | 608 } // end of namespace Ice |
| 611 | 609 |
| 612 #include "IceTargetLoweringX86BaseImpl.h" | 610 #include "IceTargetLoweringX86BaseImpl.h" |
| 613 | 611 |
| 614 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 612 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
| OLD | NEW |