Chromium Code Reviews| 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 // This file defines a driver for translating PNaCl bitcode into native code. | 10 /// \file |
| 11 // It can either directly parse the binary bitcode file, or use LLVM routines to | 11 /// This file defines a driver for translating PNaCl bitcode into native code. |
| 12 // parse a textual bitcode file into LLVM IR and then convert LLVM IR into ICE. | 12 /// It can either directly parse the binary bitcode file, or use LLVM routines t o |
|
jvoung (off chromium)
2015/07/06 20:07:43
reflow? (80 col)
ascull
2015/07/06 21:24:54
Done.
| |
| 13 // In either case, the high-level ICE is then compiled down to native code, as | 13 /// parse a textual bitcode file into LLVM IR and then convert LLVM IR into ICE. |
| 14 // either an ELF object file or a textual asm file. | 14 /// In either case, the high-level ICE is then compiled down to native code, as |
| 15 // | 15 /// either an ELF object file or a textual asm file. |
| 16 /// | |
| 16 //===----------------------------------------------------------------------===// | 17 //===----------------------------------------------------------------------===// |
| 17 | 18 |
| 18 #include "IceCompiler.h" | 19 #include "IceCompiler.h" |
| 19 | 20 |
| 20 #include "IceCfg.h" | 21 #include "IceCfg.h" |
| 21 #include "IceClFlags.h" | 22 #include "IceClFlags.h" |
| 22 #include "IceClFlagsExtra.h" | 23 #include "IceClFlagsExtra.h" |
| 23 #include "IceConverter.h" | 24 #include "IceConverter.h" |
| 24 #include "IceELFObjectWriter.h" | 25 #include "IceELFObjectWriter.h" |
| 25 #include "PNaClTranslator.h" | 26 #include "PNaClTranslator.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 | 167 |
| 167 if (Ctx.getFlags().getTimeEachFunction()) { | 168 if (Ctx.getFlags().getTimeEachFunction()) { |
| 168 const bool DumpCumulative = false; | 169 const bool DumpCumulative = false; |
| 169 Ctx.dumpTimers(GlobalContext::TSK_Funcs, DumpCumulative); | 170 Ctx.dumpTimers(GlobalContext::TSK_Funcs, DumpCumulative); |
| 170 } | 171 } |
| 171 constexpr bool FinalStats = true; | 172 constexpr bool FinalStats = true; |
| 172 Ctx.dumpStats("_FINAL_", FinalStats); | 173 Ctx.dumpStats("_FINAL_", FinalStats); |
| 173 } | 174 } |
| 174 | 175 |
| 175 } // end of namespace Ice | 176 } // end of namespace Ice |
| OLD | NEW |