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

Side by Side Diff: src/IceDefs.h

Issue 515993002: Align function starts to target-specific bundle alignment. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: uint8_t Created 6 years, 3 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
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceTargetLowering.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> // TODO: <cstdint> with C++11 19 #include <stdint.h> // TODO: <cstdint> with C++11
20 20
21 #include <cassert> 21 #include <cassert>
22 #include <cstdio> // snprintf 22 #include <cstdio> // snprintf
23 #include <functional> // std::less 23 #include <functional> // std::less
24 #include <list> 24 #include <list>
25 #include <map> 25 #include <map>
26 #include <set> 26 #include <set>
27 #include <string> 27 #include <string>
28 #include <vector> 28 #include <vector>
29 29
30 #include "llvm/ADT/ArrayRef.h"
30 #include "llvm/ADT/BitVector.h" 31 #include "llvm/ADT/BitVector.h"
31 #include "llvm/ADT/SmallBitVector.h" 32 #include "llvm/ADT/SmallBitVector.h"
32 #include "llvm/ADT/STLExtras.h" 33 #include "llvm/ADT/STLExtras.h"
33 #include "llvm/Support/Casting.h" 34 #include "llvm/Support/Casting.h"
34 #include "llvm/Support/Compiler.h" // LLVM_STATIC_ASSERT 35 #include "llvm/Support/Compiler.h" // LLVM_STATIC_ASSERT
35 #include "llvm/Support/raw_ostream.h" 36 #include "llvm/Support/raw_ostream.h"
36 #include "llvm/Support/Timer.h" 37 #include "llvm/Support/Timer.h"
37 38
38 // Roll our own static_assert<> in the absence of C++11. TODO: change 39 // Roll our own static_assert<> in the absence of C++11. TODO: change
39 // to static_assert<> with C++11. 40 // to static_assert<> with C++11.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 124
124 private: 125 private:
125 const llvm::TimeRecord Start; 126 const llvm::TimeRecord Start;
126 Timer(const Timer &) LLVM_DELETED_FUNCTION; 127 Timer(const Timer &) LLVM_DELETED_FUNCTION;
127 Timer &operator=(const Timer &) LLVM_DELETED_FUNCTION; 128 Timer &operator=(const Timer &) LLVM_DELETED_FUNCTION;
128 }; 129 };
129 130
130 } // end of namespace Ice 131 } // end of namespace Ice
131 132
132 #endif // SUBZERO_SRC_ICEDEFS_H 133 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceTargetLowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698