| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 } | 137 } |
| 138 } | 138 } |
| 139 | 139 |
| 140 if (Ctx.getFlags().getSubzeroTimingEnabled()) | 140 if (Ctx.getFlags().getSubzeroTimingEnabled()) |
| 141 Ctx.dumpTimers(); | 141 Ctx.dumpTimers(); |
| 142 | 142 |
| 143 if (Ctx.getFlags().getTimeEachFunction()) { | 143 if (Ctx.getFlags().getTimeEachFunction()) { |
| 144 constexpr bool NoDumpCumulative = false; | 144 constexpr bool NoDumpCumulative = false; |
| 145 Ctx.dumpTimers(GlobalContext::TSK_Funcs, NoDumpCumulative); | 145 Ctx.dumpTimers(GlobalContext::TSK_Funcs, NoDumpCumulative); |
| 146 } | 146 } |
| 147 constexpr bool FinalStats = true; | 147 Ctx.dumpStats(); |
| 148 Ctx.dumpStats("_FINAL_", FinalStats); | |
| 149 } | 148 } |
| 150 | 149 |
| 151 } // end of namespace Ice | 150 } // end of namespace Ice |
| OLD | NEW |