| 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 // This file declares the Cfg class, which represents the control flow | 10 // This file declares the Cfg class, which represents the control flow |
| 11 // graph and the overall per-function compilation context. | 11 // graph and the overall per-function compilation context. |
| 12 // | 12 // |
| 13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 14 | 14 |
| 15 #ifndef SUBZERO_SRC_ICECFG_H | 15 #ifndef SUBZERO_SRC_ICECFG_H |
| 16 #define SUBZERO_SRC_ICECFG_H | 16 #define SUBZERO_SRC_ICECFG_H |
| 17 | 17 |
| 18 #include "assembler.h" | 18 #include "IceAssembler.h" |
| 19 #include "IceClFlags.h" | 19 #include "IceClFlags.h" |
| 20 #include "IceDefs.h" | 20 #include "IceDefs.h" |
| 21 #include "IceGlobalContext.h" | 21 #include "IceGlobalContext.h" |
| 22 #include "IceTypes.h" | 22 #include "IceTypes.h" |
| 23 | 23 |
| 24 namespace Ice { | 24 namespace Ice { |
| 25 | 25 |
| 26 class Cfg { | 26 class Cfg { |
| 27 Cfg() = delete; | 27 Cfg() = delete; |
| 28 Cfg(const Cfg &) = delete; | 28 Cfg(const Cfg &) = delete; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 // other uses are possible. | 240 // other uses are possible. |
| 241 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); | 241 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); |
| 242 | 242 |
| 243 public: | 243 public: |
| 244 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } | 244 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } |
| 245 }; | 245 }; |
| 246 | 246 |
| 247 } // end of namespace Ice | 247 } // end of namespace Ice |
| 248 | 248 |
| 249 #endif // SUBZERO_SRC_ICECFG_H | 249 #endif // SUBZERO_SRC_ICECFG_H |
| OLD | NEW |