| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 lowering ----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 void lowerLoad(const InstLoad *Inst) override; | 131 void lowerLoad(const InstLoad *Inst) override; |
| 132 void lowerPhi(const InstPhi *Inst) override; | 132 void lowerPhi(const InstPhi *Inst) override; |
| 133 void lowerRet(const InstRet *Inst) override; | 133 void lowerRet(const InstRet *Inst) override; |
| 134 void lowerSelect(const InstSelect *Inst) override; | 134 void lowerSelect(const InstSelect *Inst) override; |
| 135 void lowerStore(const InstStore *Inst) override; | 135 void lowerStore(const InstStore *Inst) override; |
| 136 void lowerSwitch(const InstSwitch *Inst) override; | 136 void lowerSwitch(const InstSwitch *Inst) override; |
| 137 void lowerUnreachable(const InstUnreachable *Inst) override; | 137 void lowerUnreachable(const InstUnreachable *Inst) override; |
| 138 void prelowerPhis() override; | 138 void prelowerPhis() override; |
| 139 void doAddressOptLoad() override; | 139 void doAddressOptLoad() override; |
| 140 void doAddressOptStore() override; | 140 void doAddressOptStore() override; |
| 141 void randomlyInsertNop(float Probability) override; | 141 void randomlyInsertNop(float Probability, |
| 142 RandomNumberGenerator &RNG) override; |
| 142 | 143 |
| 143 enum OperandLegalization { | 144 enum OperandLegalization { |
| 144 Legal_None = 0, | 145 Legal_None = 0, |
| 145 Legal_Reg = 1 << 0, /// physical register, not stack location | 146 Legal_Reg = 1 << 0, /// physical register, not stack location |
| 146 Legal_Flex = 1 << 1, /// A flexible operand2, which can hold rotated | 147 Legal_Flex = 1 << 1, /// A flexible operand2, which can hold rotated |
| 147 /// small immediates, or shifted registers. | 148 /// small immediates, or shifted registers. |
| 148 Legal_Mem = 1 << 2, /// includes [r0, r1 lsl #2] as well as [sp, #12] | 149 Legal_Mem = 1 << 2, /// includes [r0, r1 lsl #2] as well as [sp, #12] |
| 149 Legal_All = ~Legal_None | 150 Legal_All = ~Legal_None |
| 150 }; | 151 }; |
| 151 typedef uint32_t LegalMask; | 152 typedef uint32_t LegalMask; |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 | 513 |
| 513 private: | 514 private: |
| 514 ~TargetHeaderARM32() = default; | 515 ~TargetHeaderARM32() = default; |
| 515 | 516 |
| 516 TargetARM32Features CPUFeatures; | 517 TargetARM32Features CPUFeatures; |
| 517 }; | 518 }; |
| 518 | 519 |
| 519 } // end of namespace Ice | 520 } // end of namespace Ice |
| 520 | 521 |
| 521 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H | 522 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H |
| OLD | NEW |