OLD | NEW |
1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- C++ -*-===// | 1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- 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 /// \file | 10 /// \file |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 283 |
284 /// Maintain a pointer in TLS to the current Cfg being translated. This is | 284 /// Maintain a pointer in TLS to the current Cfg being translated. This is |
285 /// primarily for accessing its allocator statelessly, but other uses are | 285 /// primarily for accessing its allocator statelessly, but other uses are |
286 /// possible. | 286 /// possible. |
287 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); | 287 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); |
288 | 288 |
289 public: | 289 public: |
290 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } | 290 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } |
291 }; | 291 }; |
292 | 292 |
| 293 template <> Variable *Cfg::makeVariable<Variable>(Type Ty); |
| 294 |
293 } // end of namespace Ice | 295 } // end of namespace Ice |
294 | 296 |
295 #endif // SUBZERO_SRC_ICECFG_H | 297 #endif // SUBZERO_SRC_ICECFG_H |
OLD | NEW |