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; | |
Jim Stichnoth
2015/01/27 16:44:55
After you rebase, you'll find a new method here -
jvoung (off chromium)
2015/01/28 17:46:22
lower() has also become lowerInit() and the class
Jim Stichnoth
2015/01/28 20:35:08
Yeah... If you feel inspired, go ahead and make th
jvoung (off chromium)
2015/01/28 23:37:52
I guess I kind of like lowerGlobal() since it's ca
Jim Stichnoth
2015/01/29 00:38:14
OK. I also should have explicitly mentioned that
jvoung (off chromium)
2015/01/29 19:33:03
I was actually thinking TargetDataLowering also. I
| |
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 |