Lines Matching defs:Extracts
121 /// extractelement instructions in \p Extracts can be replaced by uses of the
124 bool tryReplaceExtracts(ArrayRef<ExtractElementInst *> Extracts,
263 SmallVector<ExtractElementInst *, 4> Extracts;
271 Extracts.push_back(Extract);
338 if (!tryReplaceExtracts(Extracts, Shuffles))
348 // If Extracts is not empty, tryReplaceExtracts made changes earlier.
349 return !Extracts.empty() || BinOpShuffleChanged;
393 ArrayRef<ExtractElementInst *> Extracts,
397 if (Extracts.empty())
404 for (auto *Extract : Extracts) {
443 IRBuilder<> Builder(Extracts[0]->getContext());