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

Side by Side Diff: src/IceDefs.h

Issue 831663008: Subzero: Remove the IceV_RegManager enum value. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | src/llvm2ice.cpp » ('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
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 }; 141 };
142 142
143 enum VerboseItem { 143 enum VerboseItem {
144 IceV_None = 0, 144 IceV_None = 0,
145 IceV_Instructions = 1 << 0, 145 IceV_Instructions = 1 << 0,
146 IceV_Deleted = 1 << 1, 146 IceV_Deleted = 1 << 1,
147 IceV_InstNumbers = 1 << 2, 147 IceV_InstNumbers = 1 << 2,
148 IceV_Preds = 1 << 3, 148 IceV_Preds = 1 << 3,
149 IceV_Succs = 1 << 4, 149 IceV_Succs = 1 << 4,
150 IceV_Liveness = 1 << 5, 150 IceV_Liveness = 1 << 5,
151 IceV_RegManager = 1 << 6, 151 IceV_RegOrigins = 1 << 6,
152 IceV_RegOrigins = 1 << 7, 152 IceV_LinearScan = 1 << 7,
153 IceV_LinearScan = 1 << 8, 153 IceV_Frame = 1 << 8,
154 IceV_Frame = 1 << 9, 154 IceV_AddrOpt = 1 << 9,
155 IceV_AddrOpt = 1 << 10, 155 IceV_Random = 1 << 10,
156 IceV_Random = 1 << 11,
157 IceV_All = ~IceV_None, 156 IceV_All = ~IceV_None,
158 IceV_Most = IceV_All & ~IceV_LinearScan 157 IceV_Most = IceV_All & ~IceV_LinearScan
159 }; 158 };
160 typedef uint32_t VerboseMask; 159 typedef uint32_t VerboseMask;
161 160
162 typedef llvm::raw_ostream Ostream; 161 typedef llvm::raw_ostream Ostream;
163 typedef llvm::raw_fd_ostream Fdstream; 162 typedef llvm::raw_fd_ostream Fdstream;
164 163
165 // Reverse range adaptors written in terms of llvm::make_range(). 164 // Reverse range adaptors written in terms of llvm::make_range().
166 template <typename T> 165 template <typename T>
167 llvm::iterator_range<typename T::const_reverse_iterator> 166 llvm::iterator_range<typename T::const_reverse_iterator>
168 reverse_range(const T &Container) { 167 reverse_range(const T &Container) {
169 return llvm::make_range(Container.rbegin(), Container.rend()); 168 return llvm::make_range(Container.rbegin(), Container.rend());
170 } 169 }
171 template <typename T> 170 template <typename T>
172 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { 171 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) {
173 return llvm::make_range(Container.rbegin(), Container.rend()); 172 return llvm::make_range(Container.rbegin(), Container.rend());
174 } 173 }
175 174
176 } // end of namespace Ice 175 } // end of namespace Ice
177 176
178 #endif // SUBZERO_SRC_ICEDEFS_H 177 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« no previous file with comments | « no previous file | src/llvm2ice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698