Home
last modified time | relevance | path

Searched refs:makeSampler (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DRandom.h75 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
/freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp91 auto RS = makeSampler(Rand, make_filter_range(GlobalVars, MatchesPred)); in findOrCreateGlobalVariable()
97 auto TRS = makeSampler<Constant *>(Rand); in findOrCreateGlobalVariable()
127 auto RS = makeSampler(Rand, make_filter_range(Insts, MatchesPred)); in findOrCreateSource()
139 auto RS = makeSampler(Rand, make_filter_range(Args, MatchesPred)); in findOrCreateSource()
154 makeSampler(Rand, make_filter_range(Instructions, MatchesPred)); in findOrCreateSource()
202 auto RS = makeSampler<Value *>(Rand); in newSource()
299 auto RS = makeSampler<Use *>(Rand); in connectToSink()
389 if (auto RS = makeSampler(Rand, make_filter_range(Insts, IsMatchingPtr))) in findPointer()
H A DIRMutator.cpp36 auto RS = makeSampler<Function *>(IB.Rand); in mutate()
52 mutate(*makeSampler(IB.Rand, Range).getSelection(), IB); in mutate()
56 mutate(*makeSampler(IB.Rand, make_pointer_range(BB)).getSelection(), IB); in mutate()
70 auto RS = makeSampler<IRMutationStrategy *>(IB.Rand); in mutateModule()
111 auto RS = makeSampler(IB.Rand, make_filter_range(Operations, OpMatchesPred)); in chooseOperation()
174 auto RS = makeSampler<Instruction *>(IB.Rand); in mutate()
205 auto RS = makeSampler<Value *>(IB.Rand); in mutate()
342 auto RS = makeSampler(IB.Rand, Modifications); in mutate()
367 auto RS = makeSampler(IB.Rand, Functions); in mutate()
459 makeSampler(IB.Rand, make_filter_range(IB.KnownTypes, [](Type *Ty) { in mutate()
[all …]