OLD | NEW |
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 323 matching lines...) Loading... |
334 IceV_Loop = 1 << 13, | 334 IceV_Loop = 1 << 13, |
335 IceV_Mem = 1 << 14, | 335 IceV_Mem = 1 << 14, |
336 // Leave some extra space to make it easier to add new per-pass items. | 336 // Leave some extra space to make it easier to add new per-pass items. |
337 IceV_NO_PER_PASS_DUMP_BEYOND = 1 << 19, | 337 IceV_NO_PER_PASS_DUMP_BEYOND = 1 << 19, |
338 // Items greater than IceV_NO_PER_PASS_DUMP_BEYOND don't by themselves trigger | 338 // Items greater than IceV_NO_PER_PASS_DUMP_BEYOND don't by themselves trigger |
339 // per-pass Cfg dump output. | 339 // per-pass Cfg dump output. |
340 IceV_Status = 1 << 20, | 340 IceV_Status = 1 << 20, |
341 IceV_AvailableRegs = 1 << 21, | 341 IceV_AvailableRegs = 1 << 21, |
342 IceV_GlobalInit = 1 << 22, | 342 IceV_GlobalInit = 1 << 22, |
343 IceV_ConstPoolStats = 1 << 23, | 343 IceV_ConstPoolStats = 1 << 23, |
| 344 IceV_Wasm = 1 << 24, |
344 IceV_All = ~IceV_None, | 345 IceV_All = ~IceV_None, |
345 IceV_Most = | 346 IceV_Most = |
346 IceV_All & ~IceV_LinearScan & ~IceV_GlobalInit & ~IceV_ConstPoolStats | 347 IceV_All & ~IceV_LinearScan & ~IceV_GlobalInit & ~IceV_ConstPoolStats |
347 }; | 348 }; |
348 using VerboseMask = uint32_t; | 349 using VerboseMask = uint32_t; |
349 | 350 |
350 enum FileType { | 351 enum FileType { |
351 FT_Elf, /// ELF .o file | 352 FT_Elf, /// ELF .o file |
352 FT_Asm, /// Assembly .s file | 353 FT_Asm, /// Assembly .s file |
353 FT_Iasm /// "Integrated assembler" .byte-style .s file | 354 FT_Iasm /// "Integrated assembler" .byte-style .s file |
(...skipping 78 matching lines...) Loading... |
432 RPE_PooledConstantReordering, | 433 RPE_PooledConstantReordering, |
433 RPE_RegAllocRandomization, | 434 RPE_RegAllocRandomization, |
434 RPE_num | 435 RPE_num |
435 }; | 436 }; |
436 | 437 |
437 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; | 438 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; |
438 | 439 |
439 } // end of namespace Ice | 440 } // end of namespace Ice |
440 | 441 |
441 #endif // SUBZERO_SRC_ICEDEFS_H | 442 #endif // SUBZERO_SRC_ICEDEFS_H |
OLD | NEW |