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

Side by Side Diff: src/IceDefs.h

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/IceDefs.h - Common Subzero declaraions -------*- C++ -*-===// 1 //===- subzero/src/IceDefs.h - Common Subzero declaraions -------*- C++ -*-===//
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 declares various useful types and classes that have 10 // This file declares various useful types and classes that have
11 // widespread use across Subzero. Every Subzero source file is 11 // widespread use across Subzero. Every Subzero source file is
12 // expected to include IceDefs.h. 12 // expected to include IceDefs.h.
13 // 13 //
14 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
15 15
16 #ifndef SUBZERO_SRC_ICEDEFS_H 16 #ifndef SUBZERO_SRC_ICEDEFS_H
17 #define SUBZERO_SRC_ICEDEFS_H 17 #define SUBZERO_SRC_ICEDEFS_H
18 18
19 #include <cassert> 19 #include "IceTLS.h"
20 #include <cstdint>
21 #include <cstdio> // snprintf
22 #include <functional> // std::less
23 #include <limits>
24 #include <list>
25 #include <map>
26 #include <memory>
27 #include <mutex>
28 #include <string>
29 #include <system_error>
30 #include <vector>
31 #include "llvm/ADT/ArrayRef.h" 20 #include "llvm/ADT/ArrayRef.h"
32 #include "llvm/ADT/BitVector.h" 21 #include "llvm/ADT/BitVector.h"
33 #include "llvm/ADT/ilist.h" 22 #include "llvm/ADT/ilist.h"
34 #include "llvm/ADT/ilist_node.h" 23 #include "llvm/ADT/ilist_node.h"
35 #include "llvm/ADT/iterator_range.h" 24 #include "llvm/ADT/iterator_range.h"
36 #include "llvm/ADT/SmallBitVector.h" 25 #include "llvm/ADT/SmallBitVector.h"
37 #include "llvm/ADT/SmallVector.h" 26 #include "llvm/ADT/SmallVector.h"
38 #include "llvm/ADT/STLExtras.h" 27 #include "llvm/ADT/STLExtras.h"
39 #include "llvm/Support/Allocator.h" 28 #include "llvm/Support/Allocator.h"
40 #include "llvm/Support/Casting.h" 29 #include "llvm/Support/Casting.h"
41 #include "llvm/Support/ELF.h" 30 #include "llvm/Support/ELF.h"
42 #include "llvm/Support/raw_ostream.h" 31 #include "llvm/Support/raw_ostream.h"
43 32
44 #include "IceTLS.h" 33 #include <cassert>
34 #include <cstdint>
35 #include <cstdio> // snprintf
36 #include <functional> // std::less
37 #include <limits>
38 #include <list>
39 #include <map>
40 #include <memory>
41 #include <mutex>
42 #include <string>
43 #include <system_error>
44 #include <vector>
45 45
46 namespace Ice { 46 namespace Ice {
47 47
48 class Assembler; 48 class Assembler;
49 class Cfg; 49 class Cfg;
50 class CfgNode; 50 class CfgNode;
51 class Constant; 51 class Constant;
52 class ELFObjectWriter; 52 class ELFObjectWriter;
53 class ELFStreamer; 53 class ELFStreamer;
54 class FunctionDeclaration; 54 class FunctionDeclaration;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { 264 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) {
265 return llvm::make_range(Container.rbegin(), Container.rend()); 265 return llvm::make_range(Container.rbegin(), Container.rend());
266 } 266 }
267 267
268 // Options for pooling and randomization of immediates 268 // Options for pooling and randomization of immediates
269 enum RandomizeAndPoolImmediatesEnum { RPI_None, RPI_Randomize, RPI_Pool }; 269 enum RandomizeAndPoolImmediatesEnum { RPI_None, RPI_Randomize, RPI_Pool };
270 270
271 } // end of namespace Ice 271 } // end of namespace Ice
272 272
273 #endif // SUBZERO_SRC_ICEDEFS_H 273 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698