Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp89 int MinWeightIndex = -1; in findMinWeightIndex() local
91 if (MinWeightIndex < 0 || Weights[i] < Weights[MinWeightIndex]) in findMinWeightIndex()
92 MinWeightIndex = i; in findMinWeightIndex()
94 assert(getFlags().getRegAllocReserve() || MinWeightIndex >= 0); in findMinWeightIndex()
95 return MinWeightIndex; in findMinWeightIndex()
690 int32_t MinWeightIndex = findMinWeightIndex(Iter.RegMask, Iter.Weights); in handleNoFreeRegisters() local
692 if (MinWeightIndex < 0 || in handleNoFreeRegisters()
693 Iter.Cur->getWeight(Func) <= Iter.Weights[MinWeightIndex]) { in handleNoFreeRegisters()
720 MinWeightIndex = findMinWeightIndex(Iter.RegMaskUnfiltered, Iter.Weights); in handleNoFreeRegisters()
722 if (Iter.Cur->getWeight(Func) <= Iter.Weights[MinWeightIndex]) { in handleNoFreeRegisters()
[all …]