Searched refs:makeSampler (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 40 auto RS = makeSampler<Function *>(IB.Rand); in mutate() 52 mutate(*makeSampler(IB.Rand, make_pointer_range(F)).getSelection(), IB); in mutate() 56 mutate(*makeSampler(IB.Rand, make_pointer_range(BB)).getSelection(), IB); in mutate() 66 auto RS = makeSampler<IRMutationStrategy *>(IB.Rand); in mutateModule() 105 auto RS = makeSampler(IB.Rand, make_filter_range(Operations, OpMatchesPred)); in chooseOperation() 162 auto RS = makeSampler<Instruction *>(IB.Rand); in mutate() 193 auto RS = makeSampler<Value *>(IB.Rand); in mutate() 247 auto RS = makeSampler(IB.Rand, Modifications); in mutate()
|
| H A D | RandomIRBuilder.cpp | 33 auto RS = makeSampler(Rand, make_filter_range(Insts, MatchesPred)); in findOrCreateSource() 44 auto RS = makeSampler<Value *>(Rand); in newSource() 100 auto RS = makeSampler<Use *>(Rand); in connectToSink() 159 if (auto RS = makeSampler(Rand, make_filter_range(Insts, IsMatchingPtr))) in findPointer()
|
| /llvm-project-15.0.7/llvm/unittests/FuzzMutate/ |
| H A D | ReservoirSamplerTest.cpp | 17 auto Sampler = makeSampler(Rand, 7, 1); in TEST() 24 auto Sampler = makeSampler(Rand, 7, 0); in TEST() 43 auto Sampler = makeSampler(Rand, Items); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/ |
| H A D | Random.h | 75 ReservoirSampler<ElT, GenT> makeSampler(GenT &RandGen, RangeT &&Items) { in makeSampler() function 82 ReservoirSampler<T, GenT> makeSampler(GenT &RandGen, const T &Item, in makeSampler() function 90 ReservoirSampler<T, GenT> makeSampler(GenT &RandGen) { in makeSampler() function
|