| OLD | NEW |
| 1 //===- subzero/src/IceCompiler.cpp - Driver for bitcode translation -------===// | 1 //===- subzero/src/IceCompiler.cpp - Driver for bitcode translation -------===// |
| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 TimerMarker T1(Ice::TimerStack::TT_emit, &Ctx); | 174 TimerMarker T1(Ice::TimerStack::TT_emit, &Ctx); |
| 175 Ctx.getObjectWriter()->setUndefinedSyms(Ctx.getConstantExternSyms()); | 175 Ctx.getObjectWriter()->setUndefinedSyms(Ctx.getConstantExternSyms()); |
| 176 Ctx.getObjectWriter()->writeNonUserSections(); | 176 Ctx.getObjectWriter()->writeNonUserSections(); |
| 177 } | 177 } |
| 178 } | 178 } |
| 179 | 179 |
| 180 if (Ctx.getFlags().getSubzeroTimingEnabled()) | 180 if (Ctx.getFlags().getSubzeroTimingEnabled()) |
| 181 Ctx.dumpTimers(); | 181 Ctx.dumpTimers(); |
| 182 | 182 |
| 183 if (Ctx.getFlags().getTimeEachFunction()) { | 183 if (Ctx.getFlags().getTimeEachFunction()) { |
| 184 const bool DumpCumulative = false; | 184 constexpr bool DumpCumulative = false; |
| 185 Ctx.dumpTimers(GlobalContext::TSK_Funcs, DumpCumulative); | 185 Ctx.dumpTimers(GlobalContext::TSK_Funcs, DumpCumulative); |
| 186 } | 186 } |
| 187 constexpr bool FinalStats = true; | 187 constexpr bool FinalStats = true; |
| 188 Ctx.dumpStats("_FINAL_", FinalStats); | 188 Ctx.dumpStats("_FINAL_", FinalStats); |
| 189 } | 189 } |
| 190 | 190 |
| 191 } // end of namespace Ice | 191 } // end of namespace Ice |
| OLD | NEW |