| OLD | NEW |
| 1 //===- subzero/src/IceConverter.cpp - Converts LLVM to Ice ---------------===// | 1 //===- subzero/src/IceConverter.cpp - Converts LLVM to Ice ---------------===// |
| 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 implements the LLVM to ICE converter. | 10 // This file implements the LLVM to ICE converter. |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 TimerID = Ctx->getTimerID(StackID, I.getName()); | 884 TimerID = Ctx->getTimerID(StackID, I.getName()); |
| 885 Ctx->pushTimer(TimerID, StackID); | 885 Ctx->pushTimer(TimerID, StackID); |
| 886 } | 886 } |
| 887 LLVM2ICEFunctionConverter FunctionConverter(*this); | 887 LLVM2ICEFunctionConverter FunctionConverter(*this); |
| 888 | 888 |
| 889 Cfg *Fcn = FunctionConverter.convertFunction(&I); | 889 Cfg *Fcn = FunctionConverter.convertFunction(&I); |
| 890 translateFcn(Fcn); | 890 translateFcn(Fcn); |
| 891 if (ALLOW_DUMP && Ctx->getFlags().TimeEachFunction) | 891 if (ALLOW_DUMP && Ctx->getFlags().TimeEachFunction) |
| 892 Ctx->popTimer(TimerID, StackID); | 892 Ctx->popTimer(TimerID, StackID); |
| 893 } | 893 } |
| 894 | |
| 895 emitConstants(); | |
| 896 } | 894 } |
| 897 | 895 |
| 898 } // end of namespace Ice | 896 } // end of namespace Ice |
| OLD | NEW |