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

Side by Side Diff: src/IceDefs.h

Issue 1571433004: Implements include/exclude register lists for translation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 4 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
OLDNEW
1 //===- subzero/src/IceDefs.h - Common Subzero declarations ------*- C++ -*-===// 1 //===- subzero/src/IceDefs.h - Common Subzero declarations ------*- 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 /// \file 10 /// \file
(...skipping 28 matching lines...) Expand all
39 #include <cstdio> // snprintf 39 #include <cstdio> // snprintf
40 #include <functional> // std::less 40 #include <functional> // std::less
41 #include <limits> 41 #include <limits>
42 #include <list> 42 #include <list>
43 #include <map> 43 #include <map>
44 #include <memory> 44 #include <memory>
45 #include <mutex> 45 #include <mutex>
46 #include <string> 46 #include <string>
47 #include <system_error> 47 #include <system_error>
48 #include <unordered_map> 48 #include <unordered_map>
49 #include <unordered_set>
49 #include <vector> 50 #include <vector>
50 51
51 namespace Ice { 52 namespace Ice {
52 53
53 class Assembler; 54 class Assembler;
54 class Cfg; 55 class Cfg;
55 class CfgNode; 56 class CfgNode;
56 class Constant; 57 class Constant;
57 class ELFObjectWriter; 58 class ELFObjectWriter;
58 class ELFStreamer; 59 class ELFStreamer;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 IceV_Liveness = 1 << 5, 236 IceV_Liveness = 1 << 5,
236 IceV_RegOrigins = 1 << 6, 237 IceV_RegOrigins = 1 << 6,
237 IceV_LinearScan = 1 << 7, 238 IceV_LinearScan = 1 << 7,
238 IceV_Frame = 1 << 8, 239 IceV_Frame = 1 << 8,
239 IceV_AddrOpt = 1 << 9, 240 IceV_AddrOpt = 1 << 9,
240 IceV_Random = 1 << 10, 241 IceV_Random = 1 << 10,
241 IceV_Folding = 1 << 11, 242 IceV_Folding = 1 << 11,
242 IceV_RMW = 1 << 12, 243 IceV_RMW = 1 << 12,
243 IceV_Loop = 1 << 13, 244 IceV_Loop = 1 << 13,
244 IceV_Status = 1 << 14, 245 IceV_Status = 1 << 14,
246 IceV_AvailableRegs = 1 << 15,
245 IceV_All = ~IceV_None, 247 IceV_All = ~IceV_None,
246 IceV_Most = IceV_All & ~IceV_LinearScan 248 IceV_Most = IceV_All & ~IceV_LinearScan
247 }; 249 };
248 using VerboseMask = uint32_t; 250 using VerboseMask = uint32_t;
249 251
250 enum FileType { 252 enum FileType {
251 FT_Elf, /// ELF .o file 253 FT_Elf, /// ELF .o file
252 FT_Asm, /// Assembly .s file 254 FT_Asm, /// Assembly .s file
253 FT_Iasm /// "Integrated assembler" .byte-style .s file 255 FT_Iasm /// "Integrated assembler" .byte-style .s file
254 }; 256 };
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 RPE_GlobalVariableReordering, 306 RPE_GlobalVariableReordering,
305 RPE_NopInsertion, 307 RPE_NopInsertion,
306 RPE_PooledConstantReordering, 308 RPE_PooledConstantReordering,
307 RPE_RegAllocRandomization, 309 RPE_RegAllocRandomization,
308 RPE_num 310 RPE_num
309 }; 311 };
310 312
311 } // end of namespace Ice 313 } // end of namespace Ice
312 314
313 #endif // SUBZERO_SRC_ICEDEFS_H 315 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698