| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 } | 137 } |
| 138 int32_t getFrameFixedAllocaOffset() const override { | 138 int32_t getFrameFixedAllocaOffset() const override { |
| 139 return FixedAllocaSizeBytes - (SpillAreaSizeBytes - MaxOutArgsSizeBytes); | 139 return FixedAllocaSizeBytes - (SpillAreaSizeBytes - MaxOutArgsSizeBytes); |
| 140 } | 140 } |
| 141 uint32_t maxOutArgsSizeBytes() const override { return MaxOutArgsSizeBytes; } | 141 uint32_t maxOutArgsSizeBytes() const override { return MaxOutArgsSizeBytes; } |
| 142 | 142 |
| 143 bool shouldSplitToVariable64On32(Type Ty) const override { | 143 bool shouldSplitToVariable64On32(Type Ty) const override { |
| 144 return Ty == IceType_i64; | 144 return Ty == IceType_i64; |
| 145 } | 145 } |
| 146 | 146 |
| 147 bool shouldSplitToVariableVecOn32(Type Ty) const override { |
| 148 (void)Ty; |
| 149 return false; |
| 150 } |
| 151 |
| 147 // TODO(ascull): what size is best for ARM? | 152 // TODO(ascull): what size is best for ARM? |
| 148 SizeT getMinJumpTableSize() const override { return 3; } | 153 SizeT getMinJumpTableSize() const override { return 3; } |
| 149 void emitJumpTable(const Cfg *Func, | 154 void emitJumpTable(const Cfg *Func, |
| 150 const InstJumpTable *JumpTable) const override; | 155 const InstJumpTable *JumpTable) const override; |
| 151 | 156 |
| 152 void emitVariable(const Variable *Var) const override; | 157 void emitVariable(const Variable *Var) const override; |
| 153 | 158 |
| 154 void emit(const ConstantUndef *C) const final; | 159 void emit(const ConstantUndef *C) const final; |
| 155 void emit(const ConstantInteger32 *C) const final; | 160 void emit(const ConstantInteger32 *C) const final; |
| 156 void emit(const ConstantInteger64 *C) const final; | 161 void emit(const ConstantInteger64 *C) const final; |
| (...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1367 private: | 1372 private: |
| 1368 ~TargetHeaderARM32() = default; | 1373 ~TargetHeaderARM32() = default; |
| 1369 | 1374 |
| 1370 TargetARM32Features CPUFeatures; | 1375 TargetARM32Features CPUFeatures; |
| 1371 }; | 1376 }; |
| 1372 | 1377 |
| 1373 } // end of namespace ARM32 | 1378 } // end of namespace ARM32 |
| 1374 } // end of namespace Ice | 1379 } // end of namespace Ice |
| 1375 | 1380 |
| 1376 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H | 1381 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H |
| OLD | NEW |