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

Side by Side Diff: src/IceIntrinsics.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, 5 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/IceIntrinsics.cpp - Functions related to intrinsics ----===// 1 //===- subzero/src/IceIntrinsics.cpp - Functions related to intrinsics ----===//
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 Intrinsics utilities for matching and 10 // This file implements the Intrinsics utilities for matching and
11 // then dispatching by name. 11 // then dispatching by name.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #include "IceIntrinsics.h"
16
15 #include "IceCfg.h" 17 #include "IceCfg.h"
16 #include "IceCfgNode.h" 18 #include "IceCfgNode.h"
17 #include "IceInst.h" 19 #include "IceInst.h"
18 #include "IceIntrinsics.h"
19 #include "IceLiveness.h" 20 #include "IceLiveness.h"
20 #include "IceOperand.h" 21 #include "IceOperand.h"
21 22
22 #include <utility> 23 #include <utility>
23 24
24 namespace Ice { 25 namespace Ice {
25 26
26 static_assert(sizeof(Intrinsics::IntrinsicInfo) == 4, 27 static_assert(sizeof(Intrinsics::IntrinsicInfo) == 4,
27 "Unexpected sizeof(IntrinsicInfo)"); 28 "Unexpected sizeof(IntrinsicInfo)");
28 29
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 return Intrinsics::IsValidCall; 336 return Intrinsics::IsValidCall;
336 } 337 }
337 338
338 Type Intrinsics::FullIntrinsicInfo::getArgType(SizeT Index) const { 339 Type Intrinsics::FullIntrinsicInfo::getArgType(SizeT Index) const {
339 assert(NumTypes > 1); 340 assert(NumTypes > 1);
340 assert(Index + 1 < NumTypes); 341 assert(Index + 1 < NumTypes);
341 return Signature[Index + 1]; 342 return Signature[Index + 1];
342 } 343 }
343 344
344 } // end of namespace Ice 345 } // end of namespace Ice
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698