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

Side by Side Diff: src/IceInst.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/IceInst.cpp - High-level instruction implementation ----===// 1 //===- subzero/src/IceInst.cpp - High-level 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 Inst class, primarily the various 10 // This file implements the Inst class, primarily the various
11 // subclass constructors and dump routines. 11 // subclass constructors and dump routines.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #include "IceInst.h"
16
15 #include "IceCfg.h" 17 #include "IceCfg.h"
16 #include "IceCfgNode.h" 18 #include "IceCfgNode.h"
17 #include "IceInst.h"
18 #include "IceLiveness.h" 19 #include "IceLiveness.h"
19 #include "IceOperand.h" 20 #include "IceOperand.h"
20 21
21 namespace Ice { 22 namespace Ice {
22 23
23 namespace { 24 namespace {
24 25
25 // Using non-anonymous struct so that array_lengthof works. 26 // Using non-anonymous struct so that array_lengthof works.
26 const struct InstArithmeticAttributes_ { 27 const struct InstArithmeticAttributes_ {
27 const char *DisplayString; 28 const char *DisplayString;
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 // preserve these. 934 // preserve these.
934 return true; 935 return true;
935 } 936 }
936 if (!Dest->hasReg() && !SrcVar->hasReg() && 937 if (!Dest->hasReg() && !SrcVar->hasReg() &&
937 Dest->getStackOffset() == SrcVar->getStackOffset()) 938 Dest->getStackOffset() == SrcVar->getStackOffset())
938 return true; 939 return true;
939 return false; 940 return false;
940 } 941 }
941 942
942 } // end of namespace Ice 943 } // end of namespace Ice
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698