OLD | NEW |
1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- 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 TargetLowering and LoweringContext | 10 // This file declares the TargetLowering and LoweringContext |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 TargetGlobalInitLowering &operator=(const TargetGlobalInitLowering &) = | 250 TargetGlobalInitLowering &operator=(const TargetGlobalInitLowering &) = |
251 delete; | 251 delete; |
252 | 252 |
253 public: | 253 public: |
254 static TargetGlobalInitLowering *createLowering(TargetArch Target, | 254 static TargetGlobalInitLowering *createLowering(TargetArch Target, |
255 GlobalContext *Ctx); | 255 GlobalContext *Ctx); |
256 virtual ~TargetGlobalInitLowering(); | 256 virtual ~TargetGlobalInitLowering(); |
257 | 257 |
258 virtual void lower(const VariableDeclaration &Var) = 0; | 258 virtual void lower(const VariableDeclaration &Var) = 0; |
259 | 259 |
| 260 virtual void lowerGlobalsELF(const VariableDeclarationList &Vars) = 0; |
| 261 |
260 protected: | 262 protected: |
261 TargetGlobalInitLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 263 TargetGlobalInitLowering(GlobalContext *Ctx) : Ctx(Ctx) {} |
262 GlobalContext *Ctx; | 264 GlobalContext *Ctx; |
263 }; | 265 }; |
264 | 266 |
265 } // end of namespace Ice | 267 } // end of namespace Ice |
266 | 268 |
267 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 269 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
OLD | NEW |