Lines Matching refs:Insts
372 LoadAndStorePromoter(ArrayRef<const Instruction *> Insts, in LoadAndStorePromoter() argument
374 if (Insts.empty()) return; in LoadAndStorePromoter()
377 if (const LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter()
380 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter()
387 void LoadAndStorePromoter::run(const SmallVectorImpl<Instruction *> &Insts) { in run() argument
393 for (Instruction *User : Insts) in run()
402 for (Instruction *User : Insts) { in run()
451 if (!isInstInList(L, Insts)) continue; in run()
467 if (!isInstInList(SI, Insts)) continue; in run()
498 for (Instruction *User : Insts) { in run()
530 const SmallVectorImpl<Instruction *> &Insts) in isInstInList()
532 return is_contained(Insts, I); in isInstInList()