Lines Matching refs:Insts
22 ArrayRef<Instruction *> Insts) {
23 return findOrCreateSource(BB, Insts, {}, anyType());
27 ArrayRef<Instruction *> Insts,
33 auto RS = makeSampler(Rand, make_filter_range(Insts, MatchesPred));
38 return newSource(BB, Insts, Srcs, Pred);
41 Value *RandomIRBuilder::newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts,
48 Value *Ptr = findPointer(BB, Insts, Srcs, Pred);
96 ArrayRef<Instruction *> Insts, Value *V) {
98 for (auto &I : Insts) {
117 newSink(BB, Insts, V);
120 void RandomIRBuilder::newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts,
122 Value *Ptr = findPointer(BB, Insts, {V}, matchFirstType());
130 new StoreInst(V, Ptr, Insts.back());
134 ArrayRef<Instruction *> Insts,
153 if (auto RS = makeSampler(Rand, make_filter_range(Insts, IsMatchingPtr)))