Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Side by Side Diff: src/IceConverter.cpp

Issue 1202253002: Includes module header first. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #include <iostream> 14 #include "IceConverter.h"
Jim Stichnoth 2015/06/23 23:05:04 cool, thanks!
15 15
16 #include "llvm/IR/Constant.h" 16 #include "llvm/IR/Constant.h"
17 #include "llvm/IR/Constants.h" 17 #include "llvm/IR/Constants.h"
18 #include "llvm/IR/DataLayout.h" 18 #include "llvm/IR/DataLayout.h"
19 #include "llvm/IR/Instruction.h" 19 #include "llvm/IR/Instruction.h"
20 #include "llvm/IR/Instructions.h" 20 #include "llvm/IR/Instructions.h"
21 #include "llvm/IR/LLVMContext.h" 21 #include "llvm/IR/LLVMContext.h"
22 #include "llvm/IR/Module.h" 22 #include "llvm/IR/Module.h"
23 23
24 #include "IceCfg.h" 24 #include "IceCfg.h"
25 #include "IceCfgNode.h" 25 #include "IceCfgNode.h"
26 #include "IceClFlags.h" 26 #include "IceClFlags.h"
27 #include "IceConverter.h"
28 #include "IceDefs.h" 27 #include "IceDefs.h"
29 #include "IceGlobalContext.h" 28 #include "IceGlobalContext.h"
30 #include "IceGlobalInits.h" 29 #include "IceGlobalInits.h"
31 #include "IceInst.h" 30 #include "IceInst.h"
32 #include "IceOperand.h" 31 #include "IceOperand.h"
33 #include "IceTargetLowering.h" 32 #include "IceTargetLowering.h"
34 #include "IceTypes.h" 33 #include "IceTypes.h"
35 #include "IceTypeConverter.h" 34 #include "IceTypeConverter.h"
36 35
37 // TODO(kschimpf): Remove two namespaces being visible at once. 36 // TODO(kschimpf): Remove two namespaces being visible at once.
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 Ctx->pushTimer(TimerID, StackID); 901 Ctx->pushTimer(TimerID, StackID);
903 } 902 }
904 LLVM2ICEFunctionConverter FunctionConverter(*this); 903 LLVM2ICEFunctionConverter FunctionConverter(*this);
905 FunctionConverter.convertFunction(&I); 904 FunctionConverter.convertFunction(&I);
906 if (TimeThisFunction) 905 if (TimeThisFunction)
907 Ctx->popTimer(TimerID, StackID); 906 Ctx->popTimer(TimerID, StackID);
908 } 907 }
909 } 908 }
910 909
911 } // end of namespace Ice 910 } // end of namespace Ice
OLDNEW
« src/IceClFlags.cpp ('K') | « src/IceCompiler.cpp ('k') | src/IceELFObjectWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698