Lines Matching refs:Insts
321 LoadAndStorePromoter(ArrayRef<const Instruction *> Insts, in LoadAndStorePromoter() argument
323 if (Insts.empty()) return; in LoadAndStorePromoter()
326 if (const LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter()
329 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter()
336 void LoadAndStorePromoter::run(const SmallVectorImpl<Instruction *> &Insts) { in run() argument
342 for (Instruction *User : Insts) in run()
351 for (Instruction *User : Insts) { in run()
400 if (!isInstInList(L, Insts)) continue; in run()
416 if (!isInstInList(SI, Insts)) continue; in run()
447 for (Instruction *User : Insts) { in run()
479 const SmallVectorImpl<Instruction *> &Insts) in isInstInList()
481 return is_contained(Insts, I); in isInstInList()