Lines Matching refs:Vec
247 LegacyLegalizerInfo::findAction(const SizeAndActionsVec &Vec, const uint32_t Size) { in findAction() argument
253 Vec, [=](const SizeAndAction &A) { return A.first <= Size; }); in findAction()
254 assert(It != Vec.begin() && "Does Vec not start with size 1?"); in findAction()
255 int VecIdx = It - Vec.begin() - 1; in findAction()
257 LegacyLegalizeAction Action = Vec[VecIdx].second; in findAction()
268 if (Vec == SizeAndActionsVec({{1, FewerElements}})) in findAction()
280 if (!needsLegalizingToDifferentSize(Vec[i].second) && in findAction()
281 Vec[i].second != Unsupported) in findAction()
282 return {Vec[i].first, Action}; in findAction()
288 for (std::size_t i = VecIdx + 1; i < Vec.size(); ++i) in findAction()
289 if (!needsLegalizingToDifferentSize(Vec[i].second) && in findAction()
290 Vec[i].second != Unsupported) in findAction()
291 return {Vec[i].first, Action}; in findAction()
321 const SizeAndActionsVec &Vec = Actions[Aspect.Idx]; in findScalarLegalAction() local
324 auto SizeAndAction = findAction(Vec, Aspect.Type.getSizeInBits()); in findScalarLegalAction()