Lines Matching refs:Vec
244 LegacyLegalizerInfo::findAction(const SizeAndActionsVec &Vec, const uint32_t Size) { in findAction() argument
250 Vec, [=](const SizeAndAction &A) { return A.first <= Size; }); in findAction()
251 assert(It != Vec.begin() && "Does Vec not start with size 1?"); in findAction()
252 int VecIdx = It - Vec.begin() - 1; in findAction()
254 LegacyLegalizeAction Action = Vec[VecIdx].second; in findAction()
265 if (Vec == SizeAndActionsVec({{1, FewerElements}})) in findAction()
277 if (!needsLegalizingToDifferentSize(Vec[i].second) && in findAction()
278 Vec[i].second != Unsupported) in findAction()
279 return {Vec[i].first, Action}; in findAction()
285 for (std::size_t i = VecIdx + 1; i < Vec.size(); ++i) in findAction()
286 if (!needsLegalizingToDifferentSize(Vec[i].second) && in findAction()
287 Vec[i].second != Unsupported) in findAction()
288 return {Vec[i].first, Action}; in findAction()
318 const SizeAndActionsVec &Vec = Actions[Aspect.Idx]; in findScalarLegalAction() local
321 auto SizeAndAction = findAction(Vec, Aspect.Type.getSizeInBits()); in findScalarLegalAction()