Lines Matching refs:Insts
332 LoadAndStorePromoter(ArrayRef<const Instruction *> Insts, in LoadAndStorePromoter() argument
334 if (Insts.empty()) return; in LoadAndStorePromoter()
337 if (const LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter()
340 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter()
347 void LoadAndStorePromoter::run(const SmallVectorImpl<Instruction *> &Insts) { in run() argument
353 for (Instruction *User : Insts) in run()
362 for (Instruction *User : Insts) { in run()
411 if (!isInstInList(L, Insts)) continue; in run()
427 if (!isInstInList(SI, Insts)) continue; in run()
458 for (Instruction *User : Insts) { in run()
487 const SmallVectorImpl<Instruction *> &Insts) in isInstInList()
489 return is_contained(Insts, I); in isInstInList()