Home
last modified time | relevance | path

Searched refs:uniform (Results 1 – 25 of 71) sorted by relevance

123

/freebsd/contrib/llvm-project/libc/src/__support/GPU/
H A Dallocator.cpp134 void uniform_memset(uint32_t *s, uint32_t c, uint32_t n, uint64_t uniform) { in uniform_memset() argument
136 uint32_t workers = cpp::popcount(uniform); in uniform_memset()
137 for (uint32_t i = impl::lane_count(mask & uniform); i < n; i += workers) in uniform_memset()
179 void initialize(uint64_t uniform) { in initialize()
182 impl::uniform_memset(get_bitfield(), 0, size, uniform); in initialize()
247 void *allocate(uint64_t lane_mask, uint64_t uniform) { in allocate()
261 uint32_t id = impl::lane_count(uniform & mask); in allocate()
267 uint64_t match = uniform & gpu::match_any(mask, slot); in allocate()
406 Slab *try_lock(uint64_t lane_mask, uint64_t uniform, uint64_t &count, in try_lock()
410 if (gpu::get_lane_id() == uint32_t(cpp::countr_zero(uniform))) in try_lock()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DRandom.h21 template <typename T, typename GenT> T uniform(GenT &Gen, T Min, T Max) { in uniform() function
26 template <typename T, typename GenT> T uniform(GenT &Gen) { in uniform() function
27 return uniform<T>(Gen, std::numeric_limits<T>::min(), in uniform()
66 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp165 size_t IP = uniform<size_t>(IB.Rand, 0, Insts.size() - 1); in mutate()
387 tmp = uniform<uint64_t>(IB.Rand, 0, MaxValue); in getUniqueCaseValue()
493 uint64_t IP = uniform<uint64_t>(IB.Rand, 0, Insts.size() - 1); in mutate()
518 uint64_t IP = uniform<uint64_t>(IB.Rand, 0, Insts.size() - 1); in mutate()
531 if (uniform<uint64_t>(IB.Rand, 0, 1)) { in mutate()
562 uint64_t NumCases = uniform<uint64_t>(IB.Rand, 1, MaxNumCases); in mutate()
589 uint64_t DirectSinkIdx = uniform<uint64_t>(IB.Rand, 0, Blocks.size() - 1); in connectBlocksToSink()
594 : static_cast<CFGToSink>(uniform<uint64_t>( in connectBlocksToSink()
616 uint64_t coin = uniform<uint64_t>(IB.Rand, 0, 1); in connectBlocksToSink()
667 uint64_t Idx = uniform<uint64_t>(IB.Rand, 0, Insts.size() - 1); in mutate()
H A DRandomIRBuilder.cpp421 if (uniform(Rand, 0, 1)) { in newSink()
449 uint64_t TyIdx = uniform<uint64_t>(Rand, 0, KnownTypes.size() - 1); in randomType()
469 M, uniform<uint64_t>(Rand, MinArgNum, MaxArgNum)); in createFunctionDeclaration()
495 M, uniform<uint64_t>(Rand, MinArgNum, MaxArgNum)); in createFunctionDefinition()
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/
H A Drandombytes.c132 if (implementation->uniform != NULL) { in randombytes_uniform()
133 return implementation->uniform(upper_bound); in randombytes_uniform()
/freebsd/contrib/file/magic/Magdir/
H A Dunisig4 # unisig: file(1) magic for files carrying a uniform signature (Unisig)
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Drandombytes.h23 …uint32_t (*uniform)(const uint32_t upper_bound); /* optional, a default implementation will be … member
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/nativeclient/
H A Drandombytes_nativeclient.c56 SODIUM_C99(.uniform =) NULL,
/freebsd/contrib/ntp/sntp/libevent/
H A Dmake-event-config.sed7 * processed by Libevent so that its macros would have a uniform prefix.\
/freebsd/contrib/libevent/
H A Dmake-event-config.sed7 * processed by Libevent so that its macros would have a uniform prefix.\
/freebsd/sys/contrib/libsodium/test/default/
H A Drandombytes.c139 impl.uniform = randombytes_uniform_impl; in impl_tests()
/freebsd/sys/dev/safe/
H A Dsafe.c770 int err = 0, i, nicealign, uniform; in safe_process() local
982 uniform = safe_dmamap_uniform(&re->re_src); in safe_process()
985 nicealign, uniform, re->re_src.nsegs)); in safe_process()
1016 if (nicealign && uniform == 1) { in safe_process()
1022 } else if (nicealign && uniform == 2) { in safe_process()
1061 if (!uniform) in safe_process()
/freebsd/contrib/libcbor/doc/source/api/
H A Dtype_0_1_integers.rst41 …g logical value is 1 less. This behavior is necessary in order to permit uniform manipulation with…
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSearchableTables.td360 // but the mask results are uniform. These produce a divergent and
361 // uniform result, so the returned struct is collectively divergent.
362 // isAlwaysUniform can override the extract of the uniform component.
H A DAMDGPUPassRegistry.def49 FUNCTION_PASS("amdgpu-annotate-uniform", AMDGPUAnnotateUniformValuesPass())
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Drandom.cppm
H A Drandom.inc11 // [rand.req.urng], uniform random bit generator requirements
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c379 SODIUM_C99(.uniform =) NULL,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td281 // The %barrier and %memberCnt argument must be uniform, otherwise behavior is undefined.
298 // The %barrierType argument must be uniform, otherwise behavior is undefined.
304 // The %barrier argument must be uniform, otherwise behavior is undefined.
587 // The pointer argument is assumed to be dynamically uniform if a VGPR.
1308 // wave-uniform when the buffer instructions are invoked, so non-uniform
1328 // the offset argument is uniform.
2337 // The argument must be uniform; otherwise, the result is undefined.
2342 // The argument must be uniform; otherwise, the result is undefined.
2347 // The argument must be uniform; otherwise, the result is undefined.
2375 // The lane argument must be uniform across the currently active threads of the
[all …]
H A DIntrinsicsDirectX.td23 // whether that index may be non-uniform.
H A DIntrinsicsSPIRV.td132 // whether that index may be non-uniform.
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c555 SODIUM_C99(.uniform =) NULL,
/freebsd/tools/tools/netmap/
H A Dnmreplay.c1442 uniform,tmin,tmax uniform delay between tmin and tmax
1456 plr,p uniform packet loss rate p, independent
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_STORE_SEARCH.pod51 and then wants to add on search criteria in a uniform and supported manner.
/freebsd/contrib/ntp/scripts/stats/
H A DREADME.timecodes21 In order to promote uniform behavior in the various implementations, it

123