Chromium Code Reviews| 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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 492 | 492 |
| 493 class TargetGlobalInitX8632 : public TargetGlobalInitLowering { | 493 class TargetGlobalInitX8632 : public TargetGlobalInitLowering { |
| 494 TargetGlobalInitX8632(const TargetGlobalInitX8632 &) = delete; | 494 TargetGlobalInitX8632(const TargetGlobalInitX8632 &) = delete; |
| 495 TargetGlobalInitX8632 &operator=(const TargetGlobalInitX8632 &) = delete; | 495 TargetGlobalInitX8632 &operator=(const TargetGlobalInitX8632 &) = delete; |
| 496 | 496 |
| 497 public: | 497 public: |
| 498 static TargetGlobalInitLowering *create(GlobalContext *Ctx) { | 498 static TargetGlobalInitLowering *create(GlobalContext *Ctx) { |
| 499 return new TargetGlobalInitX8632(Ctx); | 499 return new TargetGlobalInitX8632(Ctx); |
| 500 } | 500 } |
| 501 | 501 |
| 502 virtual void lower(const VariableDeclaration &Var) final; | 502 void lower(const VariableDeclaration &Var) final; |
|
Jim Stichnoth
2015/01/27 16:44:55
Thanks! :)
jvoung (off chromium)
2015/01/28 17:46:22
Acknowledged.
| |
| 503 | |
| 504 void lowerGlobalsELF(const VariableDeclarationList &Vars) final; | |
| 503 | 505 |
| 504 protected: | 506 protected: |
| 505 TargetGlobalInitX8632(GlobalContext *Ctx); | 507 TargetGlobalInitX8632(GlobalContext *Ctx); |
| 506 | 508 |
| 507 private: | 509 private: |
| 508 ~TargetGlobalInitX8632() override {} | 510 ~TargetGlobalInitX8632() override {} |
| 509 }; | 511 }; |
| 510 | 512 |
| 511 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; | 513 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; |
| 512 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; | 514 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; |
| 513 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; | 515 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; |
| 514 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; | 516 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; |
| 515 | 517 |
| 516 } // end of namespace Ice | 518 } // end of namespace Ice |
| 517 | 519 |
| 518 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 520 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H |
| OLD | NEW |