Home
last modified time | relevance | path

Searched refs:Hashes (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h44 std::vector<LocallyHashedType> Hashes; in hashTypes() local
47 Hashes.push_back(hashType(R)); in hashTypes()
49 return Hashes; in hashTypes()
58 return Hashes; in hashTypeCollection()
126 GloballyHashedType H = hashType(R, Hashes, Hashes); in hashTypes()
129 Hashes.push_back(H); in hashTypes()
139 auto HashIt = Hashes.begin(); in hashTypes()
142 GloballyHashedType H = hashType(R, Hashes, Hashes); in hashTypes()
152 return Hashes; in hashTypes()
171 Hashes.push_back(hashType(Type.RecordData, Hashes, Hashes)); in hashTypeCollection()
[all …]
H A DTypeStreamMerger.h93 ArrayRef<GloballyHashedType> Hashes,
99 ArrayRef<GloballyHashedType> Hashes,
105 ArrayRef<GloballyHashedType> Hashes);
/llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/
H A DTypeHashingTest.cpp47 static ArrayRef<uint8_t> hash_of(ArrayRef<GloballyHashedType> Hashes, in hash_of() argument
49 return Hashes[TI.toArrayIndex()].Hash; in hash_of()
52 static void verifyHashUniqueness(ArrayRef<GloballyHashedType> Hashes) { in verifyHashUniqueness() argument
53 assert(!Hashes.empty()); in verifyHashUniqueness()
55 for (size_t I = 0; I < Hashes.size() - 1; ++I) { in verifyHashUniqueness()
56 for (size_t J = I + 1; J < Hashes.size(); ++J) { in verifyHashUniqueness()
57 EXPECT_NE(Hashes[I].Hash, Hashes[J].Hash); in verifyHashUniqueness()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DTypeStreamMerger.cpp91 ArrayRef<GloballyHashedType> Hashes,
96 ArrayRef<GloballyHashedType> Hashes);
98 ArrayRef<GloballyHashedType> Hashes,
278 GlobalHashes = Hashes; in mergeTypeRecords()
291 GlobalHashes = Hashes; in mergeIdRecords()
304 GlobalHashes = Hashes; in mergeTypesAndIds()
459 return M.mergeTypesAndIds(DestIds, DestTypes, IdsAndTypes, Hashes, in mergeTypeAndIdRecords()
466 ArrayRef<GloballyHashedType> Hashes, in mergeTypeRecords() argument
469 return M.mergeTypeRecords(Dest, Types, Hashes, PCHSignature); in mergeTypeRecords()
476 ArrayRef<GloballyHashedType> Hashes) { in mergeIdRecords() argument
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.h28 bool Hashes, codeview::LazyRandomTypeCollection &Types, in MinimalTypeDumpVisitor() argument
33 : P(P), Width(Width), RecordBytes(RecordBytes), Hashes(Hashes), in MinimalTypeDumpVisitor()
59 bool Hashes = false; variable
H A DMinimalTypeDumper.cpp232 if (Hashes) { in visitTypeBegin()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypeHashing.cpp32 io.mapOptional("HashValues", DebugH.Hashes); in mapping()
61 DHS.Hashes.emplace_back(S); in fromDebugH()
69 uint32_t Size = 8 + 8 * DebugH.Hashes.size(); in toDebugH()
78 for (const auto &H : DebugH.Hashes) { in toDebugH()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.cpp74 ArrayRef<uint32_t> Hashes) { in addTypeRecords() argument
77 assert(Sizes.empty() && Hashes.empty()); in addTypeRecords()
84 assert(Sizes.size() == Hashes.size() && "sizes and hashes should be in sync"); in addTypeRecords()
90 llvm::append_range(TypeHashes, Hashes); in addTypeRecords()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerCorpus.h235 Hashes.insert(Sha1Str); in AddToCorpus()
290 Hashes.erase(Sha1ToString(II->Sha1)); in Replace()
293 Hashes.insert(Sha1ToString(II->Sha1)); in Replace()
300 bool HasUnit(const Unit &U) { return Hashes.count(Hash(U)); } in HasUnit()
301 bool HasUnit(const std::string &H) { return Hashes.count(H); } in HasUnit()
572 std::unordered_set<std::string> Hashes; variable
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLTypeHashing.h46 std::vector<GlobalHash> Hashes; member
/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dbasic-lto-dw4-linking-x86.test191 CHECK-NEXT: Hashes count: 7
284 CHECK-NEXT: Hashes count: 2
340 CHECK-NEXT: Hashes count: 0
361 CHECK-NEXT: Hashes count: 0
H A Dbasic-lto-linking-x86.test190 CHECK-NEXT: Hashes count: 7
283 CHECK-NEXT: Hashes count: 2
339 CHECK-NEXT: Hashes count: 0
360 CHECK-NEXT: Hashes count: 0
H A Dobjc.test19 CHECK-NEXT: Hashes count: 2
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.h51 ArrayRef<uint32_t> Hashes);
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegisterBankInfo.cpp304 SmallVector<size_t, 8> Hashes(NumBreakDowns); in hashValueMapping() local
306 Hashes.push_back(hash_value(BreakDown[Idx])); in hashValueMapping()
307 return hash_combine_range(Hashes.begin(), Hashes.end()); in hashValueMapping()
/llvm-project-15.0.7/llvm/test/DebugInfo/
H A Ddwarfdump-accel.test26 CHECK: Hashes count: 42
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dgnu-names.ll32 ; APPLE-NAMES: Hashes count: 3
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Daccel-table-hash-collisions.ll27 ; CHECK: Hashes count: 6
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DAccelTable.h167 HashList Hashes; variable
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1321 std::vector<GloballyHashedType> Hashes = in mergeCodeViewTypes() local
1325 Types, Hashes, PCHSignature)) in mergeCodeViewTypes()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp9888 auto PopulateHashes = [](DeclHashes &Hashes, RecordDecl *Record, in diagnoseOdrViolations()
9893 Hashes.emplace_back(D, computeODRHash(D)); in diagnoseOdrViolations()
10163 auto PopulateTemplateParameterHashs = [](DeclHashes &Hashes, in diagnoseOdrViolations()
10166 Hashes.emplace_back(D, computeODRHash(D)); in diagnoseOdrViolations()
11204 auto PopulateHashes = [FirstEnum](DeclHashes &Hashes, EnumDecl *Enum) { in diagnoseOdrViolations() argument
11211 Hashes.emplace_back(cast<EnumConstantDecl>(D), computeODRHash(D)); in diagnoseOdrViolations()