Lines Matching refs:Indexes
6137 bool LLParser::sortUseListOrder(Value *V, ArrayRef<unsigned> Indexes, in sortUseListOrder() argument
6145 if (++NumUses > Indexes.size()) in sortUseListOrder()
6147 Order[&U] = Indexes[NumUses - 1]; in sortUseListOrder()
6151 if (Order.size() != Indexes.size() || NumUses > Indexes.size()) in sortUseListOrder()
6163 bool LLParser::ParseUseListOrderIndexes(SmallVectorImpl<unsigned> &Indexes) { in ParseUseListOrderIndexes() argument
6176 assert(Indexes.empty() && "Expected empty order vector"); in ParseUseListOrderIndexes()
6183 Offset += Index - Indexes.size(); in ParseUseListOrderIndexes()
6185 IsOrdered &= Index == Indexes.size(); in ParseUseListOrderIndexes()
6187 Indexes.push_back(Index); in ParseUseListOrderIndexes()
6193 if (Indexes.size() < 2) in ParseUseListOrderIndexes()
6195 if (Offset != 0 || Max >= Indexes.size()) in ParseUseListOrderIndexes()
6211 SmallVector<unsigned, 16> Indexes; in ParseUseListOrder() local
6214 ParseUseListOrderIndexes(Indexes)) in ParseUseListOrder()
6217 return sortUseListOrder(V, Indexes, Loc); in ParseUseListOrder()
6228 SmallVector<unsigned, 16> Indexes; in ParseUseListOrderBB() local
6233 ParseUseListOrderIndexes(Indexes)) in ParseUseListOrderBB()
6263 return sortUseListOrder(V, Indexes, Loc); in ParseUseListOrderBB()