Lines Matching defs:RS
91 auto RS = makeSampler(Rand, make_filter_range(GlobalVars, MatchesPred));
92 RS.sample(nullptr, 1);
93 GlobalVariable *GV = RS.getSelection();
127 auto RS = makeSampler(Rand, make_filter_range(Insts, MatchesPred));
128 if (!RS.isEmpty()) {
129 return RS.getSelection();
139 auto RS = makeSampler(Rand, make_filter_range(Args, MatchesPred));
140 if (!RS.isEmpty()) {
141 return RS.getSelection();
153 auto RS =
156 if (!RS.isEmpty()) {
157 return RS.getSelection();
202 auto RS = makeSampler<Value *>(Rand);
203 RS.sample(Pred.generate(Srcs, KnownTypes));
215 Type *AccessTy = RS.getSelection()->getType();
220 RS.sample(NewLoad, RS.totalWeight());
225 Value *newSrc = RS.getSelection();
300 auto RS = makeSampler<Use *>(Rand);
304 RS.sample(&U, 1);
306 if (!RS.isEmpty()) {
307 Use *Sink = RS.getSelection();
390 if (auto RS = makeSampler(Rand, make_filter_range(Insts, IsMatchingPtr)))
391 return RS.getSelection();