| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 TimerMarker T1(Ice::TimerStack::TT_emitAsm, &Ctx); | 132 TimerMarker T1(Ice::TimerStack::TT_emitAsm, &Ctx); |
| 133 Ctx.getObjectWriter()->setUndefinedSyms(Ctx.getConstantExternSyms()); | 133 Ctx.getObjectWriter()->setUndefinedSyms(Ctx.getConstantExternSyms()); |
| 134 Ctx.getObjectWriter()->writeNonUserSections(); | 134 Ctx.getObjectWriter()->writeNonUserSections(); |
| 135 } | 135 } |
| 136 } | 136 } |
| 137 | 137 |
| 138 if (Ctx.getFlags().getSubzeroTimingEnabled()) | 138 if (Ctx.getFlags().getSubzeroTimingEnabled()) |
| 139 Ctx.dumpTimers(); | 139 Ctx.dumpTimers(); |
| 140 | 140 |
| 141 if (Ctx.getFlags().getTimeEachFunction()) { | 141 if (Ctx.getFlags().getTimeEachFunction()) { |
| 142 constexpr bool DumpCumulative = false; | 142 constexpr bool NoDumpCumulative = false; |
| 143 Ctx.dumpTimers(GlobalContext::TSK_Funcs, DumpCumulative); | 143 Ctx.dumpTimers(GlobalContext::TSK_Funcs, NoDumpCumulative); |
| 144 } | 144 } |
| 145 constexpr bool FinalStats = true; | 145 constexpr bool FinalStats = true; |
| 146 Ctx.dumpStats("_FINAL_", FinalStats); | 146 Ctx.dumpStats("_FINAL_", FinalStats); |
| 147 } | 147 } |
| 148 | 148 |
| 149 } // end of namespace Ice | 149 } // end of namespace Ice |
| OLD | NEW |