Lines Matching refs:Extract
209 auto *Extract = dyn_cast<ExtractElementInst>(*UI); in lowerInterleavedLoad() local
210 if (Extract && isa<ConstantInt>(Extract->getIndexOperand())) { in lowerInterleavedLoad()
211 Extracts.push_back(Extract); in lowerInterleavedLoad()
280 for (auto *Extract : Extracts) { in tryReplaceExtracts() local
283 auto *IndexOperand = cast<ConstantInt>(Extract->getIndexOperand()); in tryReplaceExtracts()
293 if (!DT->dominates(Shuffle, Extract)) in tryReplaceExtracts()
303 assert(Extract->getOperand(0) == Shuffle->getOperand(0) && in tryReplaceExtracts()
305 ReplacementMap[Extract] = std::make_pair(Shuffle, I); in tryReplaceExtracts()
310 if (ReplacementMap.count(Extract)) in tryReplaceExtracts()
316 if (!ReplacementMap.count(Extract)) in tryReplaceExtracts()
323 auto *Extract = Replacement.first; in tryReplaceExtracts() local
326 Builder.SetInsertPoint(Extract); in tryReplaceExtracts()
327 Extract->replaceAllUsesWith(Builder.CreateExtractElement(Vector, Index)); in tryReplaceExtracts()
328 Extract->eraseFromParent(); in tryReplaceExtracts()