| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PseudoProbe.h | 109 uint64_t FunctionHash; variable 113 : FunctionGUID(GUID), FunctionHash(Hash) {} in PseudoProbeDescriptor() 115 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash()
|
| H A D | StructuralHash.h | 60 stable_hash FunctionHash; member 71 : FunctionHash(FuntionHash), in FunctionHashInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.h | 38 uint64_t FunctionHash; member 170 uint64_t FunctionHash; member 176 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord() 179 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | SampleProfileProbe.h | 83 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash() 104 uint64_t FunctionHash; variable
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.h | 37 uint64_t FunctionHash; variable 48 NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
|
| H A D | CodeGenPGO.cpp | 1101 FunctionHash = Walker.Hash.finalize(); in mapRegionCounters() 1142 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 1163 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 1214 NormalizedFuncNameVarPtr, Builder.getInt64(FunctionHash), in emitCounterSetOrIncrement() 1243 Builder.getInt64(FunctionHash), in emitMCDCParameters() 1277 Builder.getInt64(FunctionHash), in emitMCDCTestVectorBitmapUpdate() 1392 Builder.getInt64(FunctionHash), in valueProfile() 1426 auto RecordExpected = PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
| H A D | CoverageMappingGen.h | 141 uint64_t FunctionHash,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 612 uint64_t FunctionHash = 0; member in __anon0925556b0211::FuncPGOInstrumentation 644 " Hash: " + Twine(FunctionHash) + "\t" + Str); in dumpInfo() 736 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC(); in computeCFGHash() 739 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 741 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash() 749 << ", Hash = " << FunctionHash << "\n";); in computeCFGHash() 752 dbgs() << "Funcname=" << F.getName() << ", Hash=" << FunctionHash in computeCFGHash() 787 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 790 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 807 Twine(OrigComdat->getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 288 FunctionHash = (uint64_t)CallProbeIds.size() << 48 | in computeCFGHash() 291 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 292 assert(FunctionHash && "Function checksum should not be zero"); in computeCFGHash() 297 << ", Hash = " << FunctionHash << "\n"); in computeCFGHash()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StructuralHash.cpp | 37 << " Hash: " << format("%016" PRIx64, FuncHashInfo.FunctionHash) in run()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 1016 if (FunctionHash == 0) { 1018 FunctionHash = Other.getFunctionHash(); 1019 } else if (FunctionHash != Other.getFunctionHash()) { 1091 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; } 1093 uint64_t getFunctionHash() const { return FunctionHash; } 1235 FunctionHash == Other.FunctionHash && Context == Other.Context && 1248 uint64_t FunctionHash = 0;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMergeFunctions.cpp | 160 StableFunction SF(FI.FunctionHash, get_stable_name(Func.getName()).str(), in analyze() 400 if (Maps.contains(FI.FunctionHash)) in merge() 401 HashToFuncs[FI.FunctionHash].emplace_back(&F, std::move(FI)); in merge()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | SampleProfReader.cpp | 181 static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash, in parseMetadata() argument 185 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata() 218 uint64_t &FunctionHash, uint32_t &Attributes, in ParseLine() argument 234 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes); in ParseLine() 379 uint64_t FunctionHash = 0; in readImpl() local 383 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl() 428 if (FunctionHash) { in readImpl() 429 FProfile.setFunctionHash(FunctionHash); in readImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 641 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded() 653 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded() 1377 Record.FunctionHash = R.FunctionHash; in readNextRecord()
|
| H A D | CoverageMapping.cpp | 843 Record.FunctionName, Record.FunctionHash, Counts)) { in loadFunctionRecord() 847 Record.FunctionHash); in loadFunctionRecord() 866 Record.FunctionName, Record.FunctionHash, Bitmap)) { in loadFunctionRecord() 870 Record.FunctionHash); in loadFunctionRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 1300 struct FunctionHash { struct 1304 using Result = FunctionHash;
|