| OLD | NEW |
| 1 //===- subzero/src/IceGlobalContext.cpp - Global context defs -------------===// | 1 //===- subzero/src/IceGlobalContext.cpp - Global context defs -------------===// |
| 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 defines aspects of the compilation that persist across | 10 /// \file |
| 11 // multiple functions. | 11 /// This file defines aspects of the compilation that persist across |
| 12 // | 12 /// multiple functions. |
| 13 /// |
| 13 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 14 | 15 |
| 15 #include "IceGlobalContext.h" | 16 #include "IceGlobalContext.h" |
| 16 | 17 |
| 17 #include "IceCfg.h" | 18 #include "IceCfg.h" |
| 18 #include "IceCfgNode.h" | 19 #include "IceCfgNode.h" |
| 19 #include "IceClFlags.h" | 20 #include "IceClFlags.h" |
| 20 #include "IceDefs.h" | 21 #include "IceDefs.h" |
| 21 #include "IceELFObjectWriter.h" | 22 #include "IceELFObjectWriter.h" |
| 22 #include "IceGlobalInits.h" | 23 #include "IceGlobalInits.h" |
| (...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 Ctx = Func->getContext(); | 983 Ctx = Func->getContext(); |
| 983 Active = | 984 Active = |
| 984 Func->getFocusedTiming() || Ctx->getFlags().getSubzeroTimingEnabled(); | 985 Func->getFocusedTiming() || Ctx->getFlags().getSubzeroTimingEnabled(); |
| 985 if (Active) | 986 if (Active) |
| 986 Ctx->pushTimer(ID, StackID); | 987 Ctx->pushTimer(ID, StackID); |
| 987 } | 988 } |
| 988 | 989 |
| 989 ICE_TLS_DEFINE_FIELD(GlobalContext::ThreadContext *, GlobalContext, TLS); | 990 ICE_TLS_DEFINE_FIELD(GlobalContext::ThreadContext *, GlobalContext, TLS); |
| 990 | 991 |
| 991 } // end of namespace Ice | 992 } // end of namespace Ice |
| OLD | NEW |