OLD | NEW |
---|---|
1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// | 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 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 // This file declares the TargetLoweringX8632 class, which | 10 // This file declares the TargetLoweringX8632 class, which |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
479 TargetX8632 &operator=(const TargetX8632 &) LLVM_DELETED_FUNCTION; | 479 TargetX8632 &operator=(const TargetX8632 &) LLVM_DELETED_FUNCTION; |
480 ~TargetX8632() override {} | 480 ~TargetX8632() override {} |
481 template <typename T> void emitConstantPool() const; | 481 template <typename T> void emitConstantPool() const; |
482 }; | 482 }; |
483 | 483 |
484 class TargetGlobalInitX8632 : public TargetGlobalInitLowering { | 484 class TargetGlobalInitX8632 : public TargetGlobalInitLowering { |
485 public: | 485 public: |
486 static TargetGlobalInitLowering *create(GlobalContext *Ctx) { | 486 static TargetGlobalInitLowering *create(GlobalContext *Ctx) { |
487 return new TargetGlobalInitX8632(Ctx); | 487 return new TargetGlobalInitX8632(Ctx); |
488 } | 488 } |
489 void lower(const IceString &Name, SizeT Align, bool IsInternal, bool IsConst, | 489 |
490 bool IsZeroInitializer, SizeT Size, const char *Data, | 490 virtual void lower(const GlobalAddress &Addr, bool DisableTranslation); |
491 bool DisableTranslation) override; | |
jvoung (off chromium)
2014/10/03 16:15:30
keep the override?
Karl
2014/10/04 16:28:34
Done.
| |
492 | 491 |
493 protected: | 492 protected: |
494 TargetGlobalInitX8632(GlobalContext *Ctx); | 493 TargetGlobalInitX8632(GlobalContext *Ctx); |
495 | 494 |
496 private: | 495 private: |
497 TargetGlobalInitX8632(const TargetGlobalInitX8632 &) LLVM_DELETED_FUNCTION; | 496 TargetGlobalInitX8632(const TargetGlobalInitX8632 &) LLVM_DELETED_FUNCTION; |
498 TargetGlobalInitX8632 & | 497 TargetGlobalInitX8632 & |
499 operator=(const TargetGlobalInitX8632 &) LLVM_DELETED_FUNCTION; | 498 operator=(const TargetGlobalInitX8632 &) LLVM_DELETED_FUNCTION; |
500 ~TargetGlobalInitX8632() override {} | 499 ~TargetGlobalInitX8632() override {} |
501 }; | 500 }; |
502 | 501 |
503 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; | 502 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; |
504 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; | 503 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; |
505 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; | 504 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; |
506 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; | 505 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; |
507 | 506 |
508 } // end of namespace Ice | 507 } // end of namespace Ice |
509 | 508 |
510 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 509 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H |
OLD | NEW |