Home
last modified time | relevance | path

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

/llvm-project/mlir/unittests/IR/
H A DOpPropertiesTest.cpp95 inline llvm::hash_code computeHash(const TestProperties &prop) { in computeHash() function
347 llvm::hash_code reference = OperationEquivalence::computeHash(opWithProp); in TEST()
350 EXPECT_NE(reference, OperationEquivalence::computeHash(opWithProp)); in TEST()
352 EXPECT_EQ(reference, OperationEquivalence::computeHash(opWithProp)); in TEST()
354 EXPECT_NE(reference, OperationEquivalence::computeHash(opWithProp)); in TEST()
356 EXPECT_EQ(reference, OperationEquivalence::computeHash(opWithProp)); in TEST()
358 EXPECT_NE(reference, OperationEquivalence::computeHash(opWithProp)); in TEST()
360 EXPECT_EQ(reference, OperationEquivalence::computeHash(opWithProp)); in TEST()
416 return OperationEquivalence::computeHash(
H A DOperationSupportTest.cpp304 return OperationEquivalence::computeHash( in TEST()
/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp206 computeHash(Entry); in hashDIEEntry()
218 computeHash(Entry); in hashRawTypeReference()
368 void DIEHash::computeHash(const DIE &Die) { in computeHash() function in DIEHash
388 computeHash(C); in computeHash()
406 computeHash(Die); in computeCUSignature()
430 computeHash(Die); in computeTypeSignature()
H A DDIEHash.h52 void computeHash(const DIE &Die);
/llvm-project/mlir/test/lib/Dialect/Test/
H A DTestOps.h79 llvm::hash_code computeHash(const PropertiesWithCustomPrint &prop);
130 llvm::hash_code computeHash(const VersionedProperties &prop);
H A DTestDialect.cpp95 llvm::hash_code test::computeHash(const PropertiesWithCustomPrint &prop) { in computeHash() function in test
190 llvm::hash_code test::computeHash(const VersionedProperties &prop) { in computeHash() function in test
H A DTestOps.td3113 computeHash($_storage);
3177 computeHash($_storage);
/llvm-project/bolt/lib/Rewrite/
H A DBoltDiff.cpp219 HashLookup[Function.computeHash(/*UseDFS=*/true)] = &Function; in buildLookupMaps()
273 auto Iter = HashLookup.find(Function2.computeHash(/*UseDFS*/ true)); in matchFunctions()
568 MapEntry.second->computeHash(/*UseDFS=*/true) == in reportHottestFuncDiffs()
569 MapEntry.first->computeHash(/*UseDFS=*/true)) in reportHottestFuncDiffs()
581 if (MapEntry.second->computeHash(/*UseDFS=*/true) != in reportHottestFuncDiffs()
582 MapEntry.first->computeHash(/*UseDFS=*/true)) { in reportHottestFuncDiffs()
/llvm-project/mlir/unittests/Bytecode/
H A DBytecodeTest.cpp147 EXPECT_TRUE(OperationEquivalence::computeHash(op.get()) == in TEST()
148 OperationEquivalence::computeHash(roundtripped)); in TEST()
/llvm-project/mlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/
H A DModuleCombiner.cpp76 static llvm::hash_code computeHash(SymbolOpInterface symbolOp) { in computeHash() function
229 auto result = hashToSymbolOp.try_emplace(computeHash(symbolOp), symbolOp); in combine()
/llvm-project/mlir/lib/Dialect/Func/Transforms/
H A DDuplicateFunctionElimination.cpp42 hash, OperationEquivalence::computeHash( in getHashValue()
/llvm-project/bolt/lib/Profile/
H A DYAMLProfileWriter.cpp224 BF.computeHash(UseDFS); in writeProfile()
H A DBoltAddressTranslation.cpp586 FuncHashes.addEntry(BF.getAddress(), BF.computeHash()); in saveMetadata()
/llvm-project/mlir/lib/Transforms/
H A DCSE.cpp38 return OperationEquivalence::computeHash( in getHashValue()
/llvm-project/bolt/lib/Passes/
H A DIdenticalCodeFolding.cpp468 BF.computeHash( in runOnFunctions()
/llvm-project/lld/wasm/
H A DWriter.cpp239 computeHash(llvm::MutableArrayRef<uint8_t> hashBuf, in computeHash()
298 computeHash(fileHash, buf, [](uint8_t *dest, ArrayRef<uint8_t> arr) { in writeBuildId()
305 computeHash(buildId, buf, [&](uint8_t *dest, ArrayRef<uint8_t> arr) { in writeBuildId()
234 computeHash(llvm::MutableArrayRef<uint8_t> hashBuf, computeHash() function
/llvm-project/lld/ELF/
H A DWriter.cpp2953 computeHash(llvm::MutableArrayRef<uint8_t> hashBuf,
2993 computeHash(output, input, [](uint8_t *dest, ArrayRef<uint8_t> arr) {
2998 computeHash(output, input, [&](uint8_t *dest, ArrayRef<uint8_t> arr) {
3003 computeHash(output, input, [&](uint8_t *dest, ArrayRef<uint8_t> arr) {
2821 computeHash(llvm::MutableArrayRef<uint8_t> hashBuf, computeHash() function
/llvm-project/mlir/lib/Transforms/Utils/
H A DRegionUtils.cpp533 auto opHash = OperationEquivalence::computeHash( in BlockEquivalenceData()
H A DCFGToSCF.cpp399 return OperationEquivalence::computeHash( in getHashValue()
/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1387 unsigned computeHash() const {
2492 return Val.computeHash();
/llvm-project/mlir/lib/IR/
H A DOperationSupport.cpp670 llvm::hash_code OperationEquivalence::computeHash(
675 llvm::hash_code OperationEquivalence::computeHash( computeHash() function in OperationEquivalence
/llvm-project/mlir/include/mlir/IR/
H A DOperationSupport.h1286 static llvm::hash_code computeHash(
1294 /// Helper that can be used with `computeHash` above to ignore operation
1297 /// Helper that can be used with `computeHash` above to ignore operation
H A DOpDefinition.h1764 /// free function `computeHash` that can be looked up with ADL in the
1769 return computeHash(prop);
/llvm-project/bolt/include/bolt/Core/
H A DBinaryFunction.h2335 size_t computeHash(
/llvm-project/bolt/lib/Core/
H A DBinaryFunction.cpp457 OS << "\n Hash : " << Twine::utohexstr(computeHash()); in print()
3735 size_t BinaryFunction::computeHash(bool UseDFS, HashFunction HashFunction, in insertBasicBlocks()
3738 dbgs() << "BOLT-DEBUG: computeHash " << getPrintName() << ' ' in insertBasicBlocks()
3680 size_t BinaryFunction::computeHash(bool UseDFS, HashFunction HashFunction, computeHash() function in llvm::bolt::BinaryFunction