| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | checksum_test.cpp | 15 static scudo::u16 computeSoftwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeSoftwareChecksum() argument 17 scudo::u16 Checksum = static_cast<scudo::u16>(Seed & 0xffff); in computeSoftwareChecksum() 23 static scudo::u16 computeHardwareChecksum(scudo::u32 Seed, scudo::uptr *Array, in computeHardwareChecksum() argument 25 scudo::u32 Crc = Seed; in computeHardwareChecksum() 39 const scudo::u32 Seed = 0x41424343U; in verifyChecksumFunctionBitFlip() local 40 const scudo::u16 Reference = F(Seed, Array, ArraySize); in verifyChecksumFunctionBitFlip() 45 if (F(Seed, Array, ArraySize) == Reference) in verifyChecksumFunctionBitFlip()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | xxhash.cpp | 72 uint64_t Seed = 0; in xxHash64() local 79 uint64_t V1 = Seed + PRIME64_1 + PRIME64_2; in xxHash64() 80 uint64_t V2 = Seed + PRIME64_2; in xxHash64() 81 uint64_t V3 = Seed + 0; in xxHash64() 82 uint64_t V4 = Seed - PRIME64_1; in xxHash64() 102 H64 = Seed + PRIME64_5; in xxHash64()
|
| H A D | RandomNumberGenerator.cpp | 40 static ManagedStatic<cl::opt<uint64_t>, CreateSeed> Seed; variable 41 void llvm::initRandomSeedOptions() { *Seed; } in initRandomSeedOptions() 44 LLVM_DEBUG(if (*Seed == 0) dbgs() in RandomNumberGenerator() 54 Data[0] = *Seed; in RandomNumberGenerator() 55 Data[1] = *Seed >> 32; in RandomNumberGenerator()
|
| /llvm-project-15.0.7/compiler-rt/test/fuzzer/ |
| H A D | MsanCustomMutator.cpp | 22 unsigned int Seed) { in LLVMFuzzerCustomMutator() argument 23 if (Seed == 7) in LLVMFuzzerCustomMutator() 37 uint8_t *Out, size_t MaxOutSize, unsigned int Seed) { in LLVMFuzzerCustomCrossOver() argument 38 if (Seed == 7) in LLVMFuzzerCustomCrossOver()
|
| H A D | ReloadTest.cpp | 13 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument 14 std::srand(Seed); in LLVMFuzzerCustomMutator()
|
| H A D | fuzzer-seed.test | 3 CHECK_SEED_MINUS_ONE: Seed: 4294967295
|
| H A D | CustomMutatorTest.cpp | 33 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument
|
| H A D | CustomMutatorWithLongSequencesTest.cpp | 34 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument
|
| H A D | CustomCrossOverAndMutateTest.cpp | 29 unsigned int Seed) { in LLVMFuzzerCustomCrossOver() argument
|
| H A D | CompressedTest.cpp | 39 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument
|
| /llvm-project-15.0.7/llvm/unittests/FuzzMutate/ |
| H A D | RandomIRBuilderTest.cpp | 27 static constexpr int Seed = 5; variable 61 RandomIRBuilder IB(Seed, {}); in TEST() 103 RandomIRBuilder IB(Seed, Types); in TEST() 147 RandomIRBuilder IB(Seed, {}); in TEST() 182 RandomIRBuilder IB(Seed, Types); in TEST() 223 RandomIRBuilder IB(Seed, Types); in TEST() 253 RandomIRBuilder IB(Seed, Types); in TEST() 283 RandomIRBuilder IB(Seed, Types); in TEST()
|
| H A D | StrategiesTest.cpp | 24 static constexpr int Seed = 5; variable 84 Mutator.mutateModule(*M, Seed, Source.size(), Source.size() + 100); in IterateOnSource() 99 Mutator->mutateModule(*M, Seed, 1, 1); in TEST() 168 Mutator->mutateModule(*M, Seed + i, Source.size(), Source.size() + 100); in checkModifyNoUnsignedAndNoSignedWrap() 211 Mutator->mutateModule(*M, Seed + i, Source.size(), Source.size() + 100); in TEST() 236 Mutator->mutateModule(*M, Seed + i, Source.size(), Source.size() + 100); in TEST()
|
| /llvm-project-15.0.7/libc/test/src/string/ |
| H A D | memmove_test.cpp | 84 static uint64_t Seed = 123456789; in GetRandomChar() local 85 Seed = (A * Seed + C) % M; in GetRandomChar() 86 return Seed; in GetRandomChar()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | chunk.h | 23 inline u16 computeChecksum(u32 Seed, uptr Value, uptr *Array, uptr ArraySize) { in computeChecksum() argument 29 u32 Crc = static_cast<u32>(CRC32_INTRINSIC(Seed, Value)); in computeChecksum() 35 u32 Crc = computeHardwareCRC32(Seed, Value); in computeChecksum() 40 u16 Checksum = computeBSDChecksum(static_cast<u16>(Seed), Value); in computeChecksum()
|
| H A D | primary64.h | 68 u32 Seed; in init() local 70 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init() 71 Seed = static_cast<u32>(Time ^ (PrimaryBase >> 12)); in init() 79 ? ((getRandomModN(&Seed, 16) + 1) * PageSize) in init() 81 Region->RandState = getRandomU32(&Seed); in init()
|
| H A D | stack_depot.h | 19 static const u32 Seed = 0x9747b28c; variable 24 explicit MurMur2HashBuilder(u32 Init = 0) { H = Seed ^ Init; }
|
| H A D | primary32.h | 72 u32 Seed; in init() local 74 if (!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))) in init() 75 Seed = static_cast<u32>( in init() 79 Sci->RandState = getRandomU32(&Seed); in init()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerInterface.h | 55 unsigned int Seed); 64 size_t MaxOutSize, unsigned int Seed);
|
| H A D | FuzzerExtFunctions.def | 19 (uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed), 24 uint8_t *Out, size_t MaxOutSize, unsigned int Seed),
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | CallGraph.h | 23 inline int64_t hashCombine(const int64_t Seed, const int64_t Val) { in hashCombine() argument 25 return Seed ^ (Hasher(Val) + 0x9e3779b9 + (Seed << 6) + (Seed >> 2)); in hashCombine()
|
| /llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/ |
| H A D | RandomIRBuilder.h | 36 RandomIRBuilder(int Seed, ArrayRef<Type *> AllowedTypes) in RandomIRBuilder() 37 : Rand(Seed), KnownTypes(AllowedTypes.begin(), AllowedTypes.end()) {} in RandomIRBuilder()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Randstruct.cpp | 205 std::string Seed = in randomizeStructureLayout() local 207 std::seed_seq SeedSeq(Seed.begin(), Seed.end()); in randomizeStructureLayout()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | ReorderAlgorithm.cpp | 52 template <class T> inline void hashCombine(size_t &Seed, const T &Val) { in hashCombine() argument 54 Seed ^= Hasher(Val) + 0x9e3779b9 + (Seed << 6) + (Seed >> 2); in hashCombine() 60 size_t Seed = Hasher(Val.first); in operator ()() local 61 hashCombine(Seed, Val.second); in operator ()() 62 return Seed; in operator ()()
|
| /llvm-project-15.0.7/llvm/tools/llvm-isel-fuzzer/ |
| H A D | llvm-isel-fuzzer.cpp | 67 uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument 76 Mutator->mutateModule(*M, Seed, Size, MaxSize); in LLVMFuzzerCustomMutator()
|
| /llvm-project-15.0.7/llvm/tools/llvm-opt-fuzzer/ |
| H A D | llvm-opt-fuzzer.cpp | 60 uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument 72 Mutator->mutateModule(*M, Seed, Size, MaxSize); in LLVMFuzzerCustomMutator()
|