Lines Matching full:vec
247 LegacyLegalizerInfo::findAction(const SizeAndActionsVec &Vec, const uint32_t Size) {
249 // Find the last element in Vec that has a bitsize equal to or smaller than
253 Vec, [=](const SizeAndAction &A) { return A.first <= Size; });
254 assert(It != Vec.begin() && "Does Vec not start with size 1?");
255 int VecIdx = It - Vec.begin() - 1;
257 LegacyLegalizeAction Action = Vec[VecIdx].second;
268 if (Vec == SizeAndActionsVec({{1, FewerElements}}))
280 if (!needsLegalizingToDifferentSize(Vec[i].second) &&
281 Vec[i].second != Unsupported)
282 return {Vec[i].first, Action};
288 for (std::size_t i = VecIdx + 1; i < Vec.size(); ++i)
289 if (!needsLegalizingToDifferentSize(Vec[i].second) &&
290 Vec[i].second != Unsupported)
291 return {Vec[i].first, Action};
321 const SizeAndActionsVec &Vec = Actions[Aspect.Idx];
324 auto SizeAndAction = findAction(Vec, Aspect.Type.getSizeInBits());