Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 //===- subzero/src/IceRegAlloc.h - Linear-scan reg. allocation --*- C++ -*-===// | 1 //===- subzero/src/IceRegAlloc.h - Linear-scan reg. allocation --*- 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 /// UnhandledPrecolored is a subset of Unhandled, specially collected for | 101 /// UnhandledPrecolored is a subset of Unhandled, specially collected for |
| 102 /// faster processing. | 102 /// faster processing. |
| 103 OrderedRanges UnhandledPrecolored; | 103 OrderedRanges UnhandledPrecolored; |
| 104 UnorderedRanges Active, Inactive, Handled; | 104 UnorderedRanges Active, Inactive, Handled; |
| 105 std::vector<InstNumberT> Kills; | 105 std::vector<InstNumberT> Kills; |
| 106 RegAllocKind Kind = RAK_Unknown; | 106 RegAllocKind Kind = RAK_Unknown; |
| 107 /// RegUses[I] is the number of live ranges (variables) that register I is | 107 /// RegUses[I] is the number of live ranges (variables) that register I is |
| 108 /// currently assigned to. It can be greater than 1 as a result of | 108 /// currently assigned to. It can be greater than 1 as a result of |
| 109 /// AllowOverlap inference. | 109 /// AllowOverlap inference. |
| 110 llvm::SmallVector<int32_t, REGS_SIZE> RegUses; | 110 llvm::SmallVector<int32_t, REGS_SIZE> RegUses; |
| 111 llvm::SmallVector<const llvm::SmallBitVector *, REGS_SIZE> RegAliases; | |
|
jvoung (off chromium)
2015/09/04 16:14:46
Just a note that on ARM (and probably MIPS?) the t
John
2015/09/04 17:32:25
I added a TODO here. Maybe it is worth investigati
| |
| 112 TargetLowering *Target; | |
| 111 bool FindPreference = false; | 113 bool FindPreference = false; |
| 112 bool FindOverlap = false; | 114 bool FindOverlap = false; |
| 113 | 115 |
| 114 const bool Verbose; | 116 const bool Verbose; |
| 115 }; | 117 }; |
| 116 | 118 |
| 117 } // end of namespace Ice | 119 } // end of namespace Ice |
| 118 | 120 |
| 119 #endif // SUBZERO_SRC_ICEREGALLOC_H | 121 #endif // SUBZERO_SRC_ICEREGALLOC_H |
| OLD | NEW |