Lines Matching refs:Insts
325 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, in LoadAndStorePromoter() argument
327 if (Insts.empty()) return; in LoadAndStorePromoter()
330 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter()
333 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter()
342 run(const SmallVectorImpl<Instruction*> &Insts) const { in run()
349 for (Instruction *User : Insts) in run()
358 for (Instruction *User : Insts) { in run()
407 if (!isInstInList(L, Insts)) continue; in run()
423 if (!isInstInList(SI, Insts)) continue; in run()
454 for (Instruction *User : Insts) { in run()
483 const SmallVectorImpl<Instruction*> &Insts) in isInstInList()
485 return std::find(Insts.begin(), Insts.end(), I) != Insts.end(); in isInstInList()