| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 IceV_LinearScan = 1 << 7, | 207 IceV_LinearScan = 1 << 7, |
| 208 IceV_Frame = 1 << 8, | 208 IceV_Frame = 1 << 8, |
| 209 IceV_AddrOpt = 1 << 9, | 209 IceV_AddrOpt = 1 << 9, |
| 210 IceV_Random = 1 << 10, | 210 IceV_Random = 1 << 10, |
| 211 IceV_Folding = 1 << 11, | 211 IceV_Folding = 1 << 11, |
| 212 IceV_RMW = 1 << 12, | 212 IceV_RMW = 1 << 12, |
| 213 IceV_Loop = 1 << 13, | 213 IceV_Loop = 1 << 13, |
| 214 IceV_Status = 1 << 14, | 214 IceV_Status = 1 << 14, |
| 215 IceV_AvailableRegs = 1 << 15, | 215 IceV_AvailableRegs = 1 << 15, |
| 216 IceV_Mem = 1 << 16, | 216 IceV_Mem = 1 << 16, |
| 217 IceV_Init = 1 << 17, |
| 217 IceV_All = ~IceV_None, | 218 IceV_All = ~IceV_None, |
| 218 IceV_Most = IceV_All & ~IceV_LinearScan | 219 IceV_Most = IceV_All & ~IceV_LinearScan & ~IceV_Init |
| 219 }; | 220 }; |
| 220 using VerboseMask = uint32_t; | 221 using VerboseMask = uint32_t; |
| 221 | 222 |
| 222 enum FileType { | 223 enum FileType { |
| 223 FT_Elf, /// ELF .o file | 224 FT_Elf, /// ELF .o file |
| 224 FT_Asm, /// Assembly .s file | 225 FT_Asm, /// Assembly .s file |
| 225 FT_Iasm /// "Integrated assembler" .byte-style .s file | 226 FT_Iasm /// "Integrated assembler" .byte-style .s file |
| 226 }; | 227 }; |
| 227 | 228 |
| 228 using Ostream = llvm::raw_ostream; | 229 using Ostream = llvm::raw_ostream; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 RPE_PooledConstantReordering, | 279 RPE_PooledConstantReordering, |
| 279 RPE_RegAllocRandomization, | 280 RPE_RegAllocRandomization, |
| 280 RPE_num | 281 RPE_num |
| 281 }; | 282 }; |
| 282 | 283 |
| 283 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; | 284 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; |
| 284 | 285 |
| 285 } // end of namespace Ice | 286 } // end of namespace Ice |
| 286 | 287 |
| 287 #endif // SUBZERO_SRC_ICEDEFS_H | 288 #endif // SUBZERO_SRC_ICEDEFS_H |
| OLD | NEW |