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

Side by Side Diff: src/IceInstARM32.cpp

Issue 1202253002: Includes module header first. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes All Subzero includes to match LLVM style guide. 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/IceInstARM32.cpp - ARM32 instruction implementation ----===// 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===//
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 InstARM32 and OperandARM32 classes, 10 // This file implements the InstARM32 and OperandARM32 classes,
11 // primarily the constructors and the dump()/emit() methods. 11 // primarily the constructors and the dump()/emit() methods.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #include "IceInstARM32.h"
16
15 #include "IceAssemblerARM32.h" 17 #include "IceAssemblerARM32.h"
16 #include "IceCfg.h" 18 #include "IceCfg.h"
17 #include "IceCfgNode.h" 19 #include "IceCfgNode.h"
18 #include "IceInst.h" 20 #include "IceInst.h"
19 #include "IceInstARM32.h"
20 #include "IceOperand.h" 21 #include "IceOperand.h"
21 #include "IceRegistersARM32.h" 22 #include "IceRegistersARM32.h"
22 #include "IceTargetLoweringARM32.h" 23 #include "IceTargetLoweringARM32.h"
23 24
24 namespace Ice { 25 namespace Ice {
25 26
26 namespace { 27 namespace {
27 28
28 const struct TypeARM32Attributes_ { 29 const struct TypeARM32Attributes_ {
29 const char *WidthString; // b, h, <blank>, or d 30 const char *WidthString; // b, h, <blank>, or d
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 if (getShiftOp() != kNoShift) { 900 if (getShiftOp() != kNoShift) {
900 Str << ", " << InstARM32ShiftAttributes[getShiftOp()].EmitString << " "; 901 Str << ", " << InstARM32ShiftAttributes[getShiftOp()].EmitString << " ";
901 if (Func) 902 if (Func)
902 getShiftAmt()->dump(Func); 903 getShiftAmt()->dump(Func);
903 else 904 else
904 getShiftAmt()->dump(Str); 905 getShiftAmt()->dump(Str);
905 } 906 }
906 } 907 }
907 908
908 } // end of namespace Ice 909 } // end of namespace Ice
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698