| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 Liveness_Basic, | 210 Liveness_Basic, |
| 211 | 211 |
| 212 /// In addition to Liveness_Basic, also calculate the complete live range for | 212 /// In addition to Liveness_Basic, also calculate the complete live range for |
| 213 /// each variable in a form suitable for interference calculation and register | 213 /// each variable in a form suitable for interference calculation and register |
| 214 /// allocation. | 214 /// allocation. |
| 215 Liveness_Intervals | 215 Liveness_Intervals |
| 216 }; | 216 }; |
| 217 | 217 |
| 218 enum RegAllocKind { | 218 enum RegAllocKind { |
| 219 RAK_Unknown, | 219 RAK_Unknown, |
| 220 RAK_Global, /// full, global register allocation | 220 RAK_Global, /// full, global register allocation |
| 221 RAK_Phi, /// infinite-weight Variables with active spilling/filling | 221 RAK_SecondChance, /// second-chance bin-packing after full regalloc attempt |
| 222 RAK_InfOnly /// allocation only for infinite-weight Variables | 222 RAK_Phi, /// infinite-weight Variables with active spilling/filling |
| 223 RAK_InfOnly /// allocation only for infinite-weight Variables |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 enum VerboseItem { | 226 enum VerboseItem { |
| 226 IceV_None = 0, | 227 IceV_None = 0, |
| 227 IceV_Instructions = 1 << 0, | 228 IceV_Instructions = 1 << 0, |
| 228 IceV_Deleted = 1 << 1, | 229 IceV_Deleted = 1 << 1, |
| 229 IceV_InstNumbers = 1 << 2, | 230 IceV_InstNumbers = 1 << 2, |
| 230 IceV_Preds = 1 << 3, | 231 IceV_Preds = 1 << 3, |
| 231 IceV_Succs = 1 << 4, | 232 IceV_Succs = 1 << 4, |
| 232 IceV_Liveness = 1 << 5, | 233 IceV_Liveness = 1 << 5, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 RPE_GlobalVariableReordering, | 301 RPE_GlobalVariableReordering, |
| 301 RPE_NopInsertion, | 302 RPE_NopInsertion, |
| 302 RPE_PooledConstantReordering, | 303 RPE_PooledConstantReordering, |
| 303 RPE_RegAllocRandomization, | 304 RPE_RegAllocRandomization, |
| 304 RPE_num | 305 RPE_num |
| 305 }; | 306 }; |
| 306 | 307 |
| 307 } // end of namespace Ice | 308 } // end of namespace Ice |
| 308 | 309 |
| 309 #endif // SUBZERO_SRC_ICEDEFS_H | 310 #endif // SUBZERO_SRC_ICEDEFS_H |
| OLD | NEW |