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

Side by Side Diff: src/IceDefs.h

Issue 1141213004: Subzero: Fold icmp into br/select lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove unnecessary break statement Created 5 years, 7 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
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 IceV_Deleted = 1 << 1, 165 IceV_Deleted = 1 << 1,
166 IceV_InstNumbers = 1 << 2, 166 IceV_InstNumbers = 1 << 2,
167 IceV_Preds = 1 << 3, 167 IceV_Preds = 1 << 3,
168 IceV_Succs = 1 << 4, 168 IceV_Succs = 1 << 4,
169 IceV_Liveness = 1 << 5, 169 IceV_Liveness = 1 << 5,
170 IceV_RegOrigins = 1 << 6, 170 IceV_RegOrigins = 1 << 6,
171 IceV_LinearScan = 1 << 7, 171 IceV_LinearScan = 1 << 7,
172 IceV_Frame = 1 << 8, 172 IceV_Frame = 1 << 8,
173 IceV_AddrOpt = 1 << 9, 173 IceV_AddrOpt = 1 << 9,
174 IceV_Random = 1 << 10, 174 IceV_Random = 1 << 10,
175 IceV_Folding = 1 << 11,
175 IceV_All = ~IceV_None, 176 IceV_All = ~IceV_None,
176 IceV_Most = IceV_All & ~IceV_LinearScan 177 IceV_Most = IceV_All & ~IceV_LinearScan
177 }; 178 };
178 typedef uint32_t VerboseMask; 179 typedef uint32_t VerboseMask;
179 180
180 enum FileType { 181 enum FileType {
181 FT_Elf, // ELF .o file 182 FT_Elf, // ELF .o file
182 FT_Asm, // Assembly .s file 183 FT_Asm, // Assembly .s file
183 FT_Iasm // "Integrated assembler" .byte-style .s file 184 FT_Iasm // "Integrated assembler" .byte-style .s file
184 }; 185 };
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 return llvm::make_range(Container.rbegin(), Container.rend()); 220 return llvm::make_range(Container.rbegin(), Container.rend());
220 } 221 }
221 template <typename T> 222 template <typename T>
222 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { 223 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) {
223 return llvm::make_range(Container.rbegin(), Container.rend()); 224 return llvm::make_range(Container.rbegin(), Container.rend());
224 } 225 }
225 226
226 } // end of namespace Ice 227 } // end of namespace Ice
227 228
228 #endif // SUBZERO_SRC_ICEDEFS_H 229 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« no previous file with comments | « src/IceClFlags.cpp ('k') | src/IceInst.h » ('j') | src/IceTargetLoweringX8632.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698