| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | StableHashing.h | 37 Hash = Hash ^ (Value & 0xFF); in stable_hash_append() 38 Hash = Hash * FNV_PRIME_64; in stable_hash_append() 53 hashing::detail::stable_hash_append(Hash, A); in stable_hash_combine() 54 hashing::detail::stable_hash_append(Hash, B); in stable_hash_combine() 55 return Hash; in stable_hash_combine() 61 hashing::detail::stable_hash_append(Hash, A); in stable_hash_combine() 64 return Hash; in stable_hash_combine() 74 return Hash; in stable_hash_combine() 89 return Hash; in stable_hash_combine_range() 96 return Hash; in stable_hash_combine_array() [all …]
|
| H A D | AccelTable.h | 147 HashData(DwarfStringPoolEntryRef Name, HashFn *Hash) in HashData() 148 : Name(Name), HashValue(Hash(Name.getString())) {} in HashData() 165 HashFn *Hash; variable 174 AccelTableBase(HashFn *Hash) : Entries(Allocator), Hash(Hash) {} in AccelTableBase() argument 212 auto Iter = Entries.try_emplace(Name.getString(), Name, Hash).first; in addName()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | Hash.cpp | 57 uint32_t Hash = 0xb170a1bf; in hashStringV2() local 65 Hash += Item; in hashStringV2() 66 Hash += (Hash << 10); in hashStringV2() 67 Hash ^= (Hash >> 6); in hashStringV2() 71 Hash += Item; in hashStringV2() 72 Hash += (Hash << 10); in hashStringV2() 73 Hash ^= (Hash >> 6); in hashStringV2() 76 return Hash * 1664525U + 1013904223U; in hashStringV2()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | CachedHashString.h | 31 uint32_t Hash; variable 39 : P(S.data()), Size(S.size()), Hash(Hash) { in CachedHashStringRef() 46 uint32_t hash() const { return Hash; } in hash() 76 uint32_t Hash; 103 CachedHashString(StringRef S, uint32_t Hash) 104 : P(new char[S.size()]), Size(S.size()), Hash(Hash) { 111 : Size(Other.Size), Hash(Other.Hash) { 126 : P(Other.P), Size(Other.Size), Hash(Other.Hash) { 137 uint32_t hash() const { return Hash; } 141 return CachedHashStringRef(val(), Hash); [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ODRHash.cpp | 242 ODRHash &Hash; member in __anonb1d94ece0111::ODRDeclVisitor 246 : ID(ID), Hash(Hash) {} in ODRDeclVisitor() 249 Hash.AddBoolean(S); in AddStmt() 251 Hash.AddStmt(S); in AddStmt() 267 Hash.AddBoolean(D); in AddDecl() 269 Hash.AddDecl(D); in AddDecl() 660 ODRHash &Hash; member in __anonb1d94ece0211::ODRTypeVisitor 664 : ID(ID), Hash(Hash) {} in ODRTypeVisitor() 669 Hash.AddStmt(S); in AddStmt() 676 Hash.AddDecl(D); in AddDecl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeHashing.h | 33 hash_code Hash; member 83 ::memcpy(Hash.data(), H.data(), 8); in GloballyHashedType() 85 std::array<uint8_t, 8> Hash; member 87 bool empty() const { return *(const uint64_t*)Hash.data() == 0; } in empty() 91 return L.Hash == R.Hash; 96 return !(L.Hash == R.Hash); 189 return Val.Hash; 194 if (LHS.Hash != RHS.Hash) 209 return *reinterpret_cast<const unsigned *>(Val.Hash.data()); 222 write_hex(Stream, V.Hash, HexPrintStyle::Upper, 8); [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | stack_depot.h | 91 u32 Hash = B.get(); in insert() local 93 u32 Pos = Hash & TabMask; in insert() 96 u64 Id = (u64(End - Begin) << 33) | (u64(Hash) << 1) | 1; in insert() 98 return Hash; in insert() 109 return Hash; in insert() 115 bool find(u32 Hash, uptr *RingPosPtr, uptr *SizePtr) const { in find() argument 116 u32 Pos = Hash & TabMask; in find() 121 u64 HashWithTagBit = (u64(Hash) << 1) | 1; in find() 134 return B.get() == Hash; in find()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLTypeHashing.cpp | 37 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output() 42 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input() 77 SmallString<8> Hash; in toDebugH() local 79 Hash.clear(); in toDebugH() 80 raw_svector_ostream OS(Hash); in toDebugH() 81 H.Hash.writeAsBinary(OS); in toDebugH() 82 assert((Hash.size() == 8) && "Invalid hash size!"); in toDebugH() 83 cantFail(Writer.writeFixedString(Hash)); in toDebugH()
|
| /freebsd-13.1/crypto/openssl/crypto/rsa/ |
| H A D | rsa_pss.c | 26 const EVP_MD *Hash, const unsigned char *EM, in RSA_verify_PKCS1_PSS() argument 29 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen); in RSA_verify_PKCS1_PSS() 33 const EVP_MD *Hash, const EVP_MD *mgf1Hash, in RSA_verify_PKCS1_PSS_mgf1() argument 48 mgf1Hash = Hash; in RSA_verify_PKCS1_PSS_mgf1() 50 hLen = EVP_MD_size(Hash); in RSA_verify_PKCS1_PSS_mgf1() 113 if (!EVP_DigestInit_ex(ctx, Hash, NULL) in RSA_verify_PKCS1_PSS_mgf1() 140 const EVP_MD *Hash, int sLen) in RSA_padding_add_PKCS1_PSS() argument 142 return RSA_padding_add_PKCS1_PSS_mgf1(rsa, EM, mHash, Hash, NULL, sLen); in RSA_padding_add_PKCS1_PSS() 157 mgf1Hash = Hash; in RSA_padding_add_PKCS1_PSS_mgf1() 159 hLen = EVP_MD_size(Hash); in RSA_padding_add_PKCS1_PSS_mgf1() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 54 uint64_t Hash = 0; in getCallStackHash() local 57 Hash ^= MD5Hash(std::to_string(InlinedAt->getLine())); in getCallStackHash() 64 Hash ^= MD5Hash(Name); in getCallStackHash() 67 return Hash; in getCallStackHash() 142 uint64_t Hash = computeCallStackHash(I); in collectProbeFactors() local 143 ProbeFactors[{Probe->Id, Hash}] += Probe->Factor; in collectProbeFactors() 179 auto Hash = in PseudoProbeManager() local 371 auto Hash = getFunctionHash(); in instrumentOneFunc() local 428 uint64_t Hash = computeCallStackHash(I); in runOnFunction() local 438 uint64_t Hash = computeCallStackHash(I); in runOnFunction() local [all …]
|
| H A D | SampleContextTracker.cpp | 35 uint32_t Hash = nodeHash(CalleeName, CallSite); in getChildContext() local 36 auto It = AllChildContext.find(Hash); in getChildContext() 68 uint32_t Hash = nodeHash(NodeToMove.getFuncName(), CallSite); in moveToChildContext() local 69 assert(!AllChildContext.count(Hash) && "Node to remove must exist"); in moveToChildContext() 72 AllChildContext[Hash] = NodeToMove; in moveToChildContext() 73 ContextTrieNode &NewNode = AllChildContext[Hash]; in moveToChildContext() 111 uint32_t Hash = nodeHash(CalleeName, CallSite); in removeChildContext() local 113 AllChildContext.erase(Hash); in removeChildContext() 163 uint32_t Hash = nodeHash(CalleeName, CallSite); in getOrCreateChildContext() local 164 auto It = AllChildContext.find(Hash); in getOrCreateChildContext() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | WasmTraits.h | 75 unsigned Hash = hash_value(Limits.Flags); 76 Hash = hash_combine(Hash, Limits.Minimum); 78 Hash = hash_combine(Hash, Limits.Maximum); 80 return Hash;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AccelTable.cpp | 250 for (auto &Hash : Bucket) { in emitHashes() local 266 for (auto *Hash : Buckets[i]) { in emitOffsets() local 331 for (auto &Hash : Bucket) { in emitData() local 335 PrevHash != Hash->HashValue) in emitData() 343 for (const auto *V : Hash->Values) in emitData() 345 PrevHash = Hash->HashValue; in emitData() 396 for (auto *Hash : Bucket) { in getUniqueTags() local 440 for (auto *Hash : Bucket.value()) { in emitStringOffsets() local 498 for (auto *Hash : Bucket) { in emitData() local 672 for (auto &Hash : Bucket) in print() local [all …]
|
| H A D | DIEHash.cpp | 45 Hash.update(Str); in addString() 46 Hash.update(makeArrayRef((uint8_t)'\0')); in addString() 60 Hash.update(Byte); in addULEB128() 74 Hash.update(Byte); in addSLEB128() 226 Hash.update((uint64_t)V.getDIEInteger().getValue()); in hashBlockData() 385 Hash.update(makeArrayRef((uint8_t)'\0')); in computeHash() 397 Hash.update(DWOName); in computeCUSignature() 403 Hash.final(Result); in computeCUSignature() 427 Hash.final(Result); in computeTypeSignature()
|
| H A D | ByteStreamer.h | 61 DIEHash &Hash; 63 HashingByteStreamer(DIEHash &H) : Hash(H) {} in HashingByteStreamer() 65 Hash.update(Byte); in emitInt8() 68 Hash.addSLEB128(DWord); in emitSLEB128() 72 Hash.addULEB128(DWord); in emitULEB128()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_type_hash_itanium.cpp | 211 bool __ubsan::checkDynamicType(void *Object, void *Type, HashValue Hash) { in checkDynamicType() argument 216 HashValue *Bucket = getTypeCacheHashTableBucket(Hash); in checkDynamicType() 217 if (*Bucket == Hash) { in checkDynamicType() 218 __ubsan_vptr_type_cache[Hash % VptrTypeCacheSize] = Hash; in checkDynamicType() 242 __ubsan_vptr_type_cache[Hash % VptrTypeCacheSize] = Hash; in checkDynamicType() 243 *Bucket = Hash; in checkDynamicType()
|
| H A D | ubsan_handlers_cxx.cpp | 34 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, in HandleDynamicTypeCacheMiss() argument 36 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss() 85 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { in __ubsan_handle_dynamic_type_cache_miss() argument 87 HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts); in __ubsan_handle_dynamic_type_cache_miss() 90 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { in __ubsan_handle_dynamic_type_cache_miss_abort() argument 93 if (HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts)) in __ubsan_handle_dynamic_type_cache_miss_abort()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | StructuralHash.cpp | 26 uint64_t Hash = 0x6acaa36bef8325c5ULL; member in __anonab81b96b0111::details::StructuralHash 28 void update(uint64_t V) { Hash = hashing::detail::hash_16_bytes(Hash, V); } in update() 65 uint64_t getHash() const { return Hash; } in getHash()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 140 hash_code Hash = hash_combine(*Val.Operands[0], *Val.Operands[1], in getHashValue() local 152 Hash = hash_combine(Hash, Val.Disp->getIndex()); in getHashValue() 155 Hash = hash_combine(Hash, Val.Disp->getSymbolName()); in getHashValue() 158 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue() 161 Hash = hash_combine(Hash, Val.Disp->getBlockAddress()); in getHashValue() 164 Hash = hash_combine(Hash, Val.Disp->getMCSymbol()); in getHashValue() 167 Hash = hash_combine(Hash, Val.Disp->getMBB()); in getHashValue() 173 return (unsigned)Hash; in getHashValue()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/experimental/ |
| H A D | unordered_set | 21 template <class T, class Hash = hash<T>, class Pred = equal_to<T>> 22 using unordered_set = std::unordered_set<T, Hash, Pred, 25 template <class T, class Hash = hash<T>, class Pred = equal_to<T>> 26 using unordered_multiset = std::unordered_multiset<T, Hash, Pred,
|
| H A D | unordered_map | 22 class Hash = hash<Key>, 25 std::unordered_map<Key, T, Hash, Pred, 29 class Hash = hash<Key>, 32 std::unordered_multimap<Key, T, Hash, Pred,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | CodeViewYAMLTypeHashing.h | 33 explicit GlobalHash(StringRef S) : Hash(S) { in GlobalHash() 36 explicit GlobalHash(ArrayRef<uint8_t> S) : Hash(S) { in GlobalHash() 39 yaml::BinaryRef Hash; member
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ext/ |
| H A D | hash_set | 92 template <class Value, class Hash, class Pred, class Alloc> 93 void swap(hash_set<Value, Hash, Pred, Alloc>& x, 94 hash_set<Value, Hash, Pred, Alloc>& y); 96 template <class Value, class Hash, class Pred, class Alloc> 98 operator==(const hash_set<Value, Hash, Pred, Alloc>& x, 99 const hash_set<Value, Hash, Pred, Alloc>& y); 101 template <class Value, class Hash, class Pred, class Alloc> 103 operator!=(const hash_set<Value, Hash, Pred, Alloc>& x, 104 const hash_set<Value, Hash, Pred, Alloc>& y); 179 void swap(hash_multiset<Value, Hash, Pred, Alloc>& x, [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.cpp | 152 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext() local 157 Hash = hash_combine(Hash, FileRef); in getChildDeclContext() 160 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext() 167 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
|
| /freebsd-13.1/contrib/file/magic/Magdir/ |
| H A D | perl | 73 # The Perl module Hash::SharedMem 74 # <https://metacpan.org/release/Hash-SharedMem> defines a file format 77 0 bequad =0xa58afd185cbf5af7 Hash::SharedMem master file, big-endian 83 0 lequad =0xa58afd185cbf5af7 Hash::SharedMem master file, little-endian 89 0 bequad =0xc693dac5ed5e47c2 Hash::SharedMem data file, big-endian 95 0 lequad =0xc693dac5ed5e47c2 Hash::SharedMem data file, little-endian
|