Lines Matching refs:Vec
565 LegalizerInfo::findAction(const SizeAndActionsVec &Vec, const uint32_t Size) {
567 // Find the last element in Vec that has a bitsize equal to or smaller than
571 Vec, [=](const SizeAndAction &A) { return A.first <= Size; });
572 assert(It != Vec.begin() && "Does Vec not start with size 1?");
573 int VecIdx = It - Vec.begin() - 1;
575 LegalizeAction Action = Vec[VecIdx].second;
585 if (Vec == SizeAndActionsVec({{1, FewerElements}}))
597 if (!needsLegalizingToDifferentSize(Vec[i].second) &&
598 Vec[i].second != Unsupported)
599 return {Vec[i].first, Action};
605 for (std::size_t i = VecIdx + 1; i < Vec.size(); ++i)
606 if (!needsLegalizingToDifferentSize(Vec[i].second) &&
607 Vec[i].second != Unsupported)
608 return {Vec[i].first, Action};
639 const SizeAndActionsVec &Vec = Actions[Aspect.Idx];
642 auto SizeAndAction = findAction(Vec, Aspect.Type.getSizeInBits());