Home
last modified time | relevance | path

Searched refs:SortedIntervals (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegColoring.cpp94 SmallVector<LiveInterval *, 0> SortedIntervals; in runOnMachineFunction() local
95 SortedIntervals.reserve(NumVRegs); in runOnMachineFunction()
110 SortedIntervals.push_back(LI); in runOnMachineFunction()
118 std::sort(SortedIntervals.begin(), SortedIntervals.end(), in runOnMachineFunction()
130 SmallVector<unsigned, 16> SlotMapping(SortedIntervals.size(), -1u); in runOnMachineFunction()
132 SortedIntervals.size()); in runOnMachineFunction()
133 BitVector UsedColors(SortedIntervals.size()); in runOnMachineFunction()
135 for (size_t i = 0, e = SortedIntervals.size(); i < e; ++i) { in runOnMachineFunction()
136 LiveInterval *LI = SortedIntervals[i]; in runOnMachineFunction()
145 if (MRI->getRegClass(SortedIntervals[C]->reg) != RC) in runOnMachineFunction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRegColoring.cpp97 SmallVector<LiveInterval *, 0> SortedIntervals; in runOnMachineFunction() local
98 SortedIntervals.reserve(NumVRegs); in runOnMachineFunction()
113 SortedIntervals.push_back(LI); in runOnMachineFunction()
121 llvm::sort(SortedIntervals.begin(), SortedIntervals.end(), in runOnMachineFunction()
133 SmallVector<unsigned, 16> SlotMapping(SortedIntervals.size(), -1u); in runOnMachineFunction()
135 SortedIntervals.size()); in runOnMachineFunction()
136 BitVector UsedColors(SortedIntervals.size()); in runOnMachineFunction()
138 for (size_t i = 0, e = SortedIntervals.size(); i < e; ++i) { in runOnMachineFunction()
139 LiveInterval *LI = SortedIntervals[i]; in runOnMachineFunction()
147 if (MRI->getRegClass(SortedIntervals[C]->reg) != RC) in runOnMachineFunction()
[all …]