Lines Matching refs:Extract
289 auto *Extract = dyn_cast<ExtractElementInst>(*UI); in lowerInterleavedLoad() local
290 if (Extract && isa<ConstantInt>(Extract->getIndexOperand())) { in lowerInterleavedLoad()
291 Extracts.push_back(Extract); in lowerInterleavedLoad()
360 for (auto *Extract : Extracts) { in tryReplaceExtracts() local
362 auto *IndexOperand = cast<ConstantInt>(Extract->getIndexOperand()); in tryReplaceExtracts()
371 if (!DT->dominates(Shuffle, Extract)) in tryReplaceExtracts()
381 assert(Extract->getOperand(0) == Shuffle->getOperand(0) && in tryReplaceExtracts()
383 ReplacementMap[Extract] = std::make_pair(Shuffle, I); in tryReplaceExtracts()
388 if (ReplacementMap.count(Extract)) in tryReplaceExtracts()
394 if (!ReplacementMap.count(Extract)) in tryReplaceExtracts()
401 auto *Extract = Replacement.first; in tryReplaceExtracts() local
404 Builder.SetInsertPoint(Extract); in tryReplaceExtracts()
405 Extract->replaceAllUsesWith(Builder.CreateExtractElement(Vector, Index)); in tryReplaceExtracts()
406 Extract->eraseFromParent(); in tryReplaceExtracts()