| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 491 class TargetGlobalX8632 : public TargetGlobalLowering { | 491 class TargetGlobalX8632 : public TargetGlobalLowering { | 
| 492   TargetGlobalX8632() = delete; | 492   TargetGlobalX8632() = delete; | 
| 493   TargetGlobalX8632(const TargetGlobalX8632 &) = delete; | 493   TargetGlobalX8632(const TargetGlobalX8632 &) = delete; | 
| 494   TargetGlobalX8632 &operator=(const TargetGlobalX8632 &) = delete; | 494   TargetGlobalX8632 &operator=(const TargetGlobalX8632 &) = delete; | 
| 495 | 495 | 
| 496 public: | 496 public: | 
| 497   static TargetGlobalLowering *create(GlobalContext *Ctx) { | 497   static TargetGlobalLowering *create(GlobalContext *Ctx) { | 
| 498     return new TargetGlobalX8632(Ctx); | 498     return new TargetGlobalX8632(Ctx); | 
| 499   } | 499   } | 
| 500 | 500 | 
| 501   virtual void lowerInit(const VariableDeclaration &Var) const final; | 501   void lowerInit(const VariableDeclaration &Var) const final; | 
| 502   virtual void lowerConstants(GlobalContext *Ctx) const final; | 502   void lowerInitELF(const VariableDeclarationList &Vars) const final; | 
|  | 503   void lowerConstants(GlobalContext *Ctx) const final; | 
| 503 | 504 | 
| 504 protected: | 505 protected: | 
| 505   TargetGlobalX8632(GlobalContext *Ctx); | 506   TargetGlobalX8632(GlobalContext *Ctx); | 
| 506 | 507 | 
| 507 private: | 508 private: | 
| 508   ~TargetGlobalX8632() override {} | 509   ~TargetGlobalX8632() override {} | 
| 509   template <typename T> static void emitConstantPool(GlobalContext *Ctx); | 510   template <typename T> static void emitConstantPool(GlobalContext *Ctx); | 
| 510 }; | 511 }; | 
| 511 | 512 | 
| 512 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; | 513 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; | 
| 513 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; | 514 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; | 
| 514 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; | 515 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; | 
| 515 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; | 516 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; | 
| 516 | 517 | 
| 517 } // end of namespace Ice | 518 } // end of namespace Ice | 
| 518 | 519 | 
| 519 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 520 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 
| OLD | NEW | 
|---|