Lines Matching refs:Insts
325 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts,
327 if (Insts.empty()) return;
330 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0]))
333 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0);
342 run(const SmallVectorImpl<Instruction*> &Insts) const {
349 for (unsigned i = 0, e = Insts.size(); i != e; ++i) {
350 Instruction *User = Insts[i];
360 for (unsigned i = 0, e = Insts.size(); i != e; ++i) {
361 Instruction *User = Insts[i];
410 if (!isInstInList(L, Insts)) continue;
426 if (!isInstInList(SI, Insts)) continue;
458 for (unsigned i = 0, e = Insts.size(); i != e; ++i) {
459 Instruction *User = Insts[i];
489 const SmallVectorImpl<Instruction*> &Insts)
491 return std::find(Insts.begin(), Insts.end(), I) != Insts.end();